Based on the UX feedback:
Delay: 30ms
Duration: 80ms
Easing: linear
Bug: 196173550
Test: Test with demo app shopping mode
Change-Id: I1eac73ba71f6128a54e00b25674ff731695a3dc9
Uses the same animation setup in InsetsController when animate rounded
corners with insets changed. Also remove divider bar expanding animation
to prevent it overlapping with rounded corners and stage outline.
Bug: 200850654
Bug: 196272915
Test: atest WMShellUnitTests
Test: manul check the behavior of rounded corners when
expanding/collapsing task bar.
Change-Id: I00449e1c25ca717305be7be9704f5805667adf45
The snapshot surface will be offset with its parent, so no need to
offset itself.
Bug: 196173550
Test: test with demo app on click back from split to split.
Change-Id: I1c65bf2e4b1b8c489ad7fe5eec1418707d590d13
- Include the bottom nav inset when placing the dismiss
view for bubbles + pip.
- Add a window inset listener in pip.
- Make sure a couple of res values were being updated
in bubble's dismiss view.
Bug: 197119627
Test: manual - have a bubble & drag to dismiss
- ensure the dismiss target is completely
visible & above any navbar & changes
if navbar visibility changes
Change-Id: Ib05e294eade874bbdbdd025d412d0841314f8d7d
ImePositionProcessor didn't handle dim if it didn't not offset
layout, but when landscape, the layout will not offset. It cause
dim value didn't apply.
Fix this by checking both offset and dim value.
Fix: 200757897
Test: manual
Test: pass existing tests
Change-Id: I709b69c8e2d102d0e8237998b26f45c70805bf23
Also make sure that the split info is updated after an activity is
appeared on the client side.
Bug: 199144146
Test: Manual, using the test app
Change-Id: I11e6dd9d1f55c107aaf40aed4d25b6b8fff7b9ca
Moved to androidx.window.extensions.layout package.
Removed ExtensionProvider.
Updated method signatures.
Bug: 190433972
Test: Manual, using the sample app from AndroidX
Change-Id: I6c98ced7b447f231455723a8dc601a46653a48de
No user report of this but found in CTS.
I haven't been able to repro this, I think the
expanded view needs to be animating when the bubble
is removed but I haven't been able to reproduce this
via the unit tests or manually to confirm.
Bug: 200603814
Test: atest NotificationManagerTest watch logs and make sure there
isn't an exception
Change-Id: I70c286a67410d4cd6bbd272a4f27562a5ae1cb99
Bug: 200771843
Test: show empty splash screen when launch a trampoline activity
from notification.
Change-Id: Ib167a3b66a8c4274a96faaa3ff4c2e902e929dab
Use the default app open/close animation.
TODO:
1. Handle two TaskFragment open/close as one
2. Handle change transition based on the new motion design
Bug: 196173550
Test: test with demo app
Change-Id: I7b446840270edfc3c9e3fe188585b2cd839fa9f1
Use the same way to draw rounded corners beside divider bar with
display and task bar to make sure all rounded corners share the same
style.
Bug: 196272915
Test: atest WMShellUnitTests
Test: manul check the rounded corners rendered in proper position.
Change-Id: I566ef5233dc345e0229fd9637c3b05705ba35864
Only the binder objects match, so use those for finding
which filters to unregister.
Bug: 200213691
Test: atest CloseAppHomeButtonTest
change gesture modes and observe continuing functional anims
Change-Id: Id6e35bd9181462be5594ff8fb6898604df6d9bff
It was mistake on previos change, we should exit split when both
stages are invisible.
Bug: 199369390
Test: manual
Test: pass existing tests
Change-Id: I9f237155fd75b4ee16db647f4849f929cbba1056
When task move to back, the task visibility will be invisible
temporarily because visile app task reparent to TDA and below task
still not move to front.
Because this visibility change, we will hide divider and stage root
task then it cause flicker.
Fix this by only update divider and stage visibility when both stage
visible or invisible.
Bug: 199369390
Test: manual
Test: pass existing tests
Change-Id: Ide0b277e26e03ea3d7fb20132ff0e21807eee332
onDisplayAreaInfoChanged might callback many times in one action
such like fold to unfold, it might cause some issues because we
don't use lastet config resources to set SplitLayout.
Another bug is we cannot get divider leash immediately after we
init it because leash is built after attachToParentSurface.
Fix both bug by always do whole SplitLayout setting if any cared
configs changed. And add a callback after divider leash build,
show the leash on this callback to ensure we got null leash.
Fix: 198581512
Fix: 197296095
Test: manual
Test: pass existing tests
Change-Id: I06a4093927d6469a85b2104b36c16d6e16519a51
This change make the snapshot starting window holds the requested
visibilities when created from the task. Such that, when the window get
back from the background, the insets state in the window state can have
the correct visibilities.
Test: check getInsetsStateWithVisibilityOverride as described in the bug.
Bug: 196637509
Bug: 185729224
Change-Id: I54ab0791b169331c22cd89f7e6da640322bf7dd3
Test: manual - expand the stack, select the overflow,
collapse the stack
=> verify that there isn't a weird animation
Bug: 199781565
Change-Id: I408ae5e32a0f9f335fda6a6743134bc52e348d4e
* Removes some unnecessary methods off Bubble, these can
be called directly on the expanded view.
* Add some code to animate the pointer
* Fade the pointer with the TaskView
Test: manual - check that the pointer animates with the
bubble when the IME comes in / out
Bug: 193911220
Change-Id: I477f34de3611eea79f933958ec6e09f68eb93179