Commit Graph

34630 Commits

Author SHA1 Message Date
Sunny Goyal 0a71ee4e53 Merge changes from topic "am-b652fda1-3023-4149-b53e-2532167ad664" into ub-launcher3-master
* changes:
  [automerger] Fixing disabled filter is not applied to the foregound layer when dragging an icon am: b6d292d788
  Fixing disabled filter is not applied to the foregound layer when dragging an icon
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
Android Build Merger (Role) f4267ff9d2 [automerger] More detailed description for shortcuts_menu_with_notifications_description am: 21837e5d24
Change-Id: I5faca66455d6f3d3c8d809fbb1821844a1f66885
2018-05-10 00:59:19 +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
Hyunyoung Song 35d11c9e01 Merge changes from topic "am-b2ecfae0-2b56-4c12-a902-81d99b089bfe" into ub-launcher3-master
* changes:
  [automerger] Use device api level if first_api_level is not set. Bug: 79429532 am: a30bf371e4
  Use device api level if first_api_level is not set. Bug: 79429532
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
Android Build Merger (Role) 33eefb2e00 [automerger] Tune discovery bounce to be more gentle when bouncing. am: 6c4fa1045b
Change-Id: I6b787074324ca06ab03bafb842f4683a634a723a
2018-05-09 23:18:45 +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
Tony Wickham 4d9ee66eff Merge changes from topic "am-7b19da77-0ec2-4e05-be44-de816e5aee8c" into ub-launcher3-master
* changes:
  [automerger] Improve animation when swiping down on task am: b271ad8972
  Improve animation when swiping down on task
2018-05-09 23:14:34 +00:00
Android Build Merger (Role) 56cbbcbe70 [automerger] Fixing disabled filter is not applied to the foregound layer when dragging an icon am: b6d292d788
Change-Id: I790b1e856eb57f4678c30cd0d60ed7967f3c46c1
2018-05-09 21:25:16 +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
Android Build Merger (Role) 47295ded48 [automerger] Fix lock contention while swiping up am: 570432f700
Change-Id: Ib7c958814612afd4104d1ad551f2644bed4a3547
2018-05-09 21:12:52 +00: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
TreeHugger Robot 37b4fe8930 Merge changes from topic "am-f87bd580-30d6-4da0-89bd-1568b32fd0ac" into ub-launcher3-master
* changes:
  [automerger] Don't end atomic animation when passing through state am: fc564f1477
  Don't end atomic animation when passing through state
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
Tony Wickham b323baf20a Merge changes from topic "am-65c635f5-fb28-44c1-966a-528663e0dfb3" into ub-launcher3-master
* changes:
  [automerger] Add atomic recents animation while swiping up am: 6becf7c07d
  Add atomic recents animation while swiping up
2018-05-09 20:13:23 +00:00
Android Build Merger (Role) ca94564c4f [automerger] Use device api level if first_api_level is not set. Bug: 79429532 am: a30bf371e4
Change-Id: I12fcd4af04e1e5f3a33cae0b748b05222bd499db
2018-05-09 20:13:06 +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
android-build-team Robot ae59144edb Merge changes from topic "new-caret" into ub-launcher3-master
* changes:
  [automerger] Adding a carent in the scrim am: ef39540dde
  Adding a carent in the scrim
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
android-build-team Robot 927a4083f9 Merge changes from topic "am-30df34fa-07f8-4f02-9c82-1165138e504b" into ub-launcher3-master
* changes:
  [automerger] Tweaks to app closing animation. am: d26d5aaa6d
  Tweaks to app closing animation.
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
Android Build Merger (Role) 534453ab0b [automerger] Revert "Fix lock contention while swiping up" am: daa47e7ccc
Change-Id: I66584ddff364de3ca11bf1a5941a3436f2bd0002
2018-05-09 20:10:41 +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
Sunny Goyal d3e55f1b64 Merge "Fix lock contention while swiping up" into ub-launcher3-edmonton 2018-05-09 20:07:44 +00:00
Android Build Merger (Role) a75a3a3f75 [automerger] Fix lock contention while swiping up am: 12c4ecb015
Change-Id: I4534687bc96a71e60c1e8ee3c0cc3ed92c65349c
2018-05-09 19:52:03 +00:00
Android Build Merger (Role) 6ea60b8332 [automerger] Tweaks to app closing animation. am: d26d5aaa6d
Change-Id: Ia50af519ece522ea781d027af5f2dddb1095475e
2018-05-09 19:51:49 +00:00
Jon Miranda d26d5aaa6d Tweaks to app closing animation.
Change-Id: Ia2cbc1401a57ad8dc3e3553110497eb35c19fe64
2018-05-09 12:51:34 -07:00
Winson Chung 12c4ecb015 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: I56e24fbbdeb3b673837982df3fa67e485d03b3b2
2018-05-09 12:51:02 -07:00
Android Build Merger (Role) e474f14f65 [automerger] Adding a carent in the scrim am: ef39540dde
Change-Id: I0d0e3bd2c24559b93bd7d5b4e23833b1dd9921e8
2018-05-09 19:39:35 +00:00
Sunny Goyal ef39540dde Adding a carent in the scrim
> Caret is only visible when the accessibility is enabled
> It is visible in NOTMAL and OVERVIEW state and moves out of the
  scrim along with the scrim.
> Acts as an accessible target for various options

Bug: 78172350
Bug: 79215734
Change-Id: I8a968b67e36901859649546295f6491d49cc9ce9
2018-05-09 12:39:30 -07:00
Android Build Merger (Role) d21fc0cddc [automerger] Don't end atomic animation when passing through state am: fc564f1477
Change-Id: I1ac067e008a8db4abbae7a246f080949c1a47be0
2018-05-09 19:36:11 +00:00
Tony Wickham fc564f1477 Don't end atomic animation when passing through state
Previously we were ending the atomic animation with the assumption
that it should be complete/almost complete by the time you drag to
the next state. However, it is very easy to drag quickly enough where
that assumption doesn't hold, and thus you just see the atomic
animation pop to the end (i.e. recents showing without animation).

Now instead of ending the atomic animation, we let it continue. But
because the new state animation will have an atomic component that
interferes with the still playing atomic animation, we have to
control the atomic component separately; we control the non-atomic
components until the atomic animation ends, at which point we create
a separate controller to control the atomic components.

Bug: 76449024
Change-Id: Ia4bf19e26d0838f952d9e500fbdd8aba19856a41
2018-05-09 12:36:02 -07:00
Android Build Merger (Role) 6c32ec83fb [automerger] Add atomic recents animation while swiping up am: 6becf7c07d
Change-Id: Ib721a3c578112102ccfa487f8f63da6b175276a2
2018-05-09 19:33:57 +00:00
Tony Wickham 6becf7c07d Add atomic recents animation while swiping up
State handlers can now specify atomic and non-atomic components of
their animations to states, which can be specified when creating a
new animation. There is now one atomic animation, when going from
NORMAL to OVERVIEW (and in reverse):
- RecentsViewStateController's animation (scale/alpha) is all atomic
- WorkspaceStateTransitionAnimation has atomic and non-atomic:
  - Hotseat and workspace alpha is atomic, as is workspace scale
  - Everything else (scrim, translation, qsb and drag handle alpha) is
    non-atomic
- All apps progress is non-atomic

Also simplified dragging through overview; no longer pulls against you,
so we use an OvershootInterpolator when flinging instead of our custom
interpolator for the spring effect.

Bug: 76449024
Bug: 78089840
Change-Id: Iafac84d0c2b99ee9cf9dd5b30e2218286713b449
2018-05-09 12:33:46 -07:00
Android Build Merger (Role) 3f8683b8e6 [automerger] Removing extra binder call on state or visibility change am: 6b4b9b5d71
Change-Id: I808349024a9ba351e0d7e27c7b9a599b77082ac6
2018-05-09 19:14:25 +00:00
Sunny Goyal 6b4b9b5d71 Removing extra binder call on state or visibility change
> fixing a bug where we do not match task events against managed user

Bug: 78585335
Change-Id: I9183e81ea63f8ab51f45d5140301d281234caf2b
2018-05-09 12:14:18 -07:00
Jonathan Miranda cf4f8c0c2e Merge "Increase REORDER_TIMEOUT to make it easier for users to create/add to folder." into ub-launcher3-edmonton 2018-05-09 18:48:22 +00:00
Jonathan Miranda 85ea7e62c3 Merge changes from topic "am-2cbb68cf-7e12-4b4c-8918-2985468d04c3" into ub-launcher3-master
* changes:
  [automerger] Increase REORDER_TIMEOUT to make it easier for users to create/add to folder. am: 217f0ca2d9
  Increase REORDER_TIMEOUT to make it easier for users to create/add to folder.
2018-05-09 18:48:22 +00:00
Android Build Merger (Role) 8ee74b71ef [automerger] Reset home bounce as unseen for users upgrading from Android O/N to P. am: 04bf548038
Change-Id: Ic5fe90c62c7b1e4d3b6a9aa369929ea41cb9701e
2018-05-09 18:00:32 +00:00
Tracy Zhou 04bf548038 Reset home bounce as unseen for users upgrading from Android O/N to P.
Change-Id: I18b80f874180c8cc94e3101bcbceb75ecd4c28bc
Fixes: 78647939
Test: Manual test
2018-05-09 11:00:20 -07:00
Mehdi Alizadeh 17e64b3444 Merge changes from topic "force-swipe-up-enabled-p3" into ub-launcher3-master
* changes:
  [automerger] Enforce Swipe Up gesture to be enabled based on the shipped SDK version am: 2a8f265ab0
  Enforce Swipe Up gesture to be enabled based on the shipped SDK version
2018-05-09 17:57:32 +00:00
Mehdi Alizadeh dfd07389e3 Merge "Enforce Swipe Up gesture to be enabled based on the shipped SDK version" into ub-launcher3-edmonton 2018-05-09 17:57:32 +00:00
android-build-team Robot 639b07178f Merge "Using surface rotation instead of insets to determine seascape configuration" into ub-launcher3-edmonton 2018-05-09 16:00:43 +00:00
android-build-team Robot 9e77255c04 Merge changes from topic "am-9e348ca4-cd08-4961-920a-21d62dd2dd15" into ub-launcher3-master
* changes:
  [automerger] Using surface rotation instead of insets to determine seascape configuration am: 59d086c3ce
  Using surface rotation instead of insets to determine seascape configuration
2018-05-09 16:00:43 +00:00
Tony Wickham e3a968090a Merge "Cleanup swipe detector in case of double cancel" into ub-launcher3-edmonton 2018-05-09 16:00:02 +00:00