Schneider Victor-tulias and Automerger Merge Worker
33277fcf8a
Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f am: 8cb3df4896
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096
Change-Id: Ida8739d4e792f82ce9c64772756d1e21f4449df9
2021-08-23 20:17:37 +00:00
Schneider Victor-tulias and Android (Google) Code Review
f4f6c0fd4f
Merge changes I3e7d3c61,I1cba811c into sc-v2-dev
...
* changes:
Convert gesture navigation feedback videos to animations with real callbacks.
Convert gesture navigation tutorial still image vector drawables to layout files
2021-08-23 19:49:30 +00:00
Lucas Dupin
a8382dc052
Act on scrim visibility
...
The scrim visibility drives whether the launcher window is opaque or
not. We should track it and apply the flag instead of trying to catch it
through other Launcher life cycles.
Fixes: 195365607
Bug: 196403152
Test: tap on home button while launching app from overview
Change-Id: I2a00b86b602b5dd12c901433b92adcf0170be15e
(cherry picked from commit e4a9469156 )
2021-08-23 19:22:02 +00:00
Schneider Victor-tulias
69c4b54dce
Convert gesture navigation feedback videos to animations with real callbacks.
...
Fixes: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I3e7d3c6153eeff6273e4b7ebc8cdb8328df7facc
2021-08-23 11:14:53 -07:00
Schneider Victor-tulias
ff322310a3
Convert gesture navigation tutorial still image vector drawables to layout files
...
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Alex Chau and Automerger Merge Worker
6f67e076bf
Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev am: c8295216d5 am: 56a328c6ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612008
Change-Id: I1964b8c3bd82b22396340d2352833b2aee73a6fc
2021-08-23 11:46:49 +00:00
Alex Chau and Android (Google) Code Review
c8295216d5
Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev
2021-08-23 11:18:49 +00:00
TreeHugger Robot and Automerger Merge Worker
e46e09469e
Merge "Allow clipping individual direction of TaskView" into sc-v2-dev am: 47fde77687 am: 05e80c0b43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602537
Change-Id: If87770f3b136e8874fcba50bd1916d450eee1c53
2021-08-20 19:49:51 +00:00
TreeHugger Robot and Android (Google) Code Review
47fde77687
Merge "Allow clipping individual direction of TaskView" into sc-v2-dev
2021-08-20 19:22:19 +00:00
TreeHugger Robot and Automerger Merge Worker
7fc8bf586d
Merge "Snap to current page's relative position after dismissal." into sc-v2-dev am: 35e09fe019 am: c762676cfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596523
Change-Id: Ic9c0551bc65df436009295ec1980b38eab9992fc
2021-08-20 13:19:26 +00:00
TreeHugger Robot and Android (Google) Code Review
35e09fe019
Merge "Snap to current page's relative position after dismissal." into sc-v2-dev
2021-08-20 12:54:10 +00:00
Alex Chau
8ebd11af14
Fix animation problem when swipeing up app to screen edge and release
...
- Consider scroll diff between currentPage and primary scroll when calculating adjacent page offset
- Removed setEnableFreeScroll call in onPrepareGestureAnimation that calls setCurrentPage and causes jumping
Fixes: 197012570
Fixes: 195740577
Test: Swipe up from app to end of screen, adjacent task should come from screen edge, and app should snap smoothly to position
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Test: Swipe up immediately after quick switch, task thumbnails are loaded
Change-Id: Id88266634183dfcb18d5ba8a803883b7d6f50ab4
2021-08-20 12:07:08 +00:00
Pat Manning
0abfe4e7be
Snap to current page's relative position after dismissal.
...
Test: manual
Fix: 196200215
Change-Id: Ic65313e2082ca2248e5860b77c438615c62b5581
2021-08-20 11:10:26 +00:00
shawnlin
7b4ab1213e
Update QuickStepContract.getWindowCornerRadius API
...
Update from getWindowCornerRadius(Resources) to
getWindowCornerRadius(Context)
Bug: 131221697
Test: make
Change-Id: Ia5f10e9292e205dab7e69d97dfc82d17690816fb
2021-08-20 05:50:41 +00:00
Sunny Goyal
39aa2e0f1d
Moving OrientationTouchTransformerTest to instrumentation tests
...
Bug: 196825541
Test: Presubmit
Change-Id: Ifb0b00f789214a8dde246ab13703211d536364af
2021-08-19 12:03:26 -07:00
TreeHugger Robot and Automerger Merge Worker
2d19e0e0a3
Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev am: a35786c9c5 am: 7c90a47f5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616976
Change-Id: I5fb894f8a356ef51528c6c291371e7ef0fb95b5f
2021-08-19 18:12:24 +00:00
TreeHugger Robot and Android (Google) Code Review
a35786c9c5
Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev
2021-08-19 17:39:17 +00:00
Prabir Pradhan
4fbd2f2252
Revert^2 "Enable input window rotation flag"
...
Reland the per-window-input-rotation flag. It was reverted because it
broke touch on foldables. The issue is now fix, so attempt to reland
this.
312a44adba
Bug: 179274888
Test: presubmit
Test: manual using foldable
Change-Id: Icb18baf81875e32535e277f9c4246be669013a03
2021-08-19 15:00:40 +00:00
Nick Chameyev and Automerger Merge Worker
7791e400ff
Merge "Update unfold transition package name" into sc-v2-dev am: 88cd9aaa6b am: 3ed2933399
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612007
Change-Id: I9ce14d7b70ebf61757aa145925ce339cdfdf98b5
2021-08-19 11:15:08 +00:00
Nick Chameyev and Android (Google) Code Review
88cd9aaa6b
Merge "Update unfold transition package name" into sc-v2-dev
2021-08-19 10:53:44 +00:00
IRIS YANG and Automerger Merge Worker
543cf3ea95
Merge "Move/Launch task on the TaskView's display." into sc-v2-dev am: 829264a650 am: 2be95b5759
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15604010
Change-Id: Ia325cd8c74103d2d950a5fd359325fd5b1cf3316
2021-08-19 09:19:18 +00:00
IRIS YANG and Android (Google) Code Review
829264a650
Merge "Move/Launch task on the TaskView's display." into sc-v2-dev
2021-08-19 08:58:13 +00:00
shawnlin
4e15fe0726
[DO NOT MERGE] Update QuickStepContract.getWindowCornerRadius API
...
Update from getWindowCornerRadius(Resources) to
getWindowCornerRadius(Context)
Bug: 131221697
Test: make
Change-Id: Ia5f10e9292e205dab7e69d97dfc82d17690816fb
2021-08-19 15:52:10 +08:00
TreeHugger Robot and Automerger Merge Worker
4535d2bd79
Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd am: d4e7420c52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964
Change-Id: I811c983b2eab6ace95057f894e37cacd3b320bab
2021-08-19 01:24:36 +00:00
TreeHugger Robot and Automerger Merge Worker
d4e7420c52
Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964
Change-Id: I9cc84e593c3a4520468a29d0196d29e635704ea6
2021-08-19 01:11:41 +00:00
TreeHugger Robot and Automerger Merge Worker
fe5ce7334a
Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964
Change-Id: If21b096b1d5ac025ffb4116c805d31acba6cc662
2021-08-19 00:57:46 +00:00
TreeHugger Robot and Android (Google) Code Review
686d42a1d4
Merge "New app animation specs." into sc-qpr1-dev
2021-08-19 00:45:05 +00:00
Vinit Nayak
b5a4e05e2a
Null out reference to RemoteAnimationTargets when animation finishes
...
Bug: 195430732
Test: Re-ran FallbackRecentsTest#testOverview, passes
Change-Id: If9be3429516caface998561fbcc8223e256d0fdf
2021-08-18 16:37:14 -07:00
Vinit Nayak and Automerger Merge Worker
9c8bf15e17
Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev am: f8d55e0e2a am: 2b79ee7200
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15590495
Change-Id: I858d68cb3d5367fb6add19e419b9869acb220666
2021-08-18 23:36:20 +00:00
Bryce Lee and Automerger Merge Worker
1c907a3fdc
Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev am: 6e2d149ac7 am: 1815efeaa8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15614359
Change-Id: I4a33c6c7a97cb58b906b563e5b453d86e4c62933
2021-08-18 21:30:41 +00:00
Vinit Nayak and Android (Google) Code Review
f8d55e0e2a
Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev
2021-08-18 20:54:09 +00:00
Bryce Lee and Android (Google) Code Review
6e2d149ac7
Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev
2021-08-18 20:51:05 +00:00
Bryce Lee
a997ca437a
Revert "Draw rounded corners above the taskbar"
...
This reverts commit 157d3b950d .
Reason for revert: b/197129604
Bug: 197129604
Change-Id: Idf2267528fade23291aedea9787d98601495537c
2021-08-18 20:50:58 +00:00
Tracy Zhou and Automerger Merge Worker
9370c8b184
Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev am: d571905aa6 am: 9dd5f3ed6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602959
Change-Id: I5464e448caf20a0c6a891440173396b0442e222d
2021-08-18 19:00:50 +00:00
Tracy Zhou and Android (Google) Code Review
d571905aa6
Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev
2021-08-18 18:32:35 +00:00
Jon Miranda
bda98de9f8
New app animation specs.
...
- New values and interpolators.
Bug: 173107751
Test: open apps from different parts of the home screen
Change-Id: I81bec0221aec9c04dac0bb3e926c879999699e57
2021-08-18 18:26:46 +00:00
Tony Wickham and Alex Chau
ee2e28fae8
Allow clipping individual direction of TaskView
...
- Only clip the nav bar (taskbar), and always do that in tablets regardless of whether taskbar is stashed, so TaskView always have the same ratio (mocks: https://docs.google.com/presentation/d/1_3zQak_C9FzDPCcIdYagfUit4QyqfdRxetkim3dI9rY/edit#slide=id.ge211eb96a5_5_8 )
- When taskbar is present, don't use full thumbnail to avoid TaskView resizing in fullscreen: http://dr/file/d/18C8DSygPBU1gkmMQPPIIa2NqQESFurxW/view?resourcekey=0-8W79f31gstzI_1ZPpHulBQ
- When taskbar is stashed, we still need full thumbnail to gradually crop out the taskbar in overview
Test: Open Chrome, swipe up and ensure status bar inset stays in overview but taskbar stays clipped out from the onset.
Bug: 190681228
Change-Id: I9d563572f2e6800e90d567c2bfae4528a126f24e
2021-08-18 18:09:55 +01:00
Nick Chameyev
875c1b2735
Update unfold transition package name
...
These changes contain only updating of the package name.
Changing it to more specific package name in order to
not confuse with Android SDK classes.
Bug: 190818044
Test: manual
Change-Id: I9434ef1b82ebfe9bd032637276873777297c9022
2021-08-18 17:22:17 +01:00
Lucas Dupin
482f983a7b
Add depth to -1 screen
...
Wallpaper will zoom out as you drag the overlay
Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
Merged-In: I9067b70d10497d4e16a5ef601161fbedfa9307e1
(cherry picked from commit 87d752062e )
2021-08-18 15:34:45 +00:00
Vinit Nayak
54dccc2465
Respect StatusBarManager back/home disable flags
...
* Also use the same signals provided by SysUi flags
instead of directly from the disable API just for
consistency. (Disable2 flags still need to be migrated
over, so we're keeping the API for now).
Bug: 194870114
Test: Locking screen w/ 3 button nav
w/ various keyguards
Change-Id: I858ea36876061cddf0debbd43e8fcfe1d5712839
2021-08-18 07:44:50 -07:00
TreeHugger Robot and Automerger Merge Worker
7a3ad90e88
Merge "Logging for Nexus home activity appearing after to-home gesture in L3." into sc-v2-dev am: a7f7c4b432 am: 433ef28f91
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602542
Change-Id: I13b2f88a69b80aa96ea896905f0da583a180cfc0
2021-08-18 11:45:50 +00:00
TreeHugger Robot and Android (Google) Code Review
a7f7c4b432
Merge "Logging for Nexus home activity appearing after to-home gesture in L3." into sc-v2-dev
2021-08-18 11:19:26 +00:00
Alex Chau and Automerger Merge Worker
3a97c736a1
Merge "Support different task icon margin for grid tasks" into sc-v2-dev am: 2683bd7728 am: 3328b32054
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596247
Change-Id: I59fdfa471d8f29524179517cee156baf006ee512
2021-08-18 09:08:57 +00:00
Alex Chau and Android (Google) Code Review
2683bd7728
Merge "Support different task icon margin for grid tasks" into sc-v2-dev
2021-08-18 08:41:42 +00:00
Tracy Zhou
334cae420e
Tint task bar based on sampling of colors in the area
...
TODO: Add transition animation
Bug: 193938970
Test: manual
Change-Id: I0ffb94e0f11d47685a268ee8d057b6997f3a2ff6
2021-08-17 23:26:28 -07:00
Iris Yang
2cdc359b84
Move/Launch task on the TaskView's display.
...
Add ActivityOptions#setLaunchDisplayId to the display that the TaskView
is currently on. So the task will be moved to the display as the user is
interactiving with.
Bug: 183461428
Test: Manually tested using Exo. Open appliction(e.g.Calculator) on
Exo virtual display, and tapping on the phone's recents to bring the
application back to phone.
The demo video https://drive.google.com/file/d/1JMncvsI-VPosK4ql2xeVA8csVAF7Rb16/view?usp=sharing&resourcekey=0-PYRw1k3KdtY0-KZNo6OqjQ
Change-Id: Iaed5aed4d698b71b0d0fc2b78843f4aedd586ecb
2021-08-18 04:34:08 +00:00
TreeHugger Robot and Automerger Merge Worker
9082490cd9
Merge changes Ibc81d80b,I51d99207 into sc-v2-dev am: 89d3f7d12a am: 5df63f61b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15589042
Change-Id: I6bd2bfdca1e8885783ec80bd16d9417a76b8b05d
2021-08-18 01:27:18 +00:00
Vinit Nayak and Automerger Merge Worker
5bfc125bde
Merge "Add GroupedTaskView for gestures in staged split." into sc-v2-dev am: ca1d523734 am: 7afaf2731e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467633
Change-Id: If6bd74213f1da7a4a76e42fb4c5e44b36b14edf8
2021-08-18 01:24:56 +00:00
vadimt
bc79473313
Logging for Nexus home activity appearing after to-home gesture in L3.
...
Utilities.IS_RUNNING_IN_TEST_HARNESS is used as a condition
for logging in the background NexusLauncher where sDebugTracing is
not set.
Bug: 192018189
Test: presubmit
Change-Id: Ib08656a12c778b7bf968532e3ba899a03031fd7b
2021-08-17 18:13:50 -07:00
TreeHugger Robot and Android (Google) Code Review
89d3f7d12a
Merge changes Ibc81d80b,I51d99207 into sc-v2-dev
...
* changes:
Don't draw taskbar background during gestures
Draw rounded corners above the taskbar
2021-08-18 00:05:13 +00:00