Commit Graph

14731 Commits

Author SHA1 Message Date
Jagrut Desai 036e99d048 Merge "Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel." into tm-qpr-dev am: 4aac33824d am: dc70ea4d65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861033

Change-Id: I9be46c3a5bfa91dc707bb2257f205fa6976db0d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-11 00:02:47 +00:00
Jeremy Sim 5f8dd20236 Fix transition animations for launch-from-staged operation
This change makes it so that a smoother animation will play when the user cancels the splitscreen flow by tapping the staged app to launch the app in fullscreen. Since this was the only blocker to activating the feature, this change also enables launch-from-staged by default and removes the flag.

Fixes: 257513449
Test: Manual
Change-Id: Iabff2fc72bfcd6975d216b5cd86e0df7a772b308
2023-01-10 15:44:23 -08:00
Jagrut Desai dc70ea4d65 Merge "Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel." into tm-qpr-dev am: 4aac33824d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861033

Change-Id: I2b508ca826aa1eda8443a51bdf166871019e591c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 23:25:59 +00:00
Jagrut Desai 4aac33824d Merge "Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel." into tm-qpr-dev 2023-01-10 22:58:30 +00:00
Jagrut Desai ef35e84d19 Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel.
Test: visual(video in buganizer)

Fix:261524189, 262589756

Change-Id: I5252281025953753f9184f1b19c534513b5800fa
2023-01-10 22:57:35 +00:00
Ats Jenk 774f05226b Hide DesktopTaskView background while animating
While animating DesktopTaskView to/from fullscreen, hide the background.
Background should only show up when this taskview is shown in recents.
While it is animating, we don't need to show it.

Bug: 263264985
Test: manual, trigger transient taskbar, observe that background does
not flicker

Change-Id: I76d0eb1857645b7f04a0b2e1eebe2393c252c257
2023-01-10 11:39:17 -08:00
Alex Chau 927a806dff Merge "Add debug logs for hotseat disapperaed bug" into tm-qpr-dev am: 616de308b7 am: a2a374bdab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20883271

Change-Id: I7f448f3b0d0d610da80e7d1ffc66d408913f3ba6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 19:24:32 +00:00
Ats Jenk bc02226647 Merge "Fixes to support transient taskbar in desktop mode" into tm-qpr-dev am: 83a8dad319 am: 6fe43056f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858638

Change-Id: I6ec86947efa15a4d9f148db30124183f771040cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 19:19:46 +00:00
Alex Chau a2a374bdab Merge "Add debug logs for hotseat disapperaed bug" into tm-qpr-dev am: 616de308b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20883271

Change-Id: I0c820b11d56c43167034ff840ddb76e521f7a05a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 18:44:57 +00:00
Alex Chau 616de308b7 Merge "Add debug logs for hotseat disapperaed bug" into tm-qpr-dev 2023-01-10 18:34:08 +00:00
Ats Jenk 6fe43056f6 Merge "Fixes to support transient taskbar in desktop mode" into tm-qpr-dev am: 83a8dad319
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858638

Change-Id: Ib2e57c5d0e5e13846e240c36c9396588326c19a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 18:30:06 +00:00
Ats Jenk 83a8dad319 Merge "Fixes to support transient taskbar in desktop mode" into tm-qpr-dev 2023-01-10 18:09:16 +00:00
Shan Huang 7c2791e9d0 DO NOT MERGE Rename BackEvent to BackMotionEvent in LauncherBackAnimationController. am: 81f7d0bbf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20841553

Change-Id: I46ca2de98ffac0aaca33fd98ff3180d0b7efe5ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:20:53 +00:00
Thales Lima 3241b26430 Merge "Check kotlin format before uploading" into tm-qpr-dev am: bdfc07f1f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20883265

Change-Id: I1f211915948bd6112d605dbd6d2a6569838c1585
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:20:23 +00:00
Luca Zuccarini fb4429f0b0 Revert^2 "Update timings for the Home <> All Apps transition."
e18ac479e5

Change-Id: Id09987b2c67be70e62349574973d4bc62b10bc9d
Bug: 263221786
2023-01-10 17:05:29 +00:00
Shan Huang f43527d5df Merge "DO NOT MERGE Rename BackEvent to BackMotionEvent in LauncherBackAnimationController." into tm-qpr-dev 2023-01-10 16:46:55 +00:00
Thales Lima bdfc07f1f0 Merge "Check kotlin format before uploading" into tm-qpr-dev 2023-01-10 16:41:58 +00:00
Luca Zuccarini bbcd92caab Merge "Make LauncherAnimationRunner compatible with RemoteAnimationRunner." into tm-qpr-dev am: d23cd42875 am: 2192689237
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836635

Change-Id: Ic5f8ccc13e5ec0907dd50dac344a8ce55cef8c5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 14:48:40 +00:00
Luca Zuccarini 2192689237 Merge "Make LauncherAnimationRunner compatible with RemoteAnimationRunner." into tm-qpr-dev am: d23cd42875
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836635

Change-Id: I8ce7a076dc78912445c56a2d39369ad611631e5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 14:12:02 +00:00
Luca Zuccarini d23cd42875 Merge "Make LauncherAnimationRunner compatible with RemoteAnimationRunner." into tm-qpr-dev 2023-01-10 13:50:50 +00:00
Thales Lima 03ac377a34 Check kotlin format before uploading
This uses ktfmt on the PREUPLOAD hook to check file formatting.

Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
Merged-In: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-10 13:24:43 +00:00
Thales Lima 47a40a8bd3 Merge "Check kotlin format before uploading" 2023-01-10 13:23:59 +00:00
Thales Lima 7a3c1e10a7 Check kotlin format before uploading
This uses ktfmt on the PREUPLOAD hook to check file formatting.

Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-09 17:45:42 +00:00
Jagrut Desai aca834d085 Merge "Moving Accessibility Annoucement to Task Closed to onEnd animation callback. Test: Manual Fix: 220198279" into tm-qpr-dev am: d8ea04a7f6 am: f0c9360153
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20872232

Change-Id: I949caad9acf9aa55ac8929be42fcb0d7cfac1136
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 17:27:17 +00:00
Jagrut Desai f0c9360153 Merge "Moving Accessibility Annoucement to Task Closed to onEnd animation callback. Test: Manual Fix: 220198279" into tm-qpr-dev am: d8ea04a7f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20872232

Change-Id: Ic9f5a0e372b041c9e57121677fc3b9b387e897cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 16:51:27 +00:00
Jagrut Desai d8ea04a7f6 Merge "Moving Accessibility Annoucement to Task Closed to onEnd animation callback. Test: Manual Fix: 220198279" into tm-qpr-dev 2023-01-09 16:19:04 +00:00
Alex Chau 04658bcd42 Add debug logs for hotseat disapperaed bug
Bug: 260135164
Test: manual
Change-Id: Ic911ba0353b742feb753024543ca19930f11b47d
2023-01-09 12:43:16 +00:00
Bill Yi e6bc4f394d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia2a7ae96952c7ae4eb491671c7cfe0b0511a518d
2023-01-08 03:45:38 -08:00
Tracy Zhou c5985751c4 Swipe-up from the bar area on the home screen should pull up overview
Bug: 254783214
Test: swipe-up from the bar takes the user to overview; swipe-up from everywhere else on the home screen takes the user to all-apps
Change-Id: Ic244c580d6828261c0369cb5c812a9eb8cbec7fe
2023-01-08 00:29:37 -08:00
Vinit Nayak 1c9b42521f Merge "Improves overview split adjacent launch animation" into tm-qpr-dev am: 72b186aefd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20873328

Change-Id: I9534252aee43616154247c5e130dbc6c7336e5b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-07 01:07:52 +00:00
Vinit Nayak 72b186aefd Merge "Improves overview split adjacent launch animation" into tm-qpr-dev 2023-01-07 00:36:16 +00:00
Schneider Victor-tulias 4f41701f6f Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev am: 53808c3ed8 am: 4d5c11e4c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712690

Change-Id: Iba1dd68988714e734c1160ea85d4a8be06892147
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 19:08:43 +00:00
Schneider Victor-tulias 4d5c11e4c6 Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev am: 53808c3ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712690

Change-Id: I11e59bae451b0c66a5222276bdad8ae8b29a4ccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 19:00:49 +00:00
Schneider Victor-tulias 53808c3ed8 Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev 2023-01-06 18:38:21 +00:00
Bill Yi a01abba905 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-01-06 18:19:10 +00:00
Wei Sheng Shih 573023084b Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev am: 485c8777cc am: 63a63996a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20828500

Change-Id: Ib48f066dc9ff1e3677f5b595862a3073e6f9b1ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 12:15:47 +00:00
Vinit Nayak 3c64416769 Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev am: daffdfa35c am: 1e4e91b296
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858639

Change-Id: Ib564b8b8a77765e8e8657ed7bbdaae7d14176f82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 11:44:06 +00:00
Wei Sheng Shih 63a63996a5 Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev am: 485c8777cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20828500

Change-Id: I72175f14c7f663b5164b770d45a0376d21db37d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 04:02:50 +00:00
Wei Sheng Shih 485c8777cc Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev 2023-01-06 03:27:56 +00:00
TreeHugger Robot 29e345e3ed Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-01-06 01:58:26 +00:00
Bill Yi 6f5ae3635d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75ef387d8a3b8da1239b8ca39372a75a77435acd
2023-01-05 17:41:08 -08:00
Vinit Nayak 1e4e91b296 Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev am: daffdfa35c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858639

Change-Id: Id32dcee4a58b87a578c0f08cf6974f0512ba0b1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 22:07:34 +00:00
Vinit Nayak daffdfa35c Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev 2023-01-05 21:28:23 +00:00
Vinit Nayak da2819ed5f Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
Merged-In: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 11:54:22 -08:00
Vinit Nayak 9740ba4bf1 Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 19:53:28 +00:00
TreeHugger Robot 2c32fd8433 Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev am: c46b47853b am: 4bfdc44d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838733

Change-Id: I58567030403e0528d62da152dc6b63fa6ebc9215
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:41:34 +00:00
TreeHugger Robot 4bfdc44d2b Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev am: c46b47853b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838733

Change-Id: I318a1769220d5305f621d335de5aa657c4c89110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:08:04 +00:00
TreeHugger Robot c46b47853b Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev 2023-01-05 15:29:05 +00:00
Luca Zuccarini 3913716ece Make LauncherAnimationRunner compatible with RemoteAnimationRunner.
Nothing changes in its current usage and behavior, but instead of a
RemoteAnimationFactory we can now also pass a RemoteAnimationRunner.

Bug: 250588519
Test: manual
Change-Id: I51f5a95360401d5f17104519ef91a81aef60923f
2023-01-05 14:12:13 +00:00
Ats Jenk f6ba9499de Fixes to support transient taskbar in desktop mode
Track gesture progress in desktop visibility controller. We need to
allow launcher to resume when gesture is in progress and freeform tasks
are visible.
Update overview state handling in desktop visibility controller. When
overview is enabled, launcher should be made visible, regardless of
freeform state. When exiting overview state, check freeform state to see
what should be shown and enabled.

Bug: 263264985
Test: manual, enable transient taskbar, move app to desktop, invoke transient
taskbar
Test: manual, enable transient taskarb, enable desktop mode, invoke
transient taskbar
Test: manual, disable transient taskbar, move app to desktop, swipe up
to overview
Test: manual, disable transient taskbar, enable desktop mode, swipe up
to overview

Change-Id: I63000441d9cf72769e6efb9d247ab4112c01839d
2023-01-04 17:27:54 -08:00