TreeHugger Robot and Automerger Merge Worker
c3496b686d
Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a am: 953476e27b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751
Change-Id: I98df0ac08e5da6bc39be00809a876e8b214a4e7b
2021-10-11 23:32:47 +00:00
TreeHugger Robot and Automerger Merge Worker
953476e27b
Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751
Change-Id: I67f6affe4e7b1894ad8993d6e15bb5a51f2e611d
2021-10-11 23:19:48 +00:00
TreeHugger Robot and Android (Google) Code Review
5ec8046f6a
Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev
2021-10-11 23:01:31 +00:00
TreeHugger Robot and Automerger Merge Worker
d411c4a41e
Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed am: 5e5bbff723
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107
Change-Id: I8ba97e7d4a92194cd347a762c5d79bc4a547e439
2021-10-11 21:59:36 +00:00
TreeHugger Robot and Automerger Merge Worker
5e5bbff723
Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107
Change-Id: Ia61fcb85321ec80da8a74fd2a7d2a08870a12463
2021-10-11 21:43:09 +00:00
TreeHugger Robot and Android (Google) Code Review
60c64adeed
Merge "Sending Launcher resume event to app predictor" into sc-v2-dev
2021-10-11 21:22:50 +00:00
Tracy Zhou
a4a4002fa5
Transform touch events in landscape mode now that app is on top
...
Fixes: 193375232
Test: Swipe up from app in landscape mode, interact with Overview, and make sure it's interactive
Change-Id: Ib1838f02d537918b7a13d51a1fdcacbf3d02b99d
2021-10-11 14:04:51 -07:00
TreeHugger Robot and Automerger Merge Worker
44ac266686
Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev am: 11579eea19 am: 21192886c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015203
Change-Id: I91b37c5388f5e0eb7d2f53ea71ad8c8272fb6f09
2021-10-11 20:22:20 +00:00
TreeHugger Robot and Automerger Merge Worker
21192886c4
Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev am: 11579eea19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015203
Change-Id: Iafd71c95e0165a7ebc1ad84ca7660f1fcd2f9cc1
2021-10-11 20:04:38 +00:00
TreeHugger Robot and Android (Google) Code Review
11579eea19
Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev
2021-10-11 19:53:24 +00:00
TreeHugger Robot and Automerger Merge Worker
f56ccbeffc
Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev am: 1569754519 am: 98680d64f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015197
Change-Id: I93df9f2d0fa7df501cde11b1beebcb63278d2082
2021-10-11 18:47:37 +00:00
TreeHugger Robot and Automerger Merge Worker
98680d64f6
Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev am: 1569754519
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015197
Change-Id: I845dbb5fe3c0d891413a5e8d46d58d502edd9485
2021-10-11 18:31:27 +00:00
TreeHugger Robot and Android (Google) Code Review
1569754519
Merge "Add scroll logging to RecentsView behind DEBUG flag" into sc-v2-dev
2021-10-11 18:13:45 +00:00
Alex Chau
02150305f9
Fix split select scroll range when TaskView aren't shifting
...
- There is an edge case that when ClearAllButton is visible, no split translation is applied, the offset adjustment needs to be calculated differently in that case
- Also, apply the scrollOffset to the TaskViews / ClearAllButton instead of updating min/max scroll
Bug: 200537659
Test: Split right in grid, split left with clear all button, split left without clear all button
Change-Id: I869c448bbec6aec8fa070e47193a692be6f75e84
2021-10-11 19:02:28 +01:00
Sunny Goyal
1b6d43b13e
Sending Launcher resume event to app predictor
...
Bug: 202535375
Test: Manual
Change-Id: I1618a5ed973b9d4f898442647e3e197ed4935aa4
2021-10-08 16:21:56 -07:00
TreeHugger Robot and Automerger Merge Worker
728bd6f4fe
Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf am: 3b4d624128
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847
Change-Id: I6251cd20346c098bbedc37d04ff2ca6b1b6e0ae1
2021-10-08 17:41:02 +00:00
TreeHugger Robot and Automerger Merge Worker
3b4d624128
Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847
Change-Id: Ib26957e30803ea5a10ac182f4c182b480fe388ce
2021-10-08 17:29:32 +00:00
Alex Chau
e95de31304
Add scroll logging to RecentsView behind DEBUG flag
...
Bug: 202514687
Test: manual
Change-Id: Iec022f2583baa794904242a44a2c8dca8ea4b1be
2021-10-08 16:26:08 +01:00
Tony Wickham
1bd4bf7ff1
When taskbar would be stashed in 3 button mode, hide icons instead
...
In 0 button mode, stashing morphs the icons into the home handle. In 3 button mode, that doesn't make sense, but we should still hide the icons (and just keep the 3 nav buttons). You still can't manually stash via long press in 3 button mode, but this will address other states where we automatically stash the taskbar when we want to hide the icons from users (e.g. when pinning an app).
Test: Pin an app from overview in 3 button mode, ensure the taskbar icons disappear until unpinning
Bug: 190192993
Change-Id: I499c59bd9d7871ff64696b67065cf9d4863222a5
2021-10-07 23:29:41 -07:00
Tony Wickham
db0c2f1b79
Add flags to stash taskbar for app pinning and empty hotseat
...
Test: pin an app from overview, watch taskbar stash automatically until unpinning
Test: turn off suggestions for hotseat, remove all items and watch taskbar stash automatically when opening an app
Fixes: 190192993
Fixes: 193937948
Change-Id: Ia7260c60a820af1a48c9e4a400a52753baf34d41
2021-10-07 23:29:41 -07:00
Tony Wickham
772732de9e
Migrate mStashedInApp to FLAGS_STASHED_IN_APP
...
This is to prepare for different flags that could cause taskbar to be stashed in an app without the user explicitly long pressing to stash.
Test: run wwdebug and wwlogcat, ensure still get logs for long press stash events; other interactions like clipping tasks to above unstashed taskbar still work as before
Bug: 190192993
Bug: 193937948
Change-Id: I90846e650a438e03bdcfdf9c4bf919e19cc5abb3
2021-10-07 23:29:34 -07:00
TreeHugger Robot and Android (Google) Code Review
d2010d57cb
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-10-07 20:37:27 +00:00
Alex Chau and Automerger Merge Worker
0423e3b412
Merge "Only adjust min/max scroll for split screen in landscape" into sc-v2-dev am: fe69980f90 am: 5354bce2e1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992132
Change-Id: I3901bbb4414a9cec2006ad7bb48d971358be04b8
2021-10-07 15:18:40 +00:00
Vinit Nayak and Automerger Merge Worker
52025a6a52
Merge "Show split options when overview actions hidden for grid" into sc-v2-dev am: 7c2b52e5cf am: 34035ace74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971858
Change-Id: I24e03b74abb4f64d8f94a3d114c82d68447a59a6
2021-10-07 15:18:29 +00:00
Vinit Nayak and Automerger Merge Worker
38abfe1ea5
Merge "Move back to end of screen on keyguard" into sc-v2-dev am: c5ae15b481 am: 08b57cd012
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15986998
Change-Id: Idb49286c7bdc5e27fbe09ab064020964e22face2
2021-10-07 15:18:15 +00:00
Alex Chau and Automerger Merge Worker
5354bce2e1
Merge "Only adjust min/max scroll for split screen in landscape" into sc-v2-dev am: fe69980f90
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992132
Change-Id: Ia9fa4abf3e2ce8f5284c31fb8a66daa236be1794
2021-10-07 15:05:38 +00:00
Vinit Nayak and Automerger Merge Worker
34035ace74
Merge "Show split options when overview actions hidden for grid" into sc-v2-dev am: 7c2b52e5cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971858
Change-Id: I654dacc74d748bd63478d0125fc1991d05c6bd8e
2021-10-07 15:05:32 +00:00
Vinit Nayak and Automerger Merge Worker
08b57cd012
Merge "Move back to end of screen on keyguard" into sc-v2-dev am: c5ae15b481
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15986998
Change-Id: I8d6381fecfddfebfc5d7a3e9f67a3901b97f1180
2021-10-07 15:05:24 +00:00
Alex Chau and Android (Google) Code Review
fe69980f90
Merge "Only adjust min/max scroll for split screen in landscape" into sc-v2-dev
2021-10-07 14:52:05 +00:00
Vinit Nayak and Android (Google) Code Review
7c2b52e5cf
Merge "Show split options when overview actions hidden for grid" into sc-v2-dev
2021-10-07 14:51:44 +00:00
Vinit Nayak and Android (Google) Code Review
c5ae15b481
Merge "Move back to end of screen on keyguard" into sc-v2-dev
2021-10-07 14:49:47 +00:00
TreeHugger Robot and Android (Google) Code Review
b01c390299
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-10-07 08:40:56 +00:00
Vinit Nayak
a08e806e25
Move back to end of screen on keyguard
...
* Animate it back into position after user unlocks
* Re-create taskbar on layout direction change so
PropertyHolders are recreated to take into account
new values
Fixes: 199852418
Test: Tested w/ password + pin for gesture + 3 button
Change-Id: Ie7f16f737a8fc12328c05d7628d0e3ae09fc08ca
2021-10-06 18:09:15 -07:00
Bill Yi
fe50f1b75f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I986cf944b203852b0f3ee6374711ba20448bb31a
2021-10-06 21:35:39 +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 and Automerger Merge Worker
c310a6f930
Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-v2-dev am: f9d2082cf3 am: cdb2df88bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15988588
Change-Id: I761d29cd74d833e259da29f422dd0bc9e144ff0c
2021-10-06 17:59:03 +00:00
Tony Wickham and Automerger Merge Worker
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 and Android (Google) Code Review
f9d2082cf3
Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-v2-dev
2021-10-06 17:36:45 +00:00
TreeHugger Robot and Android (Google) Code Review
0e60eddf61
Merge "Remove workaround for unrotated gesture monitor (3/3)"
2021-10-06 17:18:05 +00:00
Alex Chau
aea42dc43e
Only adjust min/max scroll for split screen in landscape
...
- Portrait's split placeholder is at top/bottom and does not affect scroll
Bug: 200537659
Test: Split left and split right in portrait / landscape, check if min/max scroll is correct
Change-Id: Ib7eb09d3cc44c8e0d962920ad094c73abc5f0dbd
2021-10-06 12:31:10 +01:00
Vinit Nayak and Automerger Merge Worker
a85e762a62
Merge "Reset state after split launch animation finishes" into sc-v2-dev am: 6ab0d1e7be am: c8b7fef784
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15986152
Change-Id: I8e71fbbb5344205209065a5c94a215db4020ba2a
2021-10-06 01:24:27 +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 and Automerger Merge Worker
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 and Android (Google) Code Review
6ab0d1e7be
Merge "Reset state after split launch animation finishes" into sc-v2-dev
2021-10-06 00:56:48 +00:00
TreeHugger Robot and Automerger Merge Worker
565c5ed6e2
Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6 am: e77cae7f0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750
Change-Id: I9c7cac5e73845ed4f08d2d518e661891188a0ce6
2021-10-06 00:45:44 +00:00
TreeHugger Robot and Automerger Merge Worker
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 and Android (Google) Code Review
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
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 and Automerger Merge Worker
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
Vinit Nayak and Automerger Merge Worker
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