Commit Graph

11086 Commits

Author SHA1 Message Date
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
Tony Wickham 1321851bfb Merge changes I6bf48141,I77b7a2e4 into sc-v2-dev am: f262591ab0 am: 9a9a93f551
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706973

Change-Id: I6b222c6875a8916d7d198c85f4e998dc31fb8873
2021-05-28 16:07:12 +00:00
Tony Wickham 9a9a93f551 Merge changes I6bf48141,I77b7a2e4 into sc-v2-dev am: f262591ab0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706973

Change-Id: I1a1e76af5f60c72d2a69ae014b0787766425f6cb
2021-05-28 15:58:47 +00:00
TreeHugger Robot 5fa1d3535e Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b am: 90e18156b5 am: 479dd8bf2a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620

Change-Id: I4c6c0c0483f6c3c65c77fbe4c068489cc08f4f46
2021-05-28 06:35:26 +00:00
TreeHugger Robot 479dd8bf2a Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b am: 90e18156b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620

Change-Id: I2000250199c9a4a23ee527b52c21639665b243a2
2021-05-28 06:13:54 +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 ba62eae0ed Merge "Adding more diags for WellbeingModel" into sc-dev am: db6b24a001 am: e162ec3d06 am: 5bf4f8d3fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706421

Change-Id: I1a41ec656842ac5cbb3f28e9aa165384ce4b2693
2021-05-28 04:08:01 +00:00
Samuel Fufa f081b14d02 Merge "Remove AllApps prediction edu" into sc-dev am: bd883ea788 am: a86a6cc097 am: ab1a95b43f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682074

Change-Id: I705fa8760e135df5c3b4e8a3dd95f8d6d34eb571
2021-05-28 04:05:21 +00:00
Jason Chang f8feb0abf3 Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev am: 9bc712f267 am: 92f45a5019 am: d46df5915f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14527644

Change-Id: I7429ea6d5fac4177b77489ffe20658b5ccab90ed
2021-05-28 04:05:12 +00:00
TreeHugger Robot 5bf4f8d3fb Merge "Adding more diags for WellbeingModel" into sc-dev am: db6b24a001 am: e162ec3d06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706421

Change-Id: I38f0477187ece99fe11429c9e1be039ad9ffa320
2021-05-28 03:30:28 +00:00
Samuel Fufa ab1a95b43f Merge "Remove AllApps prediction edu" into sc-dev am: bd883ea788 am: a86a6cc097
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682074

Change-Id: Ie3ca21e28451886c50afd2d35e504086865fd58d
2021-05-28 03:29:22 +00:00
Jason Chang d46df5915f Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev am: 9bc712f267 am: 92f45a5019
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14527644

Change-Id: I35790ebb84f2ba2c0b06a8622efb945399bab598
2021-05-28 03:29:15 +00:00
Josh Tsuji 674bcd815f Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev am: bdb4ed711c am: 07bf81d6b1 am: ef6f1f2446
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471950

Change-Id: I4f7a38cc87c0720bee515407d5f4783d84a310ac
2021-05-28 02:59:44 +00:00
Winson Chung dc639b50b4 Merge "Add missing call to finish the home animation" into sc-dev am: 9b45bce963 am: de43d21ebb am: 94aa8376c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14729812

Change-Id: I3f94fdfc3311c29c798f2279c15e9774310d8e2e
2021-05-28 02:59:32 +00:00
TreeHugger Robot cb565470d6 Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6 am: 112ab6236f am: 1de2721289
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14704506

Change-Id: I3faaab65a17c7abf49f94119dd49007f31e3c56d
2021-05-28 02:59:27 +00:00
TreeHugger Robot b56166c8f8 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev am: d50d21b602 am: e379d59e4f am: 5f8e181748
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722085

Change-Id: I520a57c47e8068b4a56265de970ec802f56c4129
2021-05-28 02:59:17 +00:00
TreeHugger Robot abd9f05843 Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev am: b1858afaf2 am: 9abd4fd726 am: 111e8a75ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678275

Change-Id: Iadbc253319b13fad2dab03b4ab67e7cdbb46d57e
2021-05-28 02:59:02 +00:00
Schneider Victor-tulias a1f5081852 resolve merge conflicts of 694b667138 to sc-dev-plus-aosp am: 1ba3704c5f am: 22310b100c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753367

Change-Id: Idf0dbcad594574cd251cd4986f00b3a65cd75549
2021-05-28 02:58:52 +00:00
Josh Tsuji ef6f1f2446 Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev am: bdb4ed711c am: 07bf81d6b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471950

Change-Id: Ib4867bd971b67da411ad0bc6227fc7edee627176
2021-05-28 02:37:50 +00:00
Winson Chung 94aa8376c3 Merge "Add missing call to finish the home animation" into sc-dev am: 9b45bce963 am: de43d21ebb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14729812

Change-Id: I93dd340312b7078f9b3c3fbbf775553238168aa4
2021-05-28 02:37:38 +00:00
TreeHugger Robot 1de2721289 Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6 am: 112ab6236f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14704506

Change-Id: I8165be64914e8402298e3d75b69be59da8755984
2021-05-28 02:37:34 +00:00
TreeHugger Robot 5f8e181748 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev am: d50d21b602 am: e379d59e4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722085

Change-Id: I1d0c313fc75d23e3d5bc20fc7552033143e837ed
2021-05-28 02:37:25 +00:00
TreeHugger Robot 111e8a75ea Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev am: b1858afaf2 am: 9abd4fd726
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678275

Change-Id: I1d44780c57cf6a93b84fd232485c306898edcba4
2021-05-28 02:37:11 +00:00
Schneider Victor-tulias 22310b100c resolve merge conflicts of 694b667138 to sc-dev-plus-aosp am: 1ba3704c5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14753367

Change-Id: Ib8467f9c2a54d55277bc57ab35ecfcd2d4022a0b
2021-05-28 02:37:02 +00: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
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
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
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
TreeHugger Robot b1858afaf2 Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev 2021-05-26 18:05:33 +00:00
Tony Wickham f262591ab0 Merge changes I6bf48141,I77b7a2e4 into sc-v2-dev
* changes:
  Taskbar drag starts internal pre-drag before system drag
  Let DragView use ActivityContext instead of Launcher
2021-05-26 17:13:49 +00:00
Lais Andrade b1ef5e5c55 Add haptic feedback to Launcher recent apps scrolling
Add light LOW_TICK effects when the scrolling on RecentsView
snaps to a page, and a stronger TICK effect when the edges
absorb the scroll (by scrolling fast towards one of the edges).

Fix: 182382085
Test: manual
Change-Id: Ifb917ae499f73607707773f9870eb39cd6fe16ef
2021-05-26 13:37:30 +01:00
TreeHugger Robot af76459cc4 Merge "Update Gesture nav tutorial." into sc-dev am: 694b667138
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669183

Change-Id: Ide38747f0b1a2bcf6f76921fb9650ee7d188dad7
2021-05-26 09:39:53 +00:00