Commit Graph

49925 Commits

Author SHA1 Message Date
TreeHugger Robot e77cae7f0d Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: Id67d2342b0715896faa6832e59116b6ea42fcf05
2021-10-06 00:26:54 +00:00
TreeHugger Robot 1bf753f7a6 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev 2021-10-06 00:14:46 +00:00
TreeHugger Robot 1dab5fafb4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours am: 88eca11997 -s ours am: 5a52ae1edc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7f4a256aa95dc93898d77ffb606ee3db5134aac5
2021-10-05 23:40:17 +00:00
TreeHugger Robot 64be6a2e96 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours am: 5992971500 -s ours am: c99718ccac -s ours
am skip reason: subject contains skip directive

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

Change-Id: I075c9ee93e92033b0dada2372775d56fe90241ed
2021-10-05 23:39:08 +00:00
TreeHugger Robot 5a52ae1edc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours am: 88eca11997 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4a442bd2fb293063f802faf7a1fc12889e5d5454
2021-10-05 23:28:50 +00:00
TreeHugger Robot c99718ccac [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours am: 5992971500 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idbf1380cb4e9f45f11c66dce215439e967f87054
2021-10-05 23:28:14 +00:00
TreeHugger Robot 5992971500 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5ffa865b4a08fe755ea0036d9d8fce6c79baface
2021-10-05 23:14:11 +00:00
TreeHugger Robot 88eca11997 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: ae6e81587c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0b5a4df2571878937bd5d72e5850d1489acdce4e
2021-10-05 23:14:08 +00:00
Android Build Coastguard Worker 3259e89097 Snap for 7795143 from 53ad5b1274 to sc-v2-release
Change-Id: I7a70794b7ca675699bab8887ffd7ee90a51557d0
2021-10-05 23:08:02 +00:00
TreeHugger Robot ae6e81587c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-10-05 22:58:32 +00:00
Vinit Nayak 0516737146 Reset state after split launch animation finishes
Previously we were clearing SplitSelectStateController
state too soon for fake landscape case where
as soon as the tasks launch the device does a rotation
animation since the new split tasks are in landscape.
Move restting state after animation finishes.

Fixes: 201980666

Change-Id: I23efd59fad444c47ae6c2048888a8570f22610fd
2021-10-05 15:29:24 -07:00
Vinit Nayak 1772a30c70 Merge "Set SurfaceTransactionApplier on non-stale RemoteAnimationTargets" into sc-v2-dev am: 0ff2ad6ff4 am: 9b79688147
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15956593

Change-Id: Ifb3b2498f5db96beadbb6edfe768d7b6762ab023
2021-10-05 22:03:37 +00:00
TreeHugger Robot 4778c11c6d Merge "Update logging to help debug b/200572078" into sc-v2-dev am: feeb788941 am: 96daf27101
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971864

Change-Id: Ib9e64f2766ca8184fd363af78ffd0efe786783b9
2021-10-05 22:03:24 +00:00
Vinit Nayak 9b79688147 Merge "Set SurfaceTransactionApplier on non-stale RemoteAnimationTargets" into sc-v2-dev am: 0ff2ad6ff4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15956593

Change-Id: Ifc5c08374ce590e7c417be6355ae1abdfc36796b
2021-10-05 21:49:00 +00:00
TreeHugger Robot 96daf27101 Merge "Update logging to help debug b/200572078" into sc-v2-dev am: feeb788941
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971864

Change-Id: Iebf07a1f12d4836d5f5a669a029d28f8c909bd5b
2021-10-05 21:48:54 +00:00
Vinit Nayak 0ff2ad6ff4 Merge "Set SurfaceTransactionApplier on non-stale RemoteAnimationTargets" into sc-v2-dev 2021-10-05 21:44:34 +00:00
TreeHugger Robot feeb788941 Merge "Update logging to help debug b/200572078" into sc-v2-dev 2021-10-05 21:33:55 +00:00
Vinit Nayak 95ee358269 Show split options when overview actions hidden for grid
* We hide split option in task menu for focused task
if the user hasn't scrolled at all in overview
* We show option when user has scrolled because then
the split option from overview actions will be hidden
* Mostly uses the same logic as
RecentsView#updateActionsViewFocusedScroll()

Bug: 201380373
Test: Manual
Change-Id: Ia8769a67cfbb2e4414cd4d8e816e62245fc4bd2c
2021-10-05 14:28:07 -07:00
Brian Isganitis 6a1b0a5824 Have PopContainerWithArrow require BaseDraggingActivity.
Fix: 201978182
Test: No
Change-Id: I3ed46c07cce88b939d1a085ab62d5413ca217e5a
2021-10-05 14:38:14 -04:00
Alex Chau b78753a73f Adjust min/max scroll according to mSplitPlaceholderSize am: 516584e648 am: 60818c3de0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15982847

Change-Id: I8cbf7c400b06c19b5dd37a1fff66007d414e9d61
2021-10-05 18:27:44 +00:00
Alex Chau 60818c3de0 Adjust min/max scroll according to mSplitPlaceholderSize am: 516584e648
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15982847

Change-Id: I8647b3135284dc504b3ac839f5191c26abf5d9b3
2021-10-05 18:13:46 +00:00
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
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