Commit Graph

37471 Commits

Author SHA1 Message Date
Bill Yi d527b4e66a [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 90f1a4e085 -s ours am: b431ad7ad9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibadfe3db945cfa682d3007d9790d73890d8bce59
2021-10-07 14:08:39 +00:00
Bill Yi a71ebd3676 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 90f1a4e085 -s ours am: d5527cf152 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I657dead2aee4466f272350d97d0320567fd47094
2021-10-07 14:07:56 +00:00
Bill Yi b04ceb673e [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 7f19dccedc -s ours am: 1881145608 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icfb3cd47a32fbc6cc42da49a3c580df4708d1e28
2021-10-07 14:07:42 +00:00
Bill Yi b431ad7ad9 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 90f1a4e085 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1828cb7f9bc5392ce8ff01e38c76013bc0351a36
2021-10-07 13:59:11 +00:00
Bill Yi d5527cf152 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 90f1a4e085 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic43b56e2e2cef7d7026b1805a4dfa1e8215fd40d
2021-10-07 13:59:11 +00:00
Bill Yi 1881145608 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30 am: 7f19dccedc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ida7225fd19b24bef27e239d9593e7cefc4182ee3
2021-10-07 13:58:43 +00:00
TreeHugger Robot 68685e617d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: b01c390299 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9505cf7ca6be3160966c6487e5831dc9daa437af
2021-10-07 08:51:54 +00:00
TreeHugger Robot 3e9a56b96c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 27d9bc556e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie6f7bb0aecdeeff685c5fbbcc918e9fa7fcf298e
2021-10-07 08:51:24 +00:00
TreeHugger Robot b01c390299 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-07 08:40:56 +00:00
TreeHugger Robot 27d9bc556e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-10-07 08:40:51 +00:00
TreeHugger Robot 1816c9d1b2 Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev am: 137dd35d26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15975400

Change-Id: I59676fdf7a8ee0bbeda31f1e7ac691ef0275a161
2021-10-07 08:29:59 +00:00
TreeHugger Robot 137dd35d26 Merge "[OneSearch] Log events with timestamp into logcat for debugging." into sc-v2-dev 2021-10-07 08:03:57 +00:00
Becky Qiu f11ecb7f59 [OneSearch] Log events with timestamp into logcat for debugging.
Bug: 199289915
Test: example log: https://paste.googleplex.com/5741834610409472
Change-Id: I24b2e68b36cb897ae3e6ccc38cf0561d38af6751
2021-10-06 15:20:47 -07:00
Bill Yi 513a60cdc2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I40d86c2f147e60939fd428ff277a63c7a75f0e3c
2021-10-06 21:35:04 +00:00
Bill Yi 90f1a4e085 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30
Blank merge reason: commit message contains skip directive

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

Change-Id: If745478a901821ee58e1598bebd3d0f7fbdd7333
2021-10-06 21:33:53 +00:00
Bill Yi 7f19dccedc [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 39122b4f30
Blank merge reason: commit message contains skip directive

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

Change-Id: I6be47ca3cfb175423022626cad2d9073f50dee07
2021-10-06 21:33:52 +00:00
Bill Yi 39122b4f30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9179a69632df6353981c85d3b7613211f4b7ab78
2021-10-06 21:33:38 +00:00
Bill Yi 3ec748654e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I86b517b1fa0abfc0f14c6ffc7edcd98c14552647
2021-10-06 21:31:18 +00:00
Tony Wickham cdb2df88bd Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-v2-dev am: f9d2082cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15988588

Change-Id: I2a2f4c65e2cfc2649d5c590e7aa855b79f1f4b28
2021-10-06 17:48:39 +00:00
Tony Wickham f9d2082cf3 Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-v2-dev 2021-10-06 17:36:45 +00:00
Tony Wickham 66ed0ff23e Fix issues with starting new recents animation before previous onRecentsAnimationStart
- Fix logic for canceling animation for continued quick switch, so that this case (starting a new gesture before onRecentsAnimationStart() of the previous gesture) instead goes to the STATE_FINISH_WITH_NO_END flow.
- Update the end target so that we go to that state instead of always overview state if swipe was past the halfway threshold when we call endLauncherTransitionController(). This is specifically so we don't use OverviewInputConsumer on the second gesture, given the first one was canceled and didn't actually go to overview.
- GestureState#isRecentsAnimationRunning() now checks for STATE_RECENTS_ANIMATION_STARTED rather than _INITIALIZED, to be consistent with its javadoc and TaskAnimationManager#isRecentsAnimationRunning(). This also ensures we can correctly calculate continued quick switch (see above).
- Call cleanUpRecentsAnimation() before creating a new one in TaskAnimationManager. This ensures that the previous listener doesn't immediately cleanup the new gesture when it gets onRecentsAnimationCanceled() due to the new recents animation starting.

Test: swipe to home twice from the app, locally ignoring the onRecentsAnimationStart() from the first one, and ensure the second one responds normally
Bug: 193851085
Change-Id: I76e27c96b54293805546c0d6c82e77f975c69d7a
2021-10-05 18:14:51 -07:00
Vinit Nayak c8b7fef784 Merge "Reset state after split launch animation finishes" into sc-v2-dev am: 6ab0d1e7be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15986152

Change-Id: Iac00a062f0f3531fa1d59cb2e2ade6b17e7cb73c
2021-10-06 01:14:28 +00:00
Vinit Nayak 6ab0d1e7be Merge "Reset state after split launch animation finishes" into sc-v2-dev 2021-10-06 00:56:48 +00:00
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 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
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 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
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 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 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
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