Commit Graph

6193 Commits

Author SHA1 Message Date
Tony Wickham
7f1f42ffb0 Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev am: 3cc2f46ca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14792890

Change-Id: Ie5ef2aff3414a85e0cd855e0bda04610f5c74c30
2021-06-01 23:41:00 +00:00
TreeHugger Robot
5d6c6a8727 Merge "Task Overlay - refresh task overlay on size change." into sc-dev am: a357d6da6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757953

Change-Id: I7a3520045fad9eb54b7a371ea829ff200fa636c6
2021-06-01 23:40:53 +00:00
TreeHugger Robot
f5af5ce11f Merge "Revert "Add haptic feedback to Launcher recent apps scrolling"" into sc-dev 2021-06-01 23:39:39 +00:00
Tony Wickham
3cc2f46ca8 Merge "Fix duplicate depth animations when swiping from overview to home" into sc-dev 2021-06-01 23:17:36 +00:00
TreeHugger Robot
a357d6da6d Merge "Task Overlay - refresh task overlay on size change." into sc-dev 2021-06-01 23:15:25 +00:00
Wale Ogunwale
0e25d2eba8 Revert "Add haptic feedback to Launcher recent apps scrolling"
This reverts commit b1ef5e5c55.

Reason for revert: b/182382085#comment4

Change-Id: I001944da64dc05324b14cc9dd3db5921faf8806c
Bug: 182382085
2021-06-01 22:10:18 +00:00
TreeHugger Robot
c3629c8e9c Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev am: b13200c6b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14735875

Change-Id: Icea54a23541cdd1791d9adc1c5dde67bbd6583c9
2021-06-01 21:31:25 +00:00
Vinit Nayak
6ea5f721e5 Adjust task menu text size and colors
Fixes: 189855320
Fixes: 189855322
Change-Id: I0df4109f91ab09211b3cb5f3d18ad7374fa3f68c
2021-06-01 14:24:42 -07:00
TreeHugger Robot
b13200c6b1 Merge "Cleanup state properly when interacting during gesture nav transition" into sc-dev 2021-06-01 21:02:29 +00:00
Tony Wickham
950388bf0e Fix duplicate depth animations when swiping from overview to home
- Add SKIP_DEPTH_CONTROLLER in OverviewToHomeAnim if WorkspaceRevealAnim is used, because WorkspaceRevealAnim already handles the depth.

Test: visual, and also log to ensure we only get one call to DepthController#setStateWithAnimation()
Fixes: 189060172
Change-Id: Ifb4ff3278272b3e98b4cf43bf94d6e108921ea80
2021-06-01 13:56:00 -07:00
Vinit Nayak
91dca0f282 Initial commit of rotation contextual button.
UI fixing todo: b/187754252

Bug: 180046394
Test: Works in basic cases with on home and
in app taskbar.

Change-Id: I69985b57e38a9fdb7935fcafb097b1e6da73a6b9
2021-06-01 13:16:48 -07:00
Jonathan Miranda
121587eb13 Merge "Update launcher content animation to spec." into sc-dev am: cdc73b512e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14757888

Change-Id: If73328d6c5a4827052ff0d7652c5002ccfc5d365
2021-06-01 19:52:05 +00:00
Jonathan Miranda
1676ef9700 Merge "Turn off app close flag, Revert back to R implementation." into sc-dev am: d8035e1821
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14750661

Change-Id: Iee90e5897e98c8e06ea957c0b5f8418936c7d866
2021-06-01 19:52:01 +00:00
Alex Chau
5081182bcb Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev am: 5e13d36cba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14683793

Change-Id: I9af64949edc129c53ab6ef202d3e2423a92837da
2021-06-01 19:51:36 +00:00
Jonathan Miranda
cdc73b512e Merge "Update launcher content animation to spec." into sc-dev 2021-06-01 19:24:33 +00:00
Jonathan Miranda
d8035e1821 Merge "Turn off app close flag, Revert back to R implementation." into sc-dev 2021-06-01 18:18:38 +00:00
Lucas Dupin
6e50860616 Set blur on effect layer during app launch
Test: manual
Fixes: 189207458
Change-Id: I8fabba92c6831c2fd54fe08156fc9a9b5d141a56
2021-06-01 11:07:17 -07:00
Alex Chau
5e13d36cba Merge "Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up" into sc-dev 2021-06-01 17:54:41 +00:00
zakcohen
7ce8f57530 Task Overlay - refresh task overlay on size change.
The task overlay should be refreshed on size change for rotation changes.

Bug: 187515688
Test: Local
Change-Id: I1a4fa6bfbc66b9d24cfa906184bdefb9067db5ae
2021-06-01 17:34:06 +00:00
Bill Yi
ba1e4e7a14 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I896fae3bbf2b553b8e2bf44439f74237f074525e
2021-05-31 10:53:35 +00:00
Bill Yi
a4adcbc8ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaa324a8b618f499da8f48f819efec176e124e85
2021-05-31 10:53:02 +00:00
TreeHugger Robot
af44c7f976 Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620

Change-Id: I65d94d520827ed3a9ed586853a6b533fdbf43fd4
2021-05-28 06:00:09 +00:00
TreeHugger Robot
e1a5d6bb1b Merge "Force initialize task stack callback for gesture modes on init" into sc-dev 2021-05-28 05:31:03 +00:00
Jon Miranda
5df1fa5031 Update launcher content animation to spec.
- Scales content
- Fades in scrim

Bug: 177264697
Test: manual
Change-Id: Ie60908b6c417d94f1e075ea9728bd48eea55083e
2021-05-27 22:21:30 -07:00
TreeHugger Robot
1349db5daf Merge "Adding more diags for WellbeingModel" into sc-dev am: db6b24a001
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706421

Change-Id: Ic6b3838c60b9c4040cb3a25ec1deedaaf1acd3b2
2021-05-28 02:36:55 +00:00
TreeHugger Robot
db6b24a001 Merge "Adding more diags for WellbeingModel" into sc-dev 2021-05-28 02:12:42 +00:00
Vinit Nayak
23aa129016 Force initialize task stack callback for gesture modes on init
This handles an edge case where RotationTouchHelper#mMode starts as 3 button (by default)
* then changes to gesture nav.
* then onDestroy called
* then on re-initialization mMode will be gesture nav instead of 3-button
(it maintains state because of it being singleton).

The check to register the callback won't happen because we register only if previous mode and
current mode differ.
Don't rely on default value of mMode being 3 button when initializing

Bug: 181928969
Test: Followed repo steps in bug.
Restarted phone in all 3 nav modes and verified
expected quickswitch behavior

Change-Id: I381eba7417c4cde593edf4b9a34da55b50774e98
2021-05-27 19:01:09 -07:00
TreeHugger Robot
30adb97c13 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 22:28:57 +00:00
Jon Miranda
62769f10d7 Turn off app close flag, Revert back to R implementation.
Need more time to experiment with interpolated + springs based approach,
will aim for QPR instead.

Bug: 189120868
Bug: 173107751
Test: manual
Change-Id: I5698bd61c92b4fa719d82f2553125fc7f65b5969
2021-05-27 15:14:52 -07:00
Samuel Fufa
b53a58288a Merge "Remove AllApps prediction edu" into sc-dev am: bd883ea788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682074

Change-Id: Ic51e0fecefab7e8494d012ec4b082c2212550edc
2021-05-27 11:31:02 +00:00
Samuel Fufa
bd883ea788 Merge "Remove AllApps prediction edu" into sc-dev 2021-05-27 11:02:49 +00:00
Jason Chang
0a79857e1d Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev am: 9bc712f267
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14527644

Change-Id: Icf6393dd187c350aa144d421721a778f7a45bcf5
2021-05-27 06:00:07 +00:00
Jason Chang
9bc712f267 Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev 2021-05-27 05:31:13 +00:00
TreeHugger Robot
6b4fa91035 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-27 04:16:18 +00:00
Bill Yi
64543c0dad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e5ee682ed5b52d4c97164bb195934a3a03653b3
2021-05-27 02:30:30 +00:00
Bill Yi
1817a5717f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6b5cd6be5d7f2b4519dc0fa589df88ea5e6b3139
2021-05-27 02:29:56 +00:00
Josh Tsuji
b7735b450e Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev am: bdb4ed711c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471950

Change-Id: I4812a5728ec39d06aab9350780f86600133555fb
2021-05-27 00:49:58 +00:00
Josh Tsuji
bdb4ed711c Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev 2021-05-27 00:29:01 +00:00
Winson Chung
cfda5b44bf Merge "Add missing call to finish the home animation" into sc-dev am: 9b45bce963
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14729812

Change-Id: I3035f8f9176c97e3b28d82d25969b9ddf3d74b33
2021-05-27 00:20:11 +00:00
Winson Chung
9b45bce963 Merge "Add missing call to finish the home animation" into sc-dev 2021-05-27 00:00:34 +00:00
Winson Chung
45ecd6aa7d Add missing call to finish the home animation
- This reset the task view's show-screenshot state to show the
  snapshot the next time the task view is visible

Fixes: 186143625
Test: Enter pip w/ autoenter pip app, swipe up to overview
Change-Id: I6a1ec3d0654a33b228f97a6009145450e72e8d48
2021-05-27 00:00:24 +00:00
TreeHugger Robot
3bc3f99052 Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14704506

Change-Id: I81fa5c0d7b9ab73d267e2e1083882854492fbaf1
2021-05-26 22:30:09 +00:00
Tony Wickham
f8d731a808 Cleanup state properly when interacting during gesture nav transition
When the transition is canceled (e.g. when touching the nav bar during the transition), do the following:
- Abort the RecentsView scroll including the edge effects to ensure we get onSettledOnEndTarget() immediately.
- Jump to the current gesture end target state instead of the default rest state.

Test: Swipe up and to the left and hold to go to overview from an app, then swipe up to home during the transition; ensure that the touch down goes to overview rather than home, and subsequently that the swipe is respected and goes to home
Fixes: 189142339
Change-Id: Ie1d7dd05f45ab48968df7fdfd69fa1e1dda36d06
2021-05-26 15:28:38 -07:00
TreeHugger Robot
a07c2efdf6 Merge "Enable unpausing apps from the workspace." into sc-dev 2021-05-26 22:24:40 +00:00
TreeHugger Robot
66d2c4be93 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev am: d50d21b602
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722085

Change-Id: I0b5484ea3f985c9bc5c6c93c62f8ecee1ec2f9eb
2021-05-26 22:22:15 +00:00
TreeHugger Robot
d50d21b602 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev 2021-05-26 22:07:52 +00:00
TreeHugger Robot
e8eccdb81c Merge "Update colors for Digital Wellbeing Toast." into sc-dev am: 3558f084f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14737897

Change-Id: I3b57f1a24b2f52ac619d634176bc71720ae0d5ae
2021-05-26 20:20:08 +00:00
TreeHugger Robot
3558f084f3 Merge "Update colors for Digital Wellbeing Toast." into sc-dev 2021-05-26 20:05:48 +00:00
Schneider Victor-tulias
9909544c8a Update gesture nav colors and animation for dark/light theming
- Added light mode gesture feedback animations
- Added color resources for the fake launcher wallpaper. Also using these color resources in the feedback animations for consistency
- Using fake previous app task color in feedback animations for consistency

Bug: 169687177
Test: manual
Change-Id: I1d28212e02c2ae750ce6241b64aa90f52b827c76
2021-05-26 12:34:29 -07:00
TreeHugger Robot
4daf838704 Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev am: b1858afaf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678275

Change-Id: I99c4b7a85069a187db77d8dc51c6dee532a0681b
2021-05-26 18:21:58 +00:00