Commit Graph

16392 Commits

Author SHA1 Message Date
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 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-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
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
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
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
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
Tony Wickham 2affad887f Merge changes from topic "am-783afe5f-3535-4bbb-b942-8ecc2e7bd96a" into ub-launcher3-master
* changes:
  [automerger] Cleanup swipe detector in case of double cancel am: fa6cbbe15b
  Cleanup swipe detector in case of double cancel
2018-05-09 16:00:02 +00:00
Android Build Merger (Role) 5e64a2f80e [automerger] Enforce Swipe Up gesture to be enabled based on the shipped SDK version am: 2a8f265ab0
Change-Id: I759159908409ac0b6d435877b16a62b82c19bca3
2018-05-09 01:09:09 +00:00
Mehdi Alizadeh 2a8f265ab0 Enforce Swipe Up gesture to be enabled based on the shipped SDK version
Bug: 79429532
Test: Manual test
Change-Id: I12682ea3555eb3649cba4e1df018a697897f0fb6
2018-05-08 17:33:18 -07:00
Android Build Merger (Role) eca04d2f23 [automerger] Fixing task icon not animating when swiping up am: 578890ad93
Change-Id: Ia53fcd0e16666905cb92a0f1530397341f8620d0
2018-05-08 22:35:37 +00:00
Sunny Goyal 578890ad93 Fixing task icon not animating when swiping up
Bug: 79236139
Change-Id: I3db7bd098053ebad0d42fa0245a0dbbafb4291c9
2018-05-08 15:35:29 -07:00
android-build-team Robot ad59f63aab Merge "Consuming launcher instets in multi-window mode" into ub-launcher3-edmonton 2018-05-08 22:08:17 +00:00
Android Build Merger (Role) 2f497e5f4d [automerger] Consuming launcher instets in multi-window mode am: 9001b10771
Change-Id: Ibe9e2892d5b0cfbb9aae6150735adcef87bf1ebb
2018-05-08 21:57:44 +00:00
Sunny Goyal 9001b10771 Consuming launcher instets in multi-window mode
Bug: 79267409
Change-Id: I283f9eeffaf322cee9289bf90528c8c51d083a50
2018-05-08 14:57:36 -07:00
Sunny Goyal fe392da300 Merge "Chaniging all-apps scrim" into ub-launcher3-edmonton 2018-05-08 18:10:12 +00:00
Sunny Goyal c6d01b825a Merge changes from topic "am-e4fc8b63-7d30-48ba-8bff-555d9e7e1860" into ub-launcher3-master
* changes:
  [automerger] Chaniging all-apps scrim am: 927447e71d
  Chaniging all-apps scrim
2018-05-08 18:10:12 +00:00
android-build-team Robot a6a1f80574 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-05-08 17:53:52 +00:00
Android Build Merger (Role) 8aeec2c0b2 [automerger] Increase REORDER_TIMEOUT to make it easier for users to create/add to folder. am: 217f0ca2d9
Change-Id: Iae0c62a852033b8feb4a259d3ecf500a77916c3d
2018-05-08 17:50:59 +00:00
Jon Miranda 217f0ca2d9 Increase REORDER_TIMEOUT to make it easier for users to create/add to folder.
This is more common for tall devices where cell height is relatively larger
than the icon size.

Bug: 78598193
Change-Id: I2835794e4dbe799d0fadefaa723360145d134550
2018-05-08 10:50:40 -07:00
android-build-team Robot a7158083dd Merge "Import translations. DO NOT MERGE" into ub-launcher3-edmonton 2018-05-08 17:38:57 +00:00
android-build-team Robot c7b54325e7 Merge changes from topic "am-7c959190-3b54-4523-8358-e7e50b55e14c" into ub-launcher3-master
* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: db7327f85f
  Import translations. DO NOT MERGE
2018-05-08 17:38:57 +00:00
Android Build Merger (Role) a8a889b77f [automerger] Fixing stateManager not correctly deduping existing animations am: a6616dec28
Change-Id: Ie76b586874121a8e0fb539b373cfc7c2c1e9032c
2018-05-08 16:16:32 +00:00
Sunny Goyal a6616dec28 Fixing stateManager not correctly deduping existing animations
Bug: 79251716
Change-Id: I40c3ebf0ec4d49aa1fe1948ad3d83eb87cc1c5f1
2018-05-08 09:16:04 -07:00
Android Build Merger (Role) ec602d7bdb [automerger] Chaniging all-apps scrim am: 927447e71d
Change-Id: I93a2a39e56572a0531ac6731327c3c0c610681b0
2018-05-08 15:29:52 +00:00
Sunny Goyal 927447e71d Chaniging all-apps scrim
> Converting the scrim to View, to better avoid overdraw
> Overview and Spring loaded state have different scrim alpha
> When going from overview to all-apps, there is a color scrim drawn over the overview panel.
  The slef color is merged with this color to prevent overdraw, and the remaining screen is drawn
  with a cut-out round rect path

Bug: 79111591
Change-Id: I26801fde13dd6adb4b06110bbe8087e35cc31847
2018-05-08 08:29:43 -07:00
android-build-team Robot 729020d186 Merge "Insted of animating the icon of the first task, animating the running task icon" into ub-launcher3-edmonton 2018-05-08 04:06:59 +00:00
android-build-team Robot 0cce4300aa Merge changes from topic "am-7cb385d7-bbf6-4a94-836a-20b943217064" into ub-launcher3-master
* changes:
  [automerger] Insted of animating the icon of the first task, animating the running task icon am: 28254eec60
  Insted of animating the icon of the first task, animating the running task icon
2018-05-08 04:06:59 +00:00
Android Build Merger (Role) 235b132456 [automerger] Simplifying clear-all transparency calculation am: 68277f0568
Change-Id: I6363ca16dc45079bb8c169594692324eb53c0ee2
2018-05-08 01:15:31 +00:00
Vadim Tryshev 68277f0568 Simplifying clear-all transparency calculation
Bug: 78788182
Change-Id: Idb66629f0dcc09240f38f37554a7ff50dbeefb7d
Testing: Manual
2018-05-07 18:15:12 -07:00
Android Build Merger (Role) ae07899c2c [automerger] Using surface rotation instead of insets to determine seascape configuration am: 59d086c3ce
Change-Id: I6c471787b5f16d9f08e8635ff29568d77918c9da
2018-05-08 00:32:52 +00:00
Sunny Goyal 59d086c3ce Using surface rotation instead of insets to determine seascape configuration
Insets may not correctly indicate seascape configuration in multi-window or
when the presence of device-cutouts

Bug: 79376298
Change-Id: I8268efca0001fe527a0ffefe48cc71e774fad01c
2018-05-07 17:32:46 -07:00
Bill Yi 4602e5c261 Import translations. DO NOT MERGE
Change-Id: I22d1469557a142df3e48e44eb140932edd80b85c
Auto-generated-cl: translation import
2018-05-07 16:40:49 -07:00