Commit Graph

16456 Commits

Author SHA1 Message Date
Android Build Merger (Role) 43ecbd119e [automerger] Tweak and fix bugs with new app close transition. am: 973622e8ec
Change-Id: I5709f5fe304551f9e9fff25ecba930119768cc57
2018-05-10 22:30:04 +00: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
Android Build Merger (Role) 1e4420c4ab [automerger] Using dragHandle for workspace padding calculation instead of pageIndicator am: 08ef66789b
Change-Id: If1cee04dcd365d87328119ccec457c30c0fb317d
2018-05-10 18:33:17 +00: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
Android Build Merger (Role) 54e5da53e5 [automerger] Removing scrim overdraw am: 5d1873a812
Change-Id: I4028fc2605b182f3a723efa5e2f547018f580130
2018-05-10 17:52:37 +00: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
Android Build Merger (Role) 8eb2da78f2 [automerger] Don't reapply state when setting user controlled animation am: d4ece9a74c
Change-Id: I1123e91a4940d482173c739f4133e9c103914377
2018-05-10 17:04:08 +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
Tony Mak ff94b044cf Show discovery bounce after work profile is created
BUG: 72804698

Change-Id: Ifa59ed5d82d12eb65323e86af9c8db2c3e9920a3
2018-05-10 16:52:15 +01: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
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 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
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
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-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
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 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
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 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-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-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
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
Sunny Goyal a6616dec28 Fixing stateManager not correctly deduping existing animations
Bug: 79251716
Change-Id: I40c3ebf0ec4d49aa1fe1948ad3d83eb87cc1c5f1
2018-05-08 09:16:04 -07: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 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
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-team Robot d10001b5d6 Merge "Improving "shortcuts" window for TalkBack users" into ub-launcher3-edmonton 2018-05-07 20:37:07 +00:00
Android Build Merger (Role) 9cfbb00867 [automerger] Improving "shortcuts" window for TalkBack users am: a50d99f1c1
Change-Id: I976a0bac56d18c7e832b6f89473182d817eacb28
2018-05-07 20:27:58 +00:00
Vadim Tryshev a50d99f1c1 Improving "shortcuts" window for TalkBack users
Using pane title, updating the description

Bug: 77633140
Test: Manual
Change-Id: Ia3a9ad75995a4cd3ada9b750e760161da70b9a7c
2018-05-07 13:25:39 -07:00