Commit Graph

61745 Commits

Author SHA1 Message Date
Treehugger Robot dd49e121ab [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 1b4cb3e3ff -s ours
am skip reason: subject contains skip directive

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

Change-Id: I682fc6d06494b85233ac5f8901f0540e13998baa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:10:42 +00:00
Bill Yi c0bd83f12d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 910452d656 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id3d5cd9928362ad6190413d5edeb40e602751a99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:10:30 +00:00
Treehugger Robot 1b4cb3e3ff Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-08-25 07:25:26 +00:00
Bill Yi 910452d656 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib7ffabb4c7b7019a4acae3a72664b87240233fd9
2023-08-23 14:35:06 -07:00
Luca Zuccarini 064b3cda52 Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-dev am: c0891e5e0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24224609

Change-Id: I5d08083f3aef2141fe561b5e3eab5b005a434ac4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 11:33:06 +00:00
Luca Zuccarini c0891e5e0d Merge "Animate depth from the right value on Taskbar All Apps launches." into udc-dev 2023-08-21 11:01:10 +00:00
Treehugger Robot c4b806d54e Merge "Fix return condition in getWorkspacePageTranslationProvider" into udc-dev am: d756203fa7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24314473

Change-Id: I771c1e7f05edd57bd88b714bd864404152914b4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17 06:50:28 +00:00
Treehugger Robot d756203fa7 Merge "Fix return condition in getWorkspacePageTranslationProvider" into udc-dev 2023-08-17 05:42:09 +00:00
Treehugger Robot 277bd94370 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 06677beec0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2ff394e167ec428e7589dcc6535c06fe9cefb759
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 17:29:39 +00:00
Bill Yi 49fa9b4a01 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdbc1a0cf -s ours
am skip reason: subject contains skip directive

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

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

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

Change-Id: I3dcbb7a714569fadf6c385dfb9c5461c91b96d0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-16 17:29:12 +00:00
Treehugger Robot 06677beec0 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-08-16 16:33:51 +00:00
Bill Yi dabcd0f326 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iad116b9472e2c75b0fc5424aec475891334a7df5
2023-08-15 09:46:45 -07:00
Bill Yi efdbc1a0cf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ac6ce68a6a55b1326fcbe1dd90c43beb4df0deb
2023-08-15 09:45:09 -07:00
Bill Yi 32245a7ce3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours am: 39a0822389 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7883779a6803d0306fc0aeca949d9c03a337e867
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:57:35 +00:00
Bill Yi 39a0822389 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 19e80fd3e1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I46480725d054efd82e8a465ccc6b570686263bd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 07:11:17 +00:00
Sunny Goyal 033e9a93de Merge "Log appear animation's scale factor" into udc-dev am: 7a080a7e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24154592

Change-Id: Ief8d0c7c160b13ee5cf74e529d3b0ce54f134dec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04 20:44:22 +00:00
Sunny Goyal 7a080a7e0f Merge "Log appear animation's scale factor" into udc-dev 2023-08-04 20:13:43 +00:00
Bill Yi 19e80fd3e1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cab0c87deec793f9deb39d01005d9a90e8d5d8b
2023-08-03 21:56:44 -07:00
Fengjiang Li 2303acd7d4 Log appear animation's scale factor
Test: Grabbed a bug report b/291974797
Flag: N/A
Bug: 290320302
Change-Id: Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf
Merged-In: Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf
2023-08-03 14:25:00 -07:00
Alex Chau 4bfc0ee720 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
(cherry picked from commit c325c686c7)
2023-08-03 18:58:58 +00:00
Sunny Goyal 9e7bfae98c 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: I75ef7d5e11cf7ffdb18bef5f93df7a298d96d539
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 21:36:21 +00: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
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
Sebastián Franco ee574854c7 Disable FOLDABLE_SINGLE_PAGE am: 8d606e89d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24231346

Change-Id: I3fbe897e1627ee7a07e10e8758864e466104d60a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 16:59:29 +00:00
Sebastián Franco 8d606e89d3 Disable FOLDABLE_SINGLE_PAGE
The functionality should go back to the same as with phones.
There shouldn't be issues with the reorder or similar behavior since we
are switching form using the MultipageCellLayout to the regular
CellLayout.

The things we need to pay attention to is the the behavior of having two
panels like adding the right number of panels when loading (folding, unfolding and rotating).

Bug: 291822492
Change-Id: I903873e32f35c5ee9e0f3da8581a37d4087d021f
Test: ReorderWidgets
Merged-In: I903873e32f35c5ee9e0f3da8581a37d4087d021f
2023-07-28 22:16:52 +00:00
Bill Yi 8425b7bc58 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: c78664766e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I18431283d08939f3f574e2fc599bd4b929c66e09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:18:29 +00:00
Bill Yi 78d1ecd2fa [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efdab72c00 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iac2960ef3313270fc57c6141281c30d881208c9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:18:15 +00:00
Treehugger Robot 743c7bcc13 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 6fed3c88c4 -s ours am: b14567e102 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4c6f35bf6db0caa4744d875b089683d526cba58c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:02:24 +00:00
Bill Yi dcb8d8d361 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8cca7c8cb -s ours am: d87d21baa3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I25e8fbaab2e40aa9c3432590cfb9d0cfe0d50e85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 20:02:18 +00:00
Bill Yi 04ac2f0fe6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7350b79bfb -s ours am: 2a2b8fe6f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I19e0d0382836995791a6b1661df738a793b38b7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:59:34 +00:00
Bill Yi c78664766e Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-07-27 19:21:11 +00:00
Treehugger Robot b14567e102 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 6fed3c88c4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icd2980a367f1e9e23f802fc92762ce02c22b64ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:20:02 +00:00
Bill Yi d87d21baa3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d8cca7c8cb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9f85944234447dd5eee42b3a372a6817d11a78a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:19:51 +00:00
Bill Yi 2a2b8fe6f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7350b79bfb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I53f6ddba02bbc6fbb8fa8227e6f304a5201d8a11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 19:05:13 +00:00
Treehugger Robot 6fed3c88c4 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-07-27 18:23:30 +00:00
Luca Zuccarini 3e91646d12 Animate depth from the right value on Taskbar All Apps launches.
`MyDepthController` in `QuickstepTransitionLauncher` assumes that we
want the background to always animate the same way, matching the rest
state of the workspace (depth == 0). However, in Taskbar All Apps the
background is visible, and depth != 0. We now initialize the one-off
`DepthController` for launches to take into account the latest depth set
by the top level `DepthController`, so there is no jumpcut at the
beginning of the animation.

Note that in my opinion we should use the same `DepthController` for all
cases, rather than having this one-off. I'm looking into the feasibility
of that change, but for now this fixes the issue at hand.

Fix: 292959100
Flag: N/A
Test: manual, see videos in the bug

Change-Id: Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca
(cherry picked from commit 627d67549f)
2023-07-27 13:33:21 +00:00
Bill Yi 7350b79bfb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I96cce710ae4548fa8f50f996e2f4528ce35c6840
2023-07-26 08:01:31 -07:00
Bill Yi d8cca7c8cb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ica6034d7c219f6275ea2110d1689a15fa34c69c5
2023-07-26 07:59:31 -07:00
Bill Yi efdab72c00 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e2edca61ed43c235d0ad175d9c763f137a1858d
2023-07-26 07:58:46 -07:00
randypfohl 64d723f6a7 Removing obsolete call to start home activity with shell transitions am: 2b3dc6f730
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24156953

Change-Id: I4662a1133716fce5861e899859784848e5daec2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 19:12:09 +00:00
randypfohl 2b3dc6f730 Removing obsolete call to start home activity with shell transitions
- The second start activity was causing issues with 3p launchers which
  may not expect another new intent (ie. if it handles gestures at
  the bottom of the screen).  We can't completely remove this logic
  because for button navigation we don't want to fall through to the
  launch-next-task animation below, but we can can continue to
  finish the recents animation immediately.
- With shell transitions, leashes for opening apps are always hidden
  by default so when transitioning to a 3p launcher from
  RecentsActivity we also need to show the surface if we want to
  animate it in

Bug: 289609734
Test: Set 3p Launcher as default, in both gesture & button navigation
      - Go from 3p home -> overview, then overview -> 3p home
      - Go from app -> 3p home
      - Go from app -> overview, then overview -> 3p home
      - Quickswitch from app

Change-Id: I6875083931de63a8097d23d180553885ed7cfb01
Signed-off-by: Winson Chung <winsonc@google.com>
2023-07-21 04:20:29 +00:00
Federico Baron b3547a9940 Merge "Fix inability to remove or interact with folder when removing 2nd item from folder" into udc-dev am: 8002897694
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24056558

Change-Id: I393a4db45cb5ea2c6f53e849ec4985f8a9510b5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 17:58:43 +00:00
Federico Baron 8002897694 Merge "Fix inability to remove or interact with folder when removing 2nd item from folder" into udc-dev 2023-07-17 17:11:26 +00:00
Sebastián Franco 42bfee4120 Merge "Creating a correctly populated mOccupied grid when reordering on foldables" into udc-dev am: be4a43c1d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24060456

Change-Id: I7b2ab67ba66910179e5c2a5f101faf9c23112880
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 23:49:50 +00:00
Sebastián Franco be4a43c1d9 Merge "Creating a correctly populated mOccupied grid when reordering on foldables" into udc-dev 2023-07-14 22:43:16 +00:00
TreeHugger Robot be51ef5ad2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c9bbee3d32 -s ours am: cbd5c73dc9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1421d27b017af5f970195960496dea7c42200979
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 20:00:09 +00:00
Bill Yi 27853a51bb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 761745611d -s ours am: e247b07ee4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I024e864b86ea423705791bb6295fd0cd89b7aad7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 20:00:07 +00:00
Bill Yi 8069eb0f0c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dff0eb0871 -s ours am: b916d92ef5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2ba31c8537693722d9f48ecba092770ca6320645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 19:32:22 +00:00
TreeHugger Robot cbd5c73dc9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c9bbee3d32 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9d616e44ccfc66a17dac1b207e8605a3b2229fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 18:49:46 +00:00