Commit Graph

58436 Commits

Author SHA1 Message Date
Pat Manning a140a0b611 Add TAPL test that dismissing focused task causes next task to become
focused.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I6f29dc6e3954f1b22ce8ffdf0a83db97202caefe
2021-10-05 18:00:11 +00:00
Vinit Nayak 01e47343e6 Set SurfaceTransactionApplier on non-stale RemoteAnimationTargets
* When we create RemoteTargetHandles we create a new
RemoteAnimationTarget from the old ones, which weren't
getting their addReleaseCheck() methods called
* The old recentsAnimationTargets were having it be set on them,
however they go unused.

Bug: 199043513
Change-Id: I36317f213139435ec09997290853787e30d11e0f
2021-10-05 10:40:12 -07:00
Alex Chau 516584e648 Adjust min/max scroll according to mSplitPlaceholderSize
- RTL is not handled yet due to split select broken

Bug: 200537659
Test: Split left and split right, check if min/max scroll is correct
Change-Id: I734d890bb955601da52cd806074014ed2e7eba55
2021-10-05 17:22:05 +01:00
Samuel Fufa 0432f3d78f [automerger skipped] [Work] Fix work apps showing in personal tab am: 42b75d43fc am: 0b4487149e -s ours am: 00f02d36ab -s ours
am skip reason: Merged-In I7df5d65472703bedcc9dd688847d9ebd146d5f61 with SHA-1 42b75d43fc is already in history

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

Change-Id: I21f4d7f102931625e26b664ad1c52759af3a01bc
2021-10-05 16:14:31 +00:00
Samuel Fufa 81d4c87465 [automerger skipped] [Work] Fix work apps showing in personal tab am: 42b75d43fc -s ours am: 53ad5b1274 -s ours am: f738c6e9c4 -s ours
am skip reason: Merged-In I7df5d65472703bedcc9dd688847d9ebd146d5f61 with SHA-1 564e9ca223 is already in history

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

Change-Id: I448cfde7e83f02f20045fade27a51732f40f055d
2021-10-05 16:14:27 +00:00
Thales Lima 1de472e558 Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb am: c760160125
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000

Change-Id: I6113b9a28f0d33cdff55f3db584e853ed7f7a603
2021-10-05 16:14:19 +00:00
Samuel Fufa 00f02d36ab [automerger skipped] [Work] Fix work apps showing in personal tab am: 42b75d43fc am: 0b4487149e -s ours
am skip reason: Merged-In I7df5d65472703bedcc9dd688847d9ebd146d5f61 with SHA-1 42b75d43fc is already in history

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

Change-Id: If90f58421d8e36044211c0eb737b3de910975e09
2021-10-05 16:08:06 +00:00
Samuel Fufa f738c6e9c4 [automerger skipped] [Work] Fix work apps showing in personal tab am: 42b75d43fc -s ours am: 53ad5b1274 -s ours
am skip reason: Merged-In I7df5d65472703bedcc9dd688847d9ebd146d5f61 with SHA-1 564e9ca223 is already in history

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

Change-Id: I1b407a66c15c0b4b208950405f429fb46c841cb8
2021-10-05 15:56:20 +00:00
Thales Lima c760160125 Merge "launcher: create more space options" into sc-v2-dev am: 9a6b20f0cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15953000

Change-Id: I2a56836991153beeb1a0abbb342d5e268255976b
2021-10-05 15:55:55 +00:00
Samuel Fufa 0b4487149e [Work] Fix work apps showing in personal tab am: 42b75d43fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971867

Change-Id: I45f74d7e5af83ef86f40ae4b8cf156b71a9c2658
2021-10-05 15:55:03 +00:00
Samuel Fufa 53ad5b1274 [automerger skipped] [Work] Fix work apps showing in personal tab am: 42b75d43fc -s ours
am skip reason: Merged-In I7df5d65472703bedcc9dd688847d9ebd146d5f61 with SHA-1 564e9ca223 is already in history

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

Change-Id: I50e73cf1f582b2efb145105430e6d28265102d4c
2021-10-05 15:54:59 +00:00
Thales Lima 9a6b20f0cb Merge "launcher: create more space options" into sc-v2-dev 2021-10-05 15:38:57 +00:00
Thales Lima 78d00adcbe launcher: create more space options
The grid doesn't have a constant space between cells anymore, so we need
new attributes for the different spaces in different situations.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I4b6aae5b3fea281490c00cd13d0cd3a25372f21b
2021-10-05 12:26:05 +01:00
TreeHugger Robot d4edd1977a Merge "Add LEGACY_SHORTCUT & ASSISTANT_MEMORY search results to launcher logging attribute." into sc-v2-dev am: 597b6ef4e9 am: 6d076f03c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15942274

Change-Id: I77fa277995a2dd07fc62e276a8780b78e197cd13
2021-10-05 04:35:16 +00:00
TreeHugger Robot 6d076f03c0 Merge "Add LEGACY_SHORTCUT & ASSISTANT_MEMORY search results to launcher logging attribute." into sc-v2-dev am: 597b6ef4e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15942274

Change-Id: I38ce848c2dcd3737f3f5ab0968e6d577a10bcf75
2021-10-05 04:21:21 +00:00
TreeHugger Robot 597b6ef4e9 Merge "Add LEGACY_SHORTCUT & ASSISTANT_MEMORY search results to launcher logging attribute." into sc-v2-dev 2021-10-05 04:08:21 +00:00
Samuel Fufa 9a69b861ac Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev am: 7a0cdc4801 am: fdaae1db08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971865

Change-Id: I81aba8e5349bd2c38de1da8f1011ce91d6d9541a
2021-10-05 03:56:13 +00:00
Bill Yi 37a5b5f5c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I089a6d4201294d7856fa6e60b03f89dcdc888b84
2021-10-05 03:50:22 +00:00
Samuel Fufa fdaae1db08 Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev am: 7a0cdc4801
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971865

Change-Id: I550685a8ca0178688123518f87bde672c5d2236a
2021-10-05 03:45:09 +00:00
Samuel Fufa 42b75d43fc [Work] Fix work apps showing in personal tab
The problem here is that we are tracking hasWorkApps and usingTabs using the same value.
 This leads to work/personal apps showing together when clearing search since mUsingTabs is overridden to false on setLastSearchQuery and later used to determine if tabs should show.
Bug: 198546279
Test: Manual

Change-Id: I7df5d65472703bedcc9dd688847d9ebd146d5f61
Merged-In: I7df5d65472703bedcc9dd688847d9ebd146d5f61
(cherry picked from commit 564e9ca223)
2021-10-05 03:27:31 +00:00
Samuel Fufa 7a0cdc4801 Merge "[Search] Avoiding hiding keyboard when clearing search text" into sc-v2-dev 2021-10-05 03:22:26 +00:00
Android Build Coastguard Worker 70de24fe12 Snap for 7793030 from 95245e50f8 to tm-release
Change-Id: Ia396ee5177827482abede8e34c98f77987e703bd
2021-10-05 03:08:21 +00:00
Jerry Chang 93250cf918 Merge "Update side stage outline visibility with swipe gesture" into sc-v2-dev am: b001ce602f am: 6d6c9de783
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15903128

Change-Id: I82bbca3b2d5bbecdaff5ba6627c87d30f69b227d
2021-10-05 01:19:23 +00:00
Jerry Chang 6d6c9de783 Merge "Update side stage outline visibility with swipe gesture" into sc-v2-dev am: b001ce602f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15903128

Change-Id: Ifeca97e0646eb7049db438d54a2dfc217e65673a
2021-10-05 01:01:17 +00:00
Jerry Chang b001ce602f Merge "Update side stage outline visibility with swipe gesture" into sc-v2-dev 2021-10-05 00:46:36 +00:00
sfufa@google.com 95245e50f8 Support drag/drop on search results am: ca76de0e6e am: 027f65279f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910881

Change-Id: I5634db28e9a3dc9582d321de636274700f56e5b8
2021-10-05 00:43:23 +00:00
sfufa@google.com 027f65279f Support drag/drop on search results am: ca76de0e6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910881

Change-Id: I30de5efd2064f186733001b67b84e13104a6d6ac
2021-10-05 00:29:42 +00:00
sfufa@google.com b0ec41285b [Search] Avoiding hiding keyboard when clearing search text
Bug: 199555357
Test: manual
Change-Id: I7bc9b7097427aed3b526c8d75956d323e819e79b
2021-10-04 14:23:14 -07:00
Schneider Victor-tulias cd1ef70350 Update logging to help debug b/200572078
The class name logged in a repro of b/200572078 was shortened too much to find the class. Updated logging to get the full name.

Test: ran launcher and checked logs
Bug: 200572078
Change-Id: I12324348b4a8a56d4ab06ca54f13a90f8cbea955
2021-10-04 21:12:26 +00:00
sfufa@google.com ca76de0e6e Support drag/drop on search results
Bug: 199341710
Test: manual
Change-Id: I9879c2a3769d4f930ab0289d2f26e4757971549d
2021-10-04 13:14:12 -07:00
Prabir Pradhan 85f0cec3dc Remove workaround for unrotated gesture monitor (3/3)
There is currently a conflation between per-window-input-rotation and
unrotated gesture monitors. We would like to enable
per-widnow-input-rotation first without affecting gesture monitors so
that the old behavior is maintained for gesture monitors.

We can then add unrotated gesture monitors as a new feature later on.

Bug: 201982032
Bug: 179274888
Test: manual
Change-Id: I935165446e1a347129e9eb3cc816c62b24d4fc47
2021-10-04 06:06:18 -07:00
Bill Yi 1b25982283 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-10-04 02:40:38 +00:00
Android Build Coastguard Worker e43878263c Snap for 7788911 from 9847c41c98 to tm-release
Change-Id: I4c9510076bd453d80ea878b4ebb8a15ba485b4ec
2021-10-03 01:08:14 +00:00
Android Build Coastguard Worker 2e05f5b60f Snap for 7788637 from fd326d1a53 to sc-v2-release
Change-Id: I315303324ed52145b3256fe04cc9c2aa4b24078a
2021-10-02 21:08:05 +00:00
Bill Yi 9847c41c98 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-10-02 16:34:09 +00:00
TreeHugger Robot 23bdd45d86 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fd326d1a53 -s ours am: f2572bc73e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icd0659dec73105f942c1f04a8129ad840cdbe213
2021-10-02 07:45:57 +00:00
TreeHugger Robot 1c36198d17 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: d7b202e642 -s ours am: 927850db99 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic79ad226736a82876458e036bf89ce8c800cd80a
2021-10-02 07:45:45 +00:00
TreeHugger Robot f2572bc73e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: fd326d1a53 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id21ed0229c5b3f4f78c9b2b6851383d1b08fe44d
2021-10-02 07:33:43 +00:00
TreeHugger Robot 927850db99 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: d7b202e642 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib9b040d5c0ead4e3ac4551e4d34a80d351b4c6e8
2021-10-02 07:33:10 +00:00
TreeHugger Robot fd326d1a53 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-02 07:20:23 +00:00
TreeHugger Robot d7b202e642 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-02 07:17:55 +00:00
Android Build Coastguard Worker b620d59a82 Snap for 7787597 from 889dfd07cd to tm-release
Change-Id: Idbc686bc352514efd3ffda98a6058aaf7adcc5e2
2021-10-02 05:08:42 +00:00
Jerry Chang d41c032afd Update side stage outline visibility with swipe gesture
Bug: 200850654
Test: enabled side stage outline, observed the outline updates its
      visibility with swipe gesture properly.
Change-Id: I59fcb1fdbb07f5ad5327036972ebbe20ebeb11b7
2021-10-02 10:04:32 +08:00
Android Build Coastguard Worker 9c6b4dbfe9 Snap for 7786608 from f5942afeb5 to sc-v2-release
Change-Id: I032c05f4fb46611790bf6cec9bbc00ea074f0ae1
2021-10-02 01:07:41 +00:00
Schneider Victor-tulias a84672965e Make gesture nav tutorial skip button always visible.
Bug: 198285152
Test: started, completed and tried failing gesture nav tutorial.
Change-Id: Ic30a54e6592783abafcf1efe61ecedb9514d094d
2021-10-01 17:32:45 -07:00
TreeHugger Robot 889dfd07cd Merge "Don't snap to task when tapping task icon in overview grid" into sc-v2-dev am: f5942afeb5 am: a5a22a2970
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960194

Change-Id: I3b1826f21c6f643f87ddfa5022385e36005f9558
2021-10-01 19:46:43 +00:00
TreeHugger Robot a5a22a2970 Merge "Don't snap to task when tapping task icon in overview grid" into sc-v2-dev am: f5942afeb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960194

Change-Id: Ia7a35418185b4b66af7736213eb79c34618d323a
2021-10-01 19:32:12 +00:00
TreeHugger Robot f5942afeb5 Merge "Don't snap to task when tapping task icon in overview grid" into sc-v2-dev 2021-10-01 19:19:08 +00:00
Sunny Goyal 775843922d Merge "Ignoring display size change when display is off" into sc-v2-dev am: 954a3dd0cc am: 2eee3cbeb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951925

Change-Id: I485fd7e95b6972c398970854af25de0671eae467
2021-10-01 18:15:24 +00:00
Sunny Goyal 2eee3cbeb6 Merge "Ignoring display size change when display is off" into sc-v2-dev am: 954a3dd0cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951925

Change-Id: Ifb892abceddab192ab3ea91abcfeddc7545dbae0
2021-10-01 18:06:19 +00:00