Commit Graph

65651 Commits

Author SHA1 Message Date
Treehugger Robot c2f8596645 Merge changes Iafdad8f2,Ia85c1e84 into udc-qpr-dev am: c5ef96a424
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24325129

Change-Id: Id5a61cfc8163d77e847c3cf7c2600b392e975f5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:17:20 +00:00
Federico Baron 0845fcddc1 Merge "Add logs around BaseDepthController to investigate b/291401432" into udc-qpr-dev am: 410344860c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24246084

Change-Id: I3156d4a1d44ea8696f43aea3f5c05b91b28e489d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:16:22 +00:00
Bill Yi f538632e6b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 39e9688873 -s ours am: 93974f4803 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24316145

Change-Id: Id84d25e2c29f8f887d8999b337d91c3ae31bb261
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 19:55:48 +00:00
Treehugger Robot c5ef96a424 Merge changes Iafdad8f2,Ia85c1e84 into udc-qpr-dev
* changes:
  Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY
  Revert "Revert "Make AllAppsRecyclerViewContainer GONE when hidden""
2023-08-04 19:45:11 +00:00
Federico Baron 410344860c Merge "Add logs around BaseDepthController to investigate b/291401432" into udc-qpr-dev 2023-08-04 19:44:40 +00:00
Bill Yi 93974f4803 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 39e9688873 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24316145

Change-Id: If9783604a548ba1f32f4644ff47f89ac53f3c50a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 19:36:33 +00:00
Ats Jenk 57b88d018c Merge "Use window corner radius for desktop task snapshots" into udc-qpr-dev am: f00906cc3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24287698

Change-Id: Ie1cc1cf6bc47a3a15fe8b7b12e7d1c970d2a5e18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 18:25:02 +00:00
Ats Jenk f00906cc3d Merge "Use window corner radius for desktop task snapshots" into udc-qpr-dev 2023-08-04 17:55:12 +00:00
Fengjiang Li 2f2306c14b Turn off ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY
Test: Tested in ag/24107285
Bug: 264341825
Change-Id: Iafdad8f2aabe4296befc00800dc9a1fdfd58dc6f
2023-08-04 10:29:03 -07:00
Fengjiang Li 98c91a65cf Revert "Revert "Make AllAppsRecyclerViewContainer GONE when hidden""
This reverts commit a163646c7a.

Reason for revert: Re-submit with ENABLE_ALL_APPS_RV_PREINFLATION and ALL_APPS_GONE_VISIBILITY turned off in child CL (submit together)

Test: Tested in ag/24107285
Change-Id: Ia85c1e8447c45ff44814ad4bfe0f178a72d0e7d3
2023-08-04 10:28:36 -07:00
Bill Yi 39e9688873 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic65ee5796da63c3999571e23307fffec332bebfe
2023-08-03 21:56:20 -07:00
Inseob Kim 1f2a4d7c25 Merge "Revert "Make AllAppsRecyclerViewContainer GONE when hidden"" into udc-qpr-dev am: 40a44e08b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24317936

Change-Id: I22ffc61fe5d58776204f0aeea2edf3cd35124987
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 04:44:31 +00:00
Inseob Kim 40a44e08b9 Merge "Revert "Make AllAppsRecyclerViewContainer GONE when hidden"" into udc-qpr-dev 2023-08-04 04:13:28 +00:00
Inseob Kim a163646c7a Revert "Make AllAppsRecyclerViewContainer GONE when hidden"
This reverts commit df59c2e535.

Reason for revert: b/293944420

Change-Id: I0ae830e1a5ba8affb6815c9e96ffee1b20c6e8d0
2023-08-04 02:18:44 +00:00
Alex Chau e7cfae1a26 Fix return condition in getWorkspacePageTranslationProvider am: c325c686c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24308816

Change-Id: I0df5a0249578f949bab666c8f4bfb5484300636f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 16:47:01 +00:00
Alex Chau c325c686c7 Fix return condition in getWorkspacePageTranslationProvider
- When EDIT_MODE was introduced, it added a wrong condition to make it always return DEFAULT_PAGE_TRANSLATION_PROVIDER

Bug: 294228521
Test: manual
Change-Id: If970949c8ab55bc67f98f987a7654ec2db89cdfb
2023-08-03 14:38:33 +00:00
Vinit Nayak c57f20bb47 Merge "Ensure matching insets for taskbar gesture and 3 button nav" into udc-qpr-dev am: 3adfa41951
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24139629

Change-Id: I7b5fd049ab44f90cb165e92fbdb9e6da43eb7add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:20:44 +00:00
Treehugger Robot 8c0eea9491 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 42b3ff1cc9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: I48deba8c20a50c0ff61fc339d1ad5dd5fae96bf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:17:31 +00:00
Bill Yi 1af7b24a1b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: e0310ac878 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: If467628b922ec2e75ef6d4d8c35608ae98e87fa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 01:17:15 +00:00
Treehugger Robot e476249d55 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours am: 03241a5c28 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: Ic1a782996608283612cbd31efda200a1f0b21552
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:57:02 +00:00
Bill Yi a6095a8568 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours am: fa1583041d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: I1deb52f93c7fe1caa9583797c0891829ae3591fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:56:46 +00:00
Vinit Nayak 3adfa41951 Merge "Ensure matching insets for taskbar gesture and 3 button nav" into udc-qpr-dev 2023-08-03 00:49:21 +00:00
Treehugger Robot 03241a5c28 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: I9514b980302bff83afb341f92443364cd2c75a98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:29 +00:00
Bill Yi fa1583041d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: Ied34306a93542839f02ac838176699e9e0b22ccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:14 +00:00
Treehugger Robot 42b3ff1cc9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev am: 2234a8252d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: I519b7dde4ddec84da367dd0321eaa6fbd9999fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:38:02 +00:00
Bill Yi e0310ac878 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 22c51bf135 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24300134

Change-Id: Ia057c2a207c61ef3650b1c0cd35bb7c88e9d3edb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-03 00:37:46 +00:00
Treehugger Robot 2234a8252d Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-08-03 00:02:58 +00:00
Sunny Goyal d9e34b5028 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 85d1a1cea1 -s ours am: 1ba5f1e186 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: Icecc1251a1bd2545d7e5c30520a2f473553597ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:44:23 +00:00
Automerger Merge Worker f9cb748220 Merge "[automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours" into udc-qpr-dev-plus-aosp 2023-08-02 22:42:37 +00:00
Sunny Goyal 07fcbd28f5 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours am: a2a8c566b3 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: Ic2d562ffbc54a9a3a0ea4c89199cd30fe3f4ab9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:42:31 +00:00
Sunny Goyal c5fa244f58 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 am: 644d85ad0d -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I9dd30bcf7f21ba503eb4b0ddc5c2db863e265b24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:42:29 +00:00
Sunny Goyal 1ba5f1e186 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 85d1a1cea1 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I55d626474f1011a8430d7f78f147fd2e6d21d319
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:02:55 +00:00
Sunny Goyal a2a8c566b3 [automerger skipped] Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 6d756970e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I4a51f0dc07628f51694eb91641007f5704882678
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:01:26 +00:00
Sunny Goyal 644d85ad0d Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081 am: 9e10ffc553
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I9587890282eacc4cb29f626591aefedad9078208
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 22:00:22 +00:00
Sunny Goyal 85d1a1cea1 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I7fa7f4ae8e69f8ae07f1b38053d2f738c2e35726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:35:37 +00:00
Sunny Goyal 9e10ffc553 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev am: 343b896081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23447960

Change-Id: I38c903a70bb637d78403a29a468d6722269553dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:34:25 +00:00
Vinit Nayak 1fd1b68870 Ensure matching insets for taskbar gesture and 3 button nav
* WM checks that the number of insets don't change for
a given window once it's added. Previously when we changed
nav modes the window was removed and a new one was added, so
changing insets amounts/types didn't matter.
* Now that we use the same window and re-provide the insets,
the number of them provided have to match (insets values themselves
can change as much as needed)
* Fix minor bug when checking bit mask for gravity

Test: Switch between nav modes, no crash; no change in behavior
w/ flag turned off
Bug: 274517647
Flag: persist.wm.debug.hide_navbar_window
Change-Id: I750f843e8210ba1c800b61ac79664265924c054a

Change-Id: Idba4e8e1888fa58bf872c04cb042f77a8b5b0573
2023-08-02 14:21:31 -07:00
Bill Yi 22c51bf135 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I289e821ff4b091ffa506a3176f27a884e0c1dde3
2023-08-02 14:18:50 -07:00
Sunny Goyal 343b896081 Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-dev 2023-08-02 20:51:13 +00:00
Pat Manning 4e1099094b Merge "Add test to access overview app menu." into udc-qpr-dev am: a0e328abe7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24179827

Change-Id: Ib4e072a0dab12a094aa46fa757ac8af86c0da425
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 18:38:33 +00:00
Pat Manning a0e328abe7 Merge "Add test to access overview app menu." into udc-qpr-dev 2023-08-02 18:02:29 +00:00
Pat Manning ccf611234a Add test to access overview app menu.
Approved tapl DD: go/tapl-overview-task-menu-app-info

Fix: 292081139
Test: TaplTestsQuickstep.
Change-Id: Ic74267ec80b0a8c6af502a445d355f0420d8f569
2023-08-02 17:20:03 +01:00
Nick Chameyev 2e53f5ef97 [Unfold animation] Do not preemptively start the animation if it has run already
Currently if we open an app, unfold the device and then go to home
screen we will start the unfold animation preemptively in Launcher
because Launcher activity will receive updated configuration change
(where isTablet = true) only after going back to home screen, not
when unfolding the device.

This causes a problem because SystemUI won't send the unfold animation
events after going back home as the animation has already run, so we
end up with wrongly started animation in Launcher.

This CL fixes the issues by checking if SystemUI has finished the
animation (or if it is currently running) to avoid preemptive animation
start in this case. This is done by subscribing to the original
unfold transition progress provider which emits progress events
sent through IPC from SystemUI.

Bug: 285150685
Bug: 293131586
Test: open an app on folded screen, unfold, go to home screen =>
  check that icons are not squished
Test: fold/unfold when launcher is open
Change-Id: Ic437ff4d19cbd5764635f3007d99880622150f5b
Merged-In: Ic437ff4d19cbd5764635f3007d99880622150f5b
(cherry picked from commit 6d756970e7)
2023-08-02 11:41:53 +00:00
Ats Jenk 7313bc7800 Use window corner radius for desktop task snapshots
Desktop task snapshots are shown inside the desktop tile in overview.
They use the window corner radius, when shown on the desktop. Keep the
same radius for the snapshots in overview. Only the desktop tile
background should use the task corner radius.

Bug: 280827930
Flag: persist.wm.debug.desktop_mode_2
Test: open some apps on desktop, swipe up for overview, observe the
      desktop task corner radius remains the same as when on desktop
Change-Id: I55ced9f704b83a6c7619508aa3e7a8080ccc5c35
2023-08-01 14:28:06 -07:00
Vadim Tryshev facf12e4a2 Merge "Ignoring alpha jumps in ArrowTipView and its children." into udc-qpr-dev am: a1877d2888
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24249859

Change-Id: Id904683bf6ee811836f3a9ce343b303dbeac0d3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-01 20:32:04 +00:00
Vadim Tryshev a1877d2888 Merge "Ignoring alpha jumps in ArrowTipView and its children." into udc-qpr-dev 2023-08-01 19:36:54 +00:00
Vadim Tryshev 3cee271267 Merge "Detecting multiple view animation anomalies." into udc-qpr-dev am: 1e6daed881
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24246520

Change-Id: I03eef0142897f75617fb26d473a0f5834119da37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-01 18:05:14 +00:00
Alex Chau 97c9bc4160 Merge "Skip iconScale logic in responsive grid" into udc-qpr-dev am: baf96f7487
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24281931

Change-Id: I05ebb8922ad571c56f45f4177dd1bb5e057adc93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-01 18:03:17 +00:00
Ats Jenk 27dbc3cdf2 Merge "Fix tap on navbar handle when on desktop" into udc-qpr-dev am: 97c6160359
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24249852

Change-Id: I3896cde6107ed3ee26cab8260e50cefeb1dd08a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-01 18:02:52 +00:00
Ats Jenk 280f1b4169 Merge "Flag stashing desktop when going home" into udc-qpr-dev am: 342d6b9bf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24200509

Change-Id: I708fd2fb4b76001c6ee8ad8bae65f2f55c07f7bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-01 18:02:12 +00:00