Commit Graph

15996 Commits

Author SHA1 Message Date
Android Build Merger (Role) ecb2ac765d [automerger] Not sharing same task view between shortcuts am: 4d577fc1c5
Change-Id: I313f17f4d66d65fdb86a94f4166c457e8bbe4084
2018-04-20 19:23:34 +00:00
Vadim Tryshev 4d577fc1c5 Not sharing same task view between shortcuts
SplitScreen task shortcut was written with an expectation that only one
instance would be created at a time.

No that it's used by Accessibility, SplitScreen may be asked to provide
multiple shortcuts at a time for multiple tasks, and they share same
mTaskView.

Fixing this.

Bug: 78094307
Test: Manual
Change-Id: Ib440ca862b0677ec4a012ec9f2a225183b2c91f4
2018-04-20 12:20:20 -07:00
Android Build Merger (Role) 16fdada9d7 [automerger] Kepping the rotation setting UI always enabled and accessible am: c919a4fa94
Change-Id: Ib59bd50ec6158ac9802d303548b7d25035b0e7d5
2018-04-20 19:00:52 +00:00
Sunny Goyal c919a4fa94 Kepping the rotation setting UI always enabled and accessible
Bug: 77654352
Change-Id: Iade9ef33bc70fdbdac9ab39d6fa77113fb21549a
2018-04-20 12:00:43 -07:00
Android Build Merger (Role) ee289276bd [automerger] Prevent unecessary invalidates am: 6c5e169de6
Change-Id: Ifdb600c20fbe79ece99eb593f199f561f79ee2e6
2018-04-20 18:51:21 +00:00
Tony Wickham 6c5e169de6 Prevent unecessary invalidates
updateEmptyMessage() calls invalidate() whenever size has changed. We
were only updating mLastMeasuredSize when showing the empty message,
however, so we were invalidating whenever updateEmptyMessage was called.

Change-Id: Ic9046738e4f53d53aded6347a273522c53394991
2018-04-20 11:32:03 -07:00
TreeHugger Robot f589eebbec Merge "Bringing back auto-rotate settings" into ub-launcher3-edmonton 2018-04-20 16:45:18 +00:00
TreeHugger Robot 2f23a6ece1 Merge changes from topic "auto-rotate-settings" into ub-launcher3-master
* changes:
  [automerger] Bringing back auto-rotate settings am: 40253329c5
  Bringing back auto-rotate settings
2018-04-20 16:45:18 +00:00
TreeHugger Robot e13659bd5b Merge "Updating the task swipe-down UI" into ub-launcher3-edmonton 2018-04-19 23:38:13 +00:00
Android Build Merger (Role) ee3c67cff0 [automerger] Updating the task swipe-down UI am: 7d2e40912e
Change-Id: I4fe2c0ca637b7952c78883a1517656b441badde5
2018-04-19 23:30:48 +00:00
Sunny Goyal 7d2e40912e Updating the task swipe-down UI
Bug: 77281732
Change-Id: I1bbc1bbeee74983b3fde5e8218e08689f32ac717
2018-04-19 16:30:43 -07:00
Android Build Merger (Role) a60a34399d [automerger] Centering empty icon. am: e8cf0ae61f
Change-Id: I17518dec095afa4055ee1e6180add0f5eb95d78b
2018-04-19 20:27:09 +00:00
Vadim Tryshev e8cf0ae61f Centering empty icon.
This is more correct way that what was rolled back here: ag/3922402.

Bug: 72222505
Test: Manual
Change-Id: I2cc4549db9b6a5965523d13ffde768b3e28bc7a6
2018-04-19 13:26:48 -07:00
TreeHugger Robot 69632a46ab Merge "Linking swipe animate to stateTransition to that it gets properly reset afterwards" into ub-launcher3-edmonton 2018-04-19 18:02:12 +00:00
TreeHugger Robot d1cf445878 Merge changes from topic "am-3e098e52-a5e6-4050-ac05-724b2c56ff1d" into ub-launcher3-master
* changes:
  [automerger] Linking swipe animate to stateTransition to that it gets properly reset afterwards am: cc35bb88da
  Linking swipe animate to stateTransition to that it gets properly reset afterwards
2018-04-19 18:02:12 +00:00
TreeHugger Robot e590e0b477 Merge "Small tweaks to positioning Clear-all button" into ub-launcher3-edmonton 2018-04-19 17:22:22 +00:00
Android Build Merger (Role) 4926cffb3b [automerger] Bringing back auto-rotate settings am: 40253329c5
Change-Id: Ic5b3039246827a209864ec2560046f11980500c4
2018-04-19 16:28:03 +00:00
Sunny Goyal 40253329c5 Bringing back auto-rotate settings
Bug: 77654352
Change-Id: I0910fc8afe2fb7e125d57912abc35bbbd5df9d74
2018-04-19 09:27:56 -07:00
Android Build Merger (Role) e92e99b8eb [automerger] Small tweaks to positioning Clear-all button am: 9a68a9ea62
Change-Id: I87dd9ea9d2d746ceda71b42ec88ad1b9ed2da1c2
2018-04-19 02:00:15 +00:00
Vadim Tryshev 9a68a9ea62 Small tweaks to positioning Clear-all button
Bug: 72222505
Test: Manual
Change-Id: I920a1d712e4f72ed66cf0c31cb77cf949339b2c6
2018-04-18 18:59:56 -07:00
TreeHugger Robot fed15f199e Merge "Implement swipe up and quick scrub onboarding (Pt. Launcher)" into ub-launcher3-edmonton 2018-04-19 00:45:09 +00:00
Android Build Merger (Role) 92ddc43f08 [automerger] Implement swipe up and quick scrub onboarding (Pt. Launcher) am: 5c74f7bb59
Change-Id: I3d7f393a377fb6058f1bbe02191c6e0015bfd167
2018-04-19 00:35:43 +00:00
Tracy Zhou 5c74f7bb59 Implement swipe up and quick scrub onboarding (Pt. Launcher)
SysUI change: ag/3914771

Bug: 70180942
Test: manual test
Change-Id: I42ade28ebad6dcbbcee6dfb80791f22f36e78290
2018-04-18 17:35:33 -07:00
TreeHugger Robot c2f651decf Merge "Removing scrolling to 0" into ub-launcher3-edmonton 2018-04-19 00:10:54 +00:00
Android Build Merger (Role) e500cdfb7d [automerger] Removing scrolling to 0 am: f8f126c03e
Change-Id: Ica7c40628c2250e2ff5c446c9a1f0b304c043df7
2018-04-19 00:01:19 +00:00
Vadim Tryshev f8f126c03e Removing scrolling to 0
This caused regressions in flip-order mode.

Will figure our later what should replace it when clear-all is enabled.

Bug: 72222505
Test: Manual
Change-Id: Ie3d65f550935a26efa8e8e31594dbe8f35ba1f71
2018-04-18 17:00:56 -07:00
TreeHugger Robot 173765b4e6 Merge "Always draw the background color in the task views" into ub-launcher3-edmonton 2018-04-18 23:50:54 +00:00
Android Build Merger (Role) f0e048a4d8 [automerger] Always draw the background color in the task views am: 174aae5dbd
Change-Id: Ic15f8c1f14b2427985233eb1649af79ff03b1c7a
2018-04-18 23:32:43 +00:00
Winson Chung 174aae5dbd Always draw the background color in the task views
- Snapshots can now be translucent which means that we always have to draw
  the background for translucent apps

Bug: 77813801
Change-Id: I70bd77aa56ee7988e2af1b602884739837478c39
2018-04-18 16:32:32 -07:00
Vadim Tryshev b1c33a5d3f Merge "Fixing Clear-all crawling down with time" into ub-launcher3-edmonton 2018-04-18 21:42:39 +00:00
Android Build Merger (Role) 64ead4fbe7 [automerger] Fixing Clear-all crawling down with time am: 5b87fa6af7
Change-Id: I21a59c2780ec6dc64ebbff667db65a7925e55f87
2018-04-18 21:18:50 +00:00
Vadim Tryshev 5b87fa6af7 Fixing Clear-all crawling down with time
+ a small optimization.

Bug: 72222505
Test: Manual
Change-Id: I0fbdee0a85c123d201b0eb6951f244540ef48117
2018-04-18 14:17:32 -07:00
Android Build Merger (Role) 7c9efefc0b [automerger] Increasing the max fling/swipe duration am: d837a329b8
Change-Id: Id5ec6a72eb025273bfef392f42f5ad4148891a1b
2018-04-18 20:35:00 +00:00
Sunny Goyal d837a329b8 Increasing the max fling/swipe duration
Bug: 78059672
Change-Id: Iede9982b634f48f3f28732aa0d2c8413972c390b
2018-04-18 13:34:52 -07:00
TreeHugger Robot 955a018df7 Merge "Do not allow fling if we didn't get onGestureStarted" into ub-launcher3-edmonton 2018-04-18 19:37:19 +00:00
Android Build Merger (Role) f1ca5a4fea [automerger] Do not allow fling if we didn't get onGestureStarted am: 5490445898
Change-Id: I5cbe878686e6d5d1d7f2f13c631f75154eda9dfc
2018-04-18 19:23:31 +00:00
Sunny Goyal 5490445898 Do not allow fling if we didn't get onGestureStarted
Bug: 78232923
Change-Id: Ia37f54d7a0e2eb1d42641648ac7a5e7687e3dd0c
2018-04-18 12:23:26 -07:00
TreeHugger Robot 971a476cb7 Merge "WallpaperManagerCompat: correct build version check" into ub-launcher3-edmonton 2018-04-18 19:01:48 +00:00
TreeHugger Robot 5203e5423a Merge changes from topic "am-d736b3e3-f801-4028-82d6-c65b097aae62" into ub-launcher3-master
* changes:
  [automerger] WallpaperManagerCompat: correct build version check am: 596d7f135d
  WallpaperManagerCompat: correct build version check
2018-04-18 19:01:48 +00:00
TreeHugger Robot 58253eaac8 Merge "Introducing Clear-all button on Overview" into ub-launcher3-edmonton 2018-04-18 18:56:28 +00:00
Android Build Merger (Role) a178a97519 [automerger] WallpaperManagerCompat: correct build version check am: 596d7f135d
Change-Id: I9d3f674cf9350d3aee2ecd7ece6b4df09f0010f9
2018-04-18 18:45:58 +00:00
Jon Miranda 596d7f135d WallpaperManagerCompat: correct build version check
WallpaperManagerCompatVOMR1 is targeting API 27 (O MR1), but the
api guard is checking, if we are running API 26 (O) or above.

Correct the check to prevent using unavailable Wallpaper APIs.

Change-Id: I83cceee8eb61b2d74e647d473d7d560d00be14d3
(cherry picked from commit Iaf510bb79010e640db04adbbc2ee44de9abd6913)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2018-04-18 11:45:13 -07:00
Android Build Merger (Role) 5aa5905227 [automerger] Introducing Clear-all button on Overview am: 6d2321cb7d
Change-Id: I8fc6d63249c906e42c9abe4e158654ec21116f76
2018-04-18 18:33:42 +00:00
Vadim Tryshev 6d2321cb7d Introducing Clear-all button on Overview
It’s an initial implementation, i.e. no fancy effects.
It shares a parent (LauncherRecentsViewContainer) with RecentsView.
The button is centered in clear_all_button_container, which gets
positioned programmatically to the right of the last task. (RTL polish
will be a separate CL as well).

Bug: 72222505
Change-Id: Ia912908a93a30c2f51450ccf0f97c7495e7916d5
Test: Manual
2018-04-18 11:33:21 -07:00
TreeHugger Robot e973b032e4 Merge "Restricting the max duration used for the swipe-down animation" into ub-launcher3-edmonton 2018-04-18 18:32:23 +00:00
TreeHugger Robot c15480a77c Merge changes from topic "am-c3e42506-7f7d-4de5-891b-77b5ac8b0eee" into ub-launcher3-master
* changes:
  [automerger] Restricting the max duration used for the swipe-down animation am: 4b03a1e5a2
  Restricting the max duration used for the swipe-down animation
2018-04-18 18:32:23 +00:00
Tony Wickham 5c3706c22a Merge "Make sure notification listener stays unbound on reboot when badging disabled" into ub-launcher3-edmonton 2018-04-18 17:12:06 +00:00
Tony Wickham ca12899ce7 Merge changes from topic "am-ba0d2ef2-dcc6-410d-b951-94125ac33b2c" into ub-launcher3-master
* changes:
  [automerger] Make sure notification listener stays unbound on reboot when badging disabled am: 7aa922c912
  Make sure notification listener stays unbound on reboot when badging disabled
2018-04-18 17:12:06 +00:00
Android Build Merger (Role) fcb03702bd [automerger] Restricting the max duration used for the swipe-down animation am: 4b03a1e5a2
Change-Id: I311d03ae31ef689711e30c51f6668b14ae6581fb
2018-04-18 16:58:52 +00:00
Sunny Goyal 4b03a1e5a2 Restricting the max duration used for the swipe-down animation
> Also changing the interpolator from t^5 to t^2 so that it settles faster.

Bug: 78059672
Change-Id: Iae6e6f56eb2e249c11a8e069f04ab0f26a683063
2018-04-18 09:58:48 -07:00