Commit Graph

20478 Commits

Author SHA1 Message Date
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) 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) 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
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
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) 444715d75c [automerger] Improve animation when swiping down on task am: b271ad8972
Change-Id: Iac81340d0b46e1ced5224c7181d56c2ca5db9417
2018-05-08 22:39:18 +00:00
Tony b271ad8972 Improve animation when swiping down on task
- Scale icon down/up atomically at a threshold
- Fix scale of tasks to properly take curve/zoom scale into account

Bug: 78779525
Change-Id: I5909c63b18a993433de7a38b9641f4f38a219807
2018-05-08 15:39:05 -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
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-team Robot a7158083dd Merge "Import translations. DO NOT MERGE" into ub-launcher3-edmonton 2018-05-08 17:38:57 +00: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
Bill Yi db7327f85f Import translations. DO NOT MERGE
Change-Id: I6646ab8842f39b209cd6d8eb7bcceb88569e6117
Auto-generated-cl: translation import
2018-05-07 16:38:30 -07:00
Vadim Tryshev 0fc0713253 Fixing reverted order of accessibility scrolling in Recents
Bug: 78788182
Change-Id: I275381e65bbd2fa24e427fea0bb9ca44366e0357
Testing: Manual
2018-05-07 16:28:46 -07:00
Android Build Merger (Role) 3a24ed06c6 [automerger] Insted of animating the icon of the first task, animating the running task icon am: 28254eec60
Change-Id: I9df43aa559c896a04faeaa462c448e4fdafd02e0
2018-05-07 21:59:34 +00:00
Sunny Goyal 28254eec60 Insted of animating the icon of the first task, animating the running task icon
Bug: 79236139
Change-Id: Ib85c22e3898c09a84d3a862c407c23d76a600d9d
2018-05-07 14:59:27 -07:00
android-build-team Robot 2f0101778d Merge "Fix bug where launcher closing animation isn't run." into ub-launcher3-edmonton 2018-05-07 18:59:13 +00:00
Android Build Merger (Role) 9c2e0a4143 [automerger] Fix bug where launcher closing animation isn't run. am: 717127186a
Change-Id: I600901c6e7b740233e63dd4952a5fcd99925716c
2018-05-07 18:48:11 +00:00
Jon Miranda 717127186a Fix bug where launcher closing animation isn't run.
In some cases, we prematurely clear the force invisible flag before composing
the launcher animation, causing us to skip the animation.

Bug: 77205145
Change-Id: I4224741649a4fef34e255abac7b66bcf919c042f
2018-05-07 11:46:33 -07:00
android-build-team Robot ae43d14790 Merge "Removing extra accessibility box from Recents" into ub-launcher3-edmonton 2018-05-07 18:45:06 +00:00
Android Build Merger (Role) 836b9e9027 [automerger] Removing extra accessibility box from Recents am: db1903a567
Change-Id: I544aac8aa252ea65770a78eb6204d26ce40868a1
2018-05-07 18:33:30 +00:00
Android Build Merger (Role) 17588181b9 [automerger] Clear refs to the controller and saved snapshot upon finishing animation am: 76a2a6ae66
Change-Id: I9011a8271f73d68de8ff018e371d9ca2e45ff938
2018-05-07 17:26:52 +00:00
Winson Chung 76a2a6ae66 Clear refs to the controller and saved snapshot upon finishing animation
Bug: 79322746
Change-Id: I8786909615da3368a22300d5e33cefa4b77623fd
2018-05-07 10:22:04 -07:00
Vadim Tryshev db1903a567 Removing extra accessibility box from Recents
Disabling accessibility of Workspace (not Recents!) while in Overview,
thus removing strange box appearing while navigating with Switch Access
though Overview. See discussing in the bug.

Bug: 78464518
Change-Id: I86b10e3e435af6e45a94c867e7efcdb5553d32d2
Testing: Manual
2018-05-04 19:30:39 -07:00
android-build-team Robot 1094dbe79d Merge changes from topic "am-592c3e7d-f088-4cba-97db-ec5807b14b5c" into ub-launcher3-master
* changes:
  [automerger] Tweaks to opening app window animation. am: ce1402132a
  Tweaks to opening app window animation.
2018-05-04 22:53:05 +00:00
android-build-team Robot db05fc28cf Merge "Tweaks to opening app window animation." into ub-launcher3-edmonton 2018-05-04 22:53:05 +00:00