Commit Graph

16989 Commits

Author SHA1 Message Date
Android Build Merger (Role)
c00a6da6ea [automerger] Immediate 2nd quickscrub should not cancel if same state am: f8fafa2847
Change-Id: I08f16d8028cfbd74c376000ca5edfc7802b96f48
2018-06-14 18:06:20 +00:00
Matthew Ng
f8fafa2847 Immediate 2nd quickscrub should not cancel if same state
Trigging quickscrub immediately after a previous quickscrub would cause
the controller to cancel even if the state change was from overview to
overview, then controller will not do auto-advancing because it thinks
quickscrub has been cancelled. If the state changes but both are
overview then do not cancel and quickscrub can do auto-advancing.

Change-Id: I309937572ad23eea14662501f41c13cd79dd10ab
Fixes: 110006796
Test: quickscrub, then let go and soon after quickscrub again
2018-06-14 11:05:44 -07:00
Tony Wickham
3ebddba5a0 Merge changes from topic "am-1d52319f-a897-430b-addc-cdeb570f8e89-ub-launcher3-edmonton-polish" into ub-launcher3-master
* changes:
  [automerger] Report when a notification is shown in the popup am: c97d846372
  Report when a notification is shown in the popup
2018-06-14 16:27:42 +00:00
Tony Wickham
4f8e417bca Merge "Report when a notification is shown in the popup" into ub-launcher3-edmonton-polish 2018-06-14 16:27:42 +00:00
Tony Wickham
977905f680 Merge changes from topic "am-bff10332-1442-4951-99d1-cf3964693329" into ub-launcher3-master
* changes:
  [automerger] Add padding between hotseat and insets in multiwindow landscape am: 1eeffbee01
  Add padding between hotseat and insets in multiwindow landscape
2018-06-14 16:27:18 +00:00
Tony Wickham
a32b6a1d37 Merge "Add padding between hotseat and insets in multiwindow landscape" into ub-launcher3-edmonton-polish 2018-06-14 16:27:18 +00:00
TreeHugger Robot
c55696761b Merge changes from topic "am-cfb119a9-e136-408a-8dd7-0b690e3a6793" into ub-launcher3-master
* changes:
  [automerger] Prerequisites for TAPL am: 74c261c89f
  Prerequisites for TAPL
2018-06-13 21:21:45 +00:00
TreeHugger Robot
9d2a75f741 Merge "Prerequisites for TAPL" into ub-launcher3-edmonton-polish 2018-06-13 21:21:45 +00:00
Android Build Merger (Role)
8a019434f2 [automerger] Add padding between hotseat and insets in multiwindow landscape am: 1eeffbee01
Change-Id: Id450b1c1d1b1da4ec3f22d07f0de6883097fc7e9
2018-06-13 19:43:21 +00:00
Tony Wickham
1eeffbee01 Add padding between hotseat and insets in multiwindow landscape
Right now there's almost no room between the hotseat icons and the
nav  bar in this mode, and it looks kind of bad. It also causes
b/109946631 which is fixed by this change.

Also fix placement of popup in RTL landscape (was incorrectly inset)

Bug: 109946631
Change-Id: I324485da0048b907776b16b719b631c5314e5696
2018-06-13 12:37:47 -07:00
Android Build Merger (Role)
67016b4d75 [automerger] Optimize system bar switching animations am: fca9eec464
Change-Id: I7fe092d2514ae4d4cf58d7b5b2b7fca98bdb1237
2018-06-13 12:45:08 +00:00
Jorim Jaggi
fca9eec464 Optimize system bar switching animations
- Fix a bug where the wrong time was used when the activity was in
overview, but overview wasn't actually visible.
- Fixing this looks pretty bad. Introduce a pre-delay since our
animations decelarate heavily at the end.
- Consolidate logic between swipe-up and swipe-down. Take a middle
value that is most in line with the other animations.

Test: Open/close apps from home and recents with and without
swiping.
Fixes: 109906294

Change-Id: I9cd5568c60fe7281d0f71a75981a3003770e659e
2018-06-13 14:44:18 +02:00
Android Build Merger (Role)
8499e1afcd [automerger] Fixing atomic animation not getting completed properly am: 2b03b713f7
Change-Id: I781f244fd4bbccd3d582f8857d6e1d24c215bf93
2018-06-13 00:09:03 +00:00
Sunny Goyal
2b03b713f7 Fixing atomic animation not getting completed properly
> Finishing the atomic animation to that proper states are applied
> Offsetting the duration of atomic animation so that it completes along with
  the swipe animation

Bug: 80432882
Bug: 86308723
Bug: 80549582
Change-Id: I8a3b44c2c7017e241b2fbdbb96c5d67edbb359d1
2018-06-12 17:08:55 -07:00
Android Build Merger (Role)
0c68860add [automerger] Prerequisites for TAPL am: 74c261c89f
Change-Id: I1fcaa26619291828c7fcc92aedd36faaba1e788b
2018-06-12 21:54:50 +00:00
Vadim Tryshev
74c261c89f Prerequisites for TAPL
Adding things that will be used by TAPL.

1. Adding Ctrl+W to open widgets
2. Marking a UI element with shortcuts_and_widgets
id. Example of usage: we want to be sure we are in all apps.
A somewhat paranoid way to check this is to check that
apps_view is on, and workspace and overview_panel are off.
However, workspace is always in the hierarchy. We use
shortcuts_and_widgets instead.

Bug: 110103162
Test: Manual
Change-Id: I2a851e16c477f7ee895b459530bc5a1ff19e32f8
2018-06-12 14:54:23 -07:00
Android Build Merger (Role)
a9d82c4591 [automerger] Fixes the task header view location in landscape am: 59ffaf035d
Change-Id: I991f45083d1d4f855b880b050e23a9371ec4f3ce
2018-06-12 20:53:12 +00:00
Matthew Ng
59ffaf035d Fixes the task header view location in landscape
The header was off by forgetting to calculate with insets. Also rtl
needed to start from left to do calculations correctly.

Test: start overview in landscape, press icon of task
Change-Id: I561dbe315c7be0b4dee602bfd17b4abfffa55605
Fixes: 110096772
2018-06-12 13:52:50 -07:00
Android Build Merger (Role)
7dbe951e13 [automerger] Do not clip recents view as it scales down to reveal more content am: b0e4126ad0
Change-Id: I1d57cf7f729155a963c2adcee2c127780ecb23c7
2018-06-12 17:02:51 +00:00
Sunny Goyal
b0e4126ad0 Do not clip recents view as it scales down to reveal more content
Change-Id: Icc26dec5fc4d6b19d22eb975628de3856f2ea471
2018-06-12 10:02:44 -07:00
Sunny Goyal
3f7cee1736 Merge changes from topic "am-0b6a5c04-a2d6-4b04-9f21-7a735e052036" into ub-launcher3-master
* changes:
  [automerger] Adding overscroll effect in recents list am: 4d6b1a95a1
  Adding overscroll effect in recents list
2018-06-12 16:56:02 +00:00
Sunny Goyal
267d04f79b Merge "Adding overscroll effect in recents list" into ub-launcher3-edmonton-polish 2018-06-12 16:56:02 +00:00
Tony Wickham
41c40bbb13 Merge changes from topic "am-aa97c11a-ca5a-48a7-993d-107856bfc8c7" into ub-launcher3-master
* changes:
  [automerger] Fix some issues with haptic am: 29aef52be3
  Fix some issues with haptic
2018-06-12 15:55:30 +00:00
Tony Wickham
fe1402d8a4 Merge "Fix some issues with haptic" into ub-launcher3-edmonton-polish 2018-06-12 15:55:30 +00:00
TreeHugger Robot
8676841fda Merge changes from topic "am-229f9e14-980c-44e5-a5c0-41681fae0652" into ub-launcher3-master
* changes:
  [automerger] Dismiss task menu view after pinning from tapping menu item am: 89da6799e4
  Dismiss task menu view after pinning from tapping menu item
2018-06-11 23:56:09 +00:00
TreeHugger Robot
90edc36dd9 Merge "Dismiss task menu view after pinning from tapping menu item" into ub-launcher3-edmonton-polish 2018-06-11 23:56:09 +00:00
Android Build Merger (Role)
ce2c4a83c8 [automerger] Adding overscroll effect in recents list am: 4d6b1a95a1
Change-Id: Ic38c8c91a0848714d21a99e48a4f7d5d0c41594a
2018-06-11 23:42:43 +00:00
Sunny Goyal
4d6b1a95a1 Adding overscroll effect in recents list
Bug: 109828536
Change-Id: If2b65cfc2b7f14deb721436f7aa378c4a2c5c468
2018-06-11 16:42:37 -07:00
Android Build Merger (Role)
f8f430d37f [automerger] Fix some issues with haptic am: 29aef52be3
Change-Id: Icb16c1ee3828820187f023bd351e2a2720e9d300
2018-06-11 23:23:52 +00:00
Tony Wickham
29aef52be3 Fix some issues with haptic
- Don't have double haptic on quick scrub
- Correctly check interpolated progress to determine final state,
  so that it always aligns with the haptic (i.e. passing the haptic
  means letting go will go to the new state)

Bug: 109709720
Change-Id: I702bb76a4c15f932f923e81a14cc49f6a9126cb8
2018-06-11 23:23:49 +00:00
Android Build Merger (Role)
54c1af806f [automerger] Moving clear all button inside the recents view am: c82c6396e9
Change-Id: I1109b5ae959cab870fbf81e60ca143534b22cc20
2018-06-11 20:51:12 +00:00
Sunny Goyal
c82c6396e9 Moving clear all button inside the recents view
Bug: 72222505
Bug: 109828536

Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
2018-06-11 13:51:03 -07:00
Android Build Merger (Role)
19ded6aa6b [automerger] Dismiss task menu view after pinning from tapping menu item am: 89da6799e4
Change-Id: I0612c48bcd0d4bbf4d690e08d3c75e355a29ad60
2018-06-11 18:49:31 +00:00
Matthew Ng
89da6799e4 Dismiss task menu view after pinning from tapping menu item
OnClickListener for pin menu option will close all floating views such
as the task menu view.

Test: launch a transparent app, swipe up and try to pin it
Change-Id: I0a3253c79fd543e6044037835ffd74777c76a17d
Fixes: 109678966
2018-06-11 11:49:20 -07:00
TreeHugger Robot
367a53ec13 Merge "Added haptic feedback when swipe/fling up from an app in fullscreen" into ub-launcher3-edmonton-polish 2018-06-11 17:57:38 +00:00
Android Build Merger (Role)
b5703f997a [automerger] Added haptic feedback when swipe/fling up from an app in fullscreen am: c4b75abf3b
Change-Id: Ie9f2589f58b8d0a43a0829127b1977f26c91456e
2018-06-11 17:47:12 +00:00
Matthew Ng
c4b75abf3b Added haptic feedback when swipe/fling up from an app in fullscreen
This includes swiping/fling up from a fullscreen app and swiping/fling
down a task to a fullscreen app.

Test: swipe up when app is fullscreen
Fixes: 80543530
Change-Id: Iee259284cc6d4fe1e784532f0822ffd38cdee280
2018-06-11 10:45:47 -07:00
Android Build Merger (Role)
d822a85aa5 [automerger] Making the self always follow the vertical progress without any min height limit. After a certain height, the self fades out, but keeps following the vertical progress. am: 0f3af75eb0
Change-Id: Id6a0999f2ee3bf140df7e407011648a096fe1b8b
2018-06-11 16:51:49 +00:00
Sunny Goyal
0f3af75eb0 Making the self always follow the vertical progress without any min height limit.
After a certain height, the self fades out, but keeps following the vertical progress.

Eventually the fade-out can be decoupled from vertical progress and tied to the state

Bug: 109829614
Change-Id: I9808ed3fa1730b938196bc6d3518a6d096a13f4c
2018-06-11 09:51:42 -07:00
TreeHugger Robot
4bd8a9c853 Merge changes from topic "am-22b34d0b-71d8-4c8c-93fb-e03ad387dce6-ub-launcher3-edmonton-polish" into ub-launcher3-master
* changes:
  [automerger] Changed the Task Menu to overlay on top of the task view am: 1b9c3d6fe3
  Changed the Task Menu to overlay on top of the task view
2018-06-08 23:59:21 +00:00
TreeHugger Robot
808e7cae66 Merge "Changed the Task Menu to overlay on top of the task view" into ub-launcher3-edmonton-polish 2018-06-08 23:59:21 +00:00
Android Build Merger (Role)
f47f51c179 [automerger] Fixing build breakage due to theme change am: 03f17fabf0
Change-Id: Iff98d08cb9c0f591256ac2d71eaa46d48666a269
2018-06-08 22:24:06 +00:00
Sunny Goyal
03f17fabf0 Fixing build breakage due to theme change
Change-Id: I0d1f1b69a5dbde0cccfdcb925495018ee82403bd
2018-06-08 15:23:17 -07:00
Android Build Merger (Role)
184e968628 [automerger] Changed the Task Menu to overlay on top of the task view am: 1b9c3d6fe3
Change-Id: I572cb5fe8801b2374487d489f78f2bf232df7217
2018-06-08 21:25:18 +00:00
Matthew Ng
1b9c3d6fe3 Changed the Task Menu to overlay on top of the task view
When tapping the icon for each card in overview, the options will
overlay on top of the task view below the icon instead of popping up
above the task view.

Change-Id: I42746022432385d976134988262514a238a5066e
Fixes: 109676098
Test: go to overview, tap the icon for the task
2018-06-08 14:24:22 -07:00
Winson Chung
a41d3dda23 Merge changes from topic "am-6122ccdb-5b5a-43f4-8f32-3d9e1a775ee9" into ub-launcher3-master
* changes:
  [automerger] Set correct target position for other targets am: 707c09d3e3 am: 8c7e5cb111
  [automerger] Set correct target position for other targets am: 707c09d3e3
  Set correct target position for other targets
2018-06-08 19:19:29 +00:00
Winson Chung
1cabec12ea Merge changes from topic "am-6122ccdb-5b5a-43f4-8f32-3d9e1a775ee9" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Set correct target position for other targets am: 707c09d3e3
  Set correct target position for other targets
2018-06-08 19:19:29 +00:00
Sunny Goyal
5ac259c46e Merge "Exposing some private methods in FastBitmapDrawable" into ub-launcher3-edmonton-polish 2018-06-08 18:51:41 +00:00
Android Build Merger (Role)
becbc4ad88 [automerger] Exposing some private methods in FastBitmapDrawable am: 0ffab44153
Change-Id: Iefeb2b367cb08366598c115f09fd852002430cd3
2018-06-08 18:50:57 +00:00
Tony Wickham
15852dc121 Merge "Track shelf rather than app window" into ub-launcher3-edmonton-polish 2018-06-08 18:32:38 +00:00