Commit Graph
87505 Commits
Author SHA1 Message Date
Sunny Goyal 5c18d07d6e Merge "Removing RemoteTransitionCompat and related wrappers" 2022-11-02 23:40:22 +00:00
Android Build Coastguard Worker f36aa4ffbe Snap for 9248884 from ccc8e9fcf4 to tm-qpr2-release
Change-Id: Id53a94e60f2dc011dc38b6e784e92cc3366bb085
2022-11-02 23:25:31 +00:00
Sebastián Franco c55ec5c580 Merge "Return the right radius to start reorder when dragging a Widget" into tm-qpr-dev am: ef24d5954c am: 251567d87b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20317221

Change-Id: I4b2aa1a6b453f79655edfa546be8041850100ab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 22:21:47 +00:00
Holly Sun a793fc6e2c Bring up IME and focus on input when scroll to top.
Do this behind a feature flag AND only when "Always show keyboard" is selected or in prefix state.

Bug: 218846025
Test: keyboard shown when swiping up for QSB and AA+ (both main and work). Keyboard not shown when either the feature flag or Always show keyboard is disabled.
Change-Id: I3df2e0e44a8313eaf749cd6b91b7f9d0b9b80ec3
2022-11-02 15:19:23 -07:00
Sebastian Franco 4a92267d1d Making code more readable by removing global variable used for optimizations
Using the stack was more efficient because it prevented the creation
of new rectangles but it makes the code harder to read and prone to
bugs if the global state of the stack of rectangles gets corrupted
in any way.

When this optimization was written in 2008 it was necessary but now I
don't think it would have a big impact. The stack size is on average
of 30 and the rectangles are only created when doing the reorder which
runs about once per second if the user moves the finger too quickly.

Bug: 188081026
Test: atest ReorderWidgets
Change-Id: I35d8ee8d92f01035e72fe5763a7de47f4b6a73de
2022-11-02 22:10:14 +00:00
Sebastián Franco 251567d87b Merge "Return the right radius to start reorder when dragging a Widget" into tm-qpr-dev am: ef24d5954c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20317221

Change-Id: I4d0343b12e67e11b0b4fc2a4e5d017f7cfdeeae4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 21:49:34 +00:00
Sebastián Franco ef24d5954c Merge "Return the right radius to start reorder when dragging a Widget" into tm-qpr-dev 2022-11-02 21:19:44 +00:00
Saumya Prakash f70e339dfc Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev am: ccc8e9fcf4 am: c8964d66a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342916

Change-Id: I051cbfe6c23c6242fa54e9bf223cd5645efbc744
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 19:42:17 +00:00
Vinit Nayak 6f4090cee1 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev am: 626f322343 am: b7e684ecc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20259172

Change-Id: Ib9868ddc73158998c4000429faa966d32fc1b211
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 19:41:54 +00:00
Sunny Goyal 39b07fd66c Fixing background jump when closing a widget
We do not add background animation when opening target is translucent
Added additional check to not animate background if launcher is not
closing (which is already a subset of all-targets-translucent)

Also removing reverse background animation from widgets, similar
to app-icons as it is never added for launcherNotClosing path

Bug: 242379946
Test: Added translucent activtiy and widget and verified manually
      that the behavior does not change
Change-Id: Icda8007c0063295bf8431c00a0f0b665ecdef109
2022-11-02 19:17:18 +00:00
Saumya Prakash c8964d66a7 Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev am: ccc8e9fcf4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342916

Change-Id: I540d79b259a7d306496882a460984f11ac98a234
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 18:56:37 +00:00
Vinit Nayak b7e684ecc8 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev am: 626f322343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20259172

Change-Id: Id93c88d1125df4f515bcb66a64b5a739e8d090e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 18:56:24 +00:00
Saumya Prakash ccc8e9fcf4 Merge "Removed disabled overview actions at end of scroll" into tm-qpr-dev 2022-11-02 18:30:21 +00:00
Vinit Nayak 626f322343 Merge "Disable Drag from Taskbar in Overview" into tm-qpr-dev 2022-11-02 18:26:02 +00:00
Jon Miranda 575d699edc Revert "Revert "Add a way to stash/unstash transient taskbar.""
This reverts commit afc3bff10b.

Reason for revert: fixing launcher tests broken by original change

We'll only add flags for transient taskbar case

Bug: 256988243
Bug: 256987492
Change-Id: I8915ef5345816316bfb71efc9fc667e4e8db824c
2022-11-02 11:07:27 -07:00
Sunny Goyal 4ae92e7f0a Merge "Updating AIDL interface and removing unused methods" into tm-qpr-dev am: e553fe8aa0 am: f2da8ed777
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20275261

Change-Id: Idc80a3bc38dd492b9c9301089fa0c46cb2441ce4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 18:04:26 +00:00
Alex Chau 5dfd939d41 Reland "Add logs for InvariantDeviceProfile.getDeviceProfile"
This reverts commit b065b4b05a.

Bug: 253338238
Change-Id: Idea32130c8ec535f848ded5cff0269d97ea064e2
Test: manual
2022-11-02 17:40:05 +00:00
Sunny Goyal f2da8ed777 Merge "Updating AIDL interface and removing unused methods" into tm-qpr-dev am: e553fe8aa0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20275261

Change-Id: If2aec9f8aa9c3efd73c0442965885f3d72e48b37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 17:28:59 +00:00
Tony Wickham 0d3f247ac6 Merge "Decrease TAPL All Apps scrolling flakiness" into tm-qpr-dev am: 6b32ce07b1 am: cbfc9a1f0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19560161

Change-Id: Ia4c7f142e2263361ae7d9d0b03735956adb8aa81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 16:57:47 +00:00
Sunny Goyal e553fe8aa0 Merge "Updating AIDL interface and removing unused methods" into tm-qpr-dev 2022-11-02 16:43:23 +00:00
Tony Wickham cbfc9a1f0b Merge "Decrease TAPL All Apps scrolling flakiness" into tm-qpr-dev am: 6b32ce07b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19560161

Change-Id: I01104af26034497aa989b81e856495aa1454f9e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 16:25:32 +00:00
Tony Wickham 6b32ce07b1 Merge "Decrease TAPL All Apps scrolling flakiness" into tm-qpr-dev 2022-11-02 15:39:45 +00:00
Yasan Ghaffarian 56236939b3 Update Crowdin Action version (1.5.0) 2022-11-02 16:47:13 +03:30
Yasan GhaffarianandDaria Hamrah Paytakht a120fe5eef Fix default value of workspaceTextColor
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-11-02 15:07:24 +03:30
Sam Dubey 56948b2d59 Merge "Revert "Add a way to stash/unstash transient taskbar."" into tm-qpr-dev am: de5d5720a1 am: 1e16a3dd4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20348768

Change-Id: Idd83e21d613fb5c55ad11f66b691d370dfb6561d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 11:33:05 +00:00
Sam Dubey 1e16a3dd4c Merge "Revert "Add a way to stash/unstash transient taskbar."" into tm-qpr-dev am: de5d5720a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20348768

Change-Id: I69473abb68aa6763568d2e318378d442ac5142ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 10:30:34 +00:00
Sunny Goyal 4393a125a3 Merge "Updating widget prediction handling:" into tm-qpr-dev am: 04356a26c3 am: 69a7ad6097
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20312120

Change-Id: I62f3d68bdb369cc296003bad7a2b668b04427787
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 10:04:17 +00:00
Sam Dubey de5d5720a1 Merge "Revert "Add a way to stash/unstash transient taskbar."" into tm-qpr-dev 2022-11-02 10:03:06 +00:00
Sunny Goyal 69a7ad6097 Merge "Updating widget prediction handling:" into tm-qpr-dev am: 04356a26c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20312120

Change-Id: Ib62a982fffc72968a741e0e07c5dc3cfdfd19088
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 09:19:01 +00:00
Sam Dubey afc3bff10b Revert "Add a way to stash/unstash transient taskbar."
This reverts commit 6163e2d39f.

Reason for revert: Part of Platinum+DM rotation for testing as likely culprit for breaking launcher tests on tablet. Won't be commited until proven otherwise.

Bug: 256988243
Bug: 256987492
Change-Id: I21b3561f489e17c48131d2223a7d90267968232f
2022-11-02 09:16:55 +00:00
Yasan GhaffarianandDaria Hamrah Paytakht da11a1f395 Workspace text color selection
Fixes #2759

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-11-02 11:54:55 +03:30
Sunny Goyal 04356a26c3 Merge "Updating widget prediction handling:" into tm-qpr-dev 2022-11-02 08:21:20 +00:00
Jon Miranda b5014334fa Merge "Add a way to stash/unstash transient taskbar." into tm-qpr-dev am: b95c4ff849 am: b5e32c7394
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20223508

Change-Id: Ifd7e795514081b20cd80661becf7aa98a8d683fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 07:30:00 +00:00
Jon Miranda b5e32c7394 Merge "Add a way to stash/unstash transient taskbar." into tm-qpr-dev am: b95c4ff849
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20223508

Change-Id: I7c80ecc891320543f1296cbe5ce07f2665f31c52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 06:33:19 +00:00
71a1dee276 Icon shape sharing via clipboard (#3067)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-11-02 09:28:21 +03:30
Jon Miranda b95c4ff849 Merge "Add a way to stash/unstash transient taskbar." into tm-qpr-dev 2022-11-02 05:02:22 +00:00
Sunny Goyal b4f2568c69 Removing RemoteTransitionCompat and related wrappers
Bug: 221961069
Test: Presubmit
Change-Id: Ib93640d27a9eb0401882574e37b466163dafa5b3
2022-11-02 02:51:36 +00:00
Sunny Goyal 3c7054f0d2 Updating widget prediction handling:
When handling widget prediction, first match the full provider names
Only if no widgets are found, match any widget in the package

Bug: 256202399
Test: atest WidgetsPredicationUpdateTaskTest
Change-Id: I5337618d935f8b926803aeefede46059545de72d
2022-11-02 02:24:21 +00:00
Android Build Coastguard Worker 603bfe4223 Snap for 9243198 from 4cf1079441 to udc-release
Change-Id: I4ae87ee7da037aade06457568387e16bed80c14c
2022-11-02 01:26:33 +00:00
Sebastián Franco e4e5c1e3be Merge "No code changes, this cl only reorganizes the functions" into tm-qpr-dev am: 1b14a73223 am: 3b559eb5f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20305602

Change-Id: I0eb81eb6e997d72dd7f665630a9e18e81d43cd50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:51:36 +00:00
TreeHugger Robot dad4f51927 Merge "Grant Launcher permission to access AppSearch" into tm-qpr-dev am: ffc6c63a32 am: f78913f655
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20329473

Change-Id: I3d8d041440bd36fd6df329e1ac7361532d724fc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:51:21 +00:00
Sebastián Franco 3b559eb5f6 Merge "No code changes, this cl only reorganizes the functions" into tm-qpr-dev am: 1b14a73223
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20305602

Change-Id: Ie2d8b2774892813f52f99c72ae95f621ad8e9d07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:18:12 +00:00
TreeHugger Robot f78913f655 Merge "Grant Launcher permission to access AppSearch" into tm-qpr-dev am: ffc6c63a32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20329473

Change-Id: I2ba8781119d08aef05d6da2d12f8cccad551d97e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 00:17:38 +00:00
Sebastián Franco 1b14a73223 Merge "No code changes, this cl only reorganizes the functions" into tm-qpr-dev 2022-11-01 23:43:30 +00:00
TreeHugger Robot ffc6c63a32 Merge "Grant Launcher permission to access AppSearch" into tm-qpr-dev 2022-11-01 23:41:37 +00:00
Vinit Nayak 406bc6f247 Disable Drag from Taskbar in Overview
* Still need to disable drag from all apps in overview
* Disallow any taskbar icon long click when in split select

Bug: 251747761
Test: Drag from hotseat and predicted icons in overview,
snaps back to position

Change-Id: Ib9b068e4914b9197614c8e8f49b7899bb964f92b
2022-11-01 16:29:28 -07:00
Android Build Coastguard Worker 4929a5e2bb Snap for 9243084 from 0c853991fd to tm-qpr2-release
Change-Id: I1b3c5a7d13792caa7fd8bdc3791f9e0da3d84b3e
2022-11-01 23:25:39 +00:00
Jon Miranda 6163e2d39f Add a way to stash/unstash transient taskbar.
- Adds threshold to show taskbar during swipe
- Introduces FLAG_STASHED_IN_APP_AUTO flag
- Adds logic for taskbar to auto hide based on time
  and touch

Bug: 252905206
Test: manual
Change-Id: I070cd619487fdd4498a988ae5aadce6dd14313f7
2022-11-01 16:03:01 -07:00
Jeremy Sim 22432cc96a Merge "Change tablet split confirm timing slightly" into tm-qpr-dev am: eb88b517a6 am: 0a605bd39d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20307061

Change-Id: I649ff309370c2c3ffcc86137f14733d22797f1cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 21:56:31 +00:00
Saumya Prakash 12731af30d Removed disabled overview actions at end of scroll
Updated visibility of the overview action bar so that when viewing
the clear all button at the end of the tasks it becomes hidden.
Previously, the overview actions were disabled so they were not
usable anyways. Updated the corresponding tests because expected
behavior was changed.

Test: Manual
Fix: 230508197
Change-Id: I64c91c682009808690d696032ffadefc86dfbac9
2022-11-01 21:49:19 +00:00