Commit Graph

16221 Commits

Author SHA1 Message Date
Sunny Goyal 12f803843b Updating the dark theme color to match system-ui theme
Bug: 79691756
Change-Id: I12058ca2d7651353af99f4ce65dc90339868bfc0
2018-05-14 15:58:19 -07:00
TreeHugger Robot 7c86a1ad42 Merge "Increasing thread priority while loading high res icons" into ub-launcher3-edmonton 2018-05-14 18:41:42 +00:00
TreeHugger Robot 99dcc9fd83 Merge "Fixing crash on keyboard shortcuts popup" into ub-launcher3-edmonton 2018-05-14 05:21:31 +00:00
TreeHugger Robot 266fb59a33 Merge "Remove fake 319 event generation" into ub-launcher3-edmonton 2018-05-14 05:21:14 +00:00
Vadim Tryshev 3455f8d0f6 Fixing crash on keyboard shortcuts popup
Bug: 76218025
Test: Manual
Change-Id: I11c9005764c7b0492138dc17716a0c6c4578798e
2018-05-11 20:02:20 -07:00
Vadim Tryshev 279e15152b Remove fake 319 event generation
Bug: 72967764
Test: Running perf tests
Change-Id: If012b0f8e964b9bcd5fb230e5a2232d27cea1dfd
2018-05-11 17:51:14 -07:00
Winson Chung a7b42bbf91 Merge "Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps""" into ub-launcher3-edmonton 2018-05-11 23:47:55 +00:00
TreeHugger Robot fce7861620 Merge "Fixing various quickscrup controls for fallback activity" into ub-launcher3-edmonton 2018-05-11 23:12:13 +00:00
Sunny Goyal 9829060491 Fixing various quickscrup controls for fallback activity
> Not auto advancing to next task when swiping from home
> Starting from the current tile, when scrubing on recents activity

Bug: 79558175
Change-Id: I2975dbb254ba0004b34ce5d86d9733faad4943ff
2018-05-11 16:03:12 -07:00
Sunny Goyal 6e180fdee5 Restoring the vertical progress if the task launch failed
Bug: 79170705
Change-Id: I7b2075f7a4bad2acdc55a15b7c7a35fdbd60514e
2018-05-11 15:26:28 -07:00
Winson Chung a0f09f94b5 Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps""
This reverts commit f5d5b6f00f.

Reason for revert: Can be submitted once a build with ag/4040557 is available for flashing

Change-Id: Id94440a1dc9b765bb9758af81b0567628befa283
2018-05-11 21:55:21 +00:00
TreeHugger Robot 7f71198dc8 Merge "Separating the draglayer alpha into multiple dimensions so that different animaitons can run without affecting the other." into ub-launcher3-edmonton 2018-05-11 19:26:51 +00:00
Sunny Goyal 6001ea2e2f Separating the draglayer alpha into multiple dimensions so that different animaitons
can run without affecting the other.

Bug: 79323355
Bug: 78880824
Change-Id: I11cb464ebdaad0a7f0a56d4bc4c3dff1d56da16b
2018-05-11 12:18:39 -07:00
Adam Cohen dfb509c580 Clear task when opening WallpaperPicker
-> Each session can reasonably be considered a fresh start
-> Also, works around b/79507056

Change-Id: Iac1ae59cd0c743d71c91a34ba32a0fef51548f74
2018-05-11 10:52:28 -07:00
Vadim Tryshev 6ebbf309ce Fixing Clear-all button being positioned incorrectly
Positioning used mClearAllButton.getTop(), which wasn't set until first
layout.

Bug: 72222505
Test: Manual
Change-Id: I6f60067fe6446e2359c3598084064f2df0673f47
2018-05-11 17:28:26 +00:00
Sunny Goyal 8201d97225 Increasing thread priority while loading high res icons
> On  local testing, average load time decreased to ~50%

Bug: 79227823
Bug: 78583301
Change-Id: Ib948a697ebad5c91322c74f4ab36b603f3525c61
2018-05-11 09:24:44 -07:00
Sunny Goyal 08cf36ea54 Merge "Tweak and fix bugs with new app close transition." into ub-launcher3-edmonton 2018-05-11 15:43:10 +00:00
Winson Chung 80a269b8ec Merge "Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"" into ub-launcher3-edmonton 2018-05-11 15:18:46 +00:00
Winson Chung f5d5b6f00f Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"
This reverts commit 5dd46d51ed.

Reason for revert: Temporary revert until ag/4040557 goes in

Change-Id: Iab2c747a99e1fb1cc5a91787dbf185df77f791b4
2018-05-11 06:50:21 +00:00
Sunny Goyal 81abe79619 Merge "Using dragHandle for workspace padding calculation instead of pageIndicator" into ub-launcher3-edmonton 2018-05-11 01:30:12 +00:00
Winson Chung 5dd46d51ed Update sysui flags on swipe, skip task backgrounds on opaque apps
Bug: 79228291
Bug: 77984778
Bug: 78659249
Bug: 73714156
Change-Id: I3bb9ce5b4d5d16bc229a1caba99891cb87775136
2018-05-10 15:36:44 -07:00
Jon Miranda 973622e8ec Tweak and fix bugs with new app close transition.
* Animates LauncherRootView instead of DragLayer to avoids the flashing that
  can occur when the overlay callback also changes the DragLayer alpha.
* To avoid the scrim's hard line: we hide it and then fade it in later.
* Launcher animation was wrong in landscape mode.

Change-Id: I7673228f5ed8bb72d7393f3d0769577b262f286f
2018-05-10 15:29:34 -07:00
Sunny Goyal 9b789cbbac Merge "Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe" into ub-launcher3-edmonton 2018-05-10 22:16:06 +00:00
TreeHugger Robot d3c8e35e7f Merge "Deferring recents animation when tapping rotation button." into ub-launcher3-edmonton 2018-05-10 21:52:25 +00:00
Winson Chung 447aadbc45 Deferring recents animation when tapping rotation button.
Bug: 79518453
Change-Id: I46490cce0ced0860903337c02fb66e1cdc5add06
2018-05-10 14:40:44 -07:00
TreeHugger Robot 0572422de8 Merge "Fixing latency test for square button" into ub-launcher3-edmonton 2018-05-10 21:28:52 +00:00
Vadim Tryshev c538cc3a01 Fixing latency test for square button
App-to-recents via square button now generates an event (sysui_latency: [1,<latency>]) for latency tests.

Bug: 72967764
Test: atest google/perf/app-transition/sysui-latency-test
Change-Id: Iae9e3112ab28d98ec2c11111f259010692e7fc7a
2018-05-10 14:15:53 -07:00
Tony Wickham 41be2fc783 Fix workspace scale calculation
- Based on workspace page instead of workspace (takes padding into
  account)
- Checks that width != 0 so we don't divide by 0

Bug: 79526164
Change-Id: I25d92a04550aa34abab7e9e1f93c93dbccd61752
2018-05-10 14:00:27 -07:00
Sunny Goyal 1d82dd4d12 Fixing crash when cancelAnimaiton happens while we are aboutto enter long-swipe
Bug: 79419808
Change-Id: I17741ef7b35a8b82543e52c4958289933cf04a43
2018-05-10 12:01:23 -07:00
Sunny Goyal 08ef66789b Using dragHandle for workspace padding calculation instead of pageIndicator
> PageIndicator is a 1dp indicator which does not contribute in any padding calculations

Bug: 79111591
Change-Id: I4d8be0149da2b3f14593ae71ca037ffe3885d9be
2018-05-10 11:33:11 -07:00
Sunny Goyal 5d1873a812 Removing scrim overdraw
> Moving all the scrims to draglayer to avoid creating multiple layers during
  various animations
> Removing sys-ui scrim in various states which alread have a background scrim

Bug: 74556464
Bug: 78585335
Change-Id: I8a3fd34ed440f3c7d2e19b3cdb4b72723c535602
2018-05-10 10:52:31 -07:00
Winson Chung 522e388b17 Merge "Fix lock contention while swiping up" into ub-launcher3-edmonton 2018-05-10 17:42:52 +00:00
TreeHugger Robot e97bbc47b8 Merge "Removing extra binder call on state or visibility change" into ub-launcher3-edmonton 2018-05-10 17:40:32 +00:00
Tony Wickham d4ece9a74c Don't reapply state when setting user controlled animation
Bug: 79525106
Change-Id: Ia41a51559196d4aa657fae47727c7366d9073295
2018-05-10 10:03:54 -07:00
Sunny Goyal cc0453c5e0 Merge "Fixing disabled filter is not applied to the foregound layer when dragging an icon" into ub-launcher3-edmonton 2018-05-10 06:52:02 +00:00
TreeHugger Robot 637a6355c6 Merge "More detailed description for shortcuts_menu_with_notifications_description" into ub-launcher3-edmonton 2018-05-10 01:09:27 +00:00
Vadim Tryshev 21837e5d24 More detailed description for shortcuts_menu_with_notifications_description
Change-Id: I5e4a416ae7e45863ac9e6a719dfbf5de1741d5a1
Testing: Manual
Bug: 79490700
2018-05-09 17:58:52 -07:00
Hyunyoung Song 2d90fd0eeb Merge "Use device api level if first_api_level is not set. Bug: 79429532" into ub-launcher3-edmonton 2018-05-09 23:41:05 +00:00
TreeHugger Robot 788003e4bf Merge "Tune discovery bounce to be more gentle when bouncing." into ub-launcher3-edmonton 2018-05-09 23:26:01 +00:00
Tracy Zhou 6c4fa1045b Tune discovery bounce to be more gentle when bouncing.
Change-Id: I6b1c094bbcd07bfda76bcc2c6b2a6fb249acd377
Fixes: 79491740
Test: Manual test
2018-05-09 23:18:44 +00:00
Tony Wickham 7a4dfc9885 Merge "Improve animation when swiping down on task" into ub-launcher3-edmonton 2018-05-09 23:14:34 +00:00
Sunny Goyal b6d292d788 Fixing disabled filter is not applied to the foregound layer when dragging an icon
Bug: 79475381
Change-Id: Ic489601f80a3180fe20a83988c2c3db7100e6946
2018-05-09 14:25:09 -07:00
Winson Chung 570432f700 Fix lock contention while swiping up
- Don't lock when making WM calls (only lock when resetting), and use own
  executor since the background executor is fixed to only two threads and
  other things can be running on them already (like task loading).

Bug: 78585335

Change-Id: I73dfc380dd99908cfc30ff7c164a9677a5a126e0
2018-05-09 14:10:52 -07:00
TreeHugger Robot 5be4075727 Merge "Don't end atomic animation when passing through state" into ub-launcher3-edmonton 2018-05-09 20:26:46 +00:00
Tony Wickham 56b247da1d Merge "Add atomic recents animation while swiping up" into ub-launcher3-edmonton 2018-05-09 20:13:23 +00:00
android-build-team Robot f69f0c2bf0 Merge "Adding a carent in the scrim" into ub-launcher3-edmonton 2018-05-09 20:12:59 +00:00
Hyunyoung Song a30bf371e4 Use device api level if first_api_level is not set.
Bug: 79429532

Change-Id: I2fddad81fb1cd23d4023d7f3f5124f14a8c994f7
2018-05-09 13:12:48 -07:00
android-build-team Robot 8473ddb7ee Merge "Tweaks to app closing animation." into ub-launcher3-edmonton 2018-05-09 20:11:23 +00:00
Sunny Goyal 0d05a8b311 Merge "Revert "Fix lock contention while swiping up"" into ub-launcher3-edmonton 2018-05-09 20:11:22 +00:00
Sunny Goyal daa47e7ccc Revert "Fix lock contention while swiping up"
This reverts commit 12c4ecb015.

Reason for revert: pending some comments

Change-Id: I064b76c7cedfda1bd4de17dc407dc843831ecd68
2018-05-09 20:10:40 +00:00