Commit Graph

39037 Commits

Author SHA1 Message Date
Presubmit Automerger Backend 714c0bf1d6 [automerge] Update taskbar resume alignment anim if launcher state changes in the middle 2p: cd6abc19a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16693156

Change-Id: I5fe6e2e1492df3467ae3bc6880ff308e03a401dd
Merged-In: Ie0c6140e14186e41c7e4748dc745f87349b084fe
2022-01-24 23:25:36 +00:00
Tony Wickham cd6abc19a8 Update taskbar resume alignment anim if launcher state changes in the middle
One way to reproduce this issue is to run `adb shell input keyevent KEYCODE_HOME`, which happens to pause and immediately resume launcher. For example, let's say we run this while in All Apps. Because the isResumed=true comes before the state transition to Normal, we behave as if we are still going to All Apps, specifically goingToUnstashedState = false (since we stash in All Apps). To fix this, we now listen to state changes while the resume alignment animation is playing, and update it if necessary.

Also did the same correction for the gesture alignment animation, though I don't have a specific repo for that.

Finally, because there are now more triggers for alignment animations to play, we add a check to only play them if it's not animating to the same value it's already animating towards. One notable experience this improves is swiping down from All Apps to home; if you do it quick enough, the state animation ends before the taskbar unstash animation, and thus the unstash animation would cancel and start again with the full duration, making it look laggy/disjointed (this behavior existed before this change as well).

Test: TaplTestsQuickstep
Test: Go to All Apps, run `adb shell input keyevent KEYCODE_HOME`, open an app and ensure taskbar icons are visible
Test: Quick switch from home when taskbar is present in apps, but instead go to overview; ensure no jump when taskbar stashes
Test: Swipe down quickly from All Apps, ensure taskbar unstashing doesn't slow down when reaching the end of the state transition
Fixes: 214562370
Change-Id: Ie0c6140e14186e41c7e4748dc745f87349b084fe
Merged-In: Ie0c6140e14186e41c7e4748dc745f87349b084fe
(cherry picked from commit 5fa2ed27bf)
2022-01-24 16:56:12 +00:00
Winson Chung 4d548bbf6f Merge "Dispatch hover events through the input consumer proxy" into sc-v2-dev am: a84f86f254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16685428

Change-Id: Ie2133958457a088f53b4e32c76fc03463023e37d
2022-01-21 22:49:20 +00:00
Winson Chung a84f86f254 Merge "Dispatch hover events through the input consumer proxy" into sc-v2-dev 2022-01-21 22:29:43 +00:00
Winson Chung b7225856ad Merge changes from topic "presubmit-am-cf03cdfdc7444d7faac91b866c05eae8" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Dispatch hover events through the input consumer proxy 2p: eff9a120c6
  Dispatch hover events through the input consumer proxy
2022-01-21 22:29:43 +00:00
Winson Chung e8e9906ec0 Merge "Skip animation if there are no targets" into sc-v2-dev am: cda2b35971
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16683595

Change-Id: I98e4a9b18513fa7731a077b28a8ff231623fafdd
2022-01-21 20:33:52 +00:00
Winson Chung cda2b35971 Merge "Skip animation if there are no targets" into sc-v2-dev 2022-01-21 20:04:04 +00:00
Winson Chung 4f9711c182 Merge changes from topic "presubmit-am-eb42a70960e740e988dfbddc552edcae" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Skip animation if there are no targets 2p: 6751202328
  Skip animation if there are no targets
2022-01-21 20:04:04 +00:00
Presubmit Automerger Backend 2ec4b4bdf4 [automerge] Dispatch hover events through the input consumer proxy 2p: eff9a120c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16685428

Bug: 197043796
Change-Id: Ic29524b5310cfa89ef9a45e8201fa95e2f873648
2022-01-21 19:40:41 +00:00
Winson Chung eff9a120c6 Dispatch hover events through the input consumer proxy
- Touch explore uses hover events to focus views for accessibility, but
  we were dropping these events when handling them through the input
  consumer proxy.  The reason this changed is that in sc-v2 we moved the
  recents input consumer to the top of the task display area to ensure
  that it was always above any of the tasks in splitscreen, but by doing
  so, it was always above launcher even after settling in overview.  The
  existing path for handling motion events is heavily tied to touch
  handling (action down/move/up) so we just add a separate path for
  dispatching hover events through the normal mechanism to launcher via
  the consumer.

Bug: 197043796
Change-Id: I5f8cfd357ff13971fe172ce1d0179535479cd26c
2022-01-21 19:40:01 +00:00
Tracy Zhou b5e6dbc91e End live tile when notification panel is pulled down for the first time in Overview. am: 0077caa15d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16591950

Change-Id: Ibb334ad989b707213dc9038123312b15b31bfdf0
2022-01-21 02:01:05 +00:00
Winson Chung c923ee1a5d [automerge] Skip animation if there are no targets 2p: 6751202328
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16683595

Bug: 210118444
Change-Id: I0d551c933b0aaf6c12fcd96cd50fb0650467ca3e
2022-01-20 21:34:34 +00:00
Winson Chung 6751202328 Skip animation if there are no targets
Bug: 210118444
Test: Manual
Change-Id: I362ca30d0e00b647d84b5df38b35b924d5ccfb33
2022-01-20 21:32:45 +00:00
Tracy Zhou 0077caa15d End live tile when notification panel is pulled down for the first time in Overview.
Fixes: 211556489
Test: Go to overview with live tile. Turn on dark theme. Pull the panel back up. Make sure everything looks fine (live tile is ended).

Change-Id: I51cb81718a489ad7568c5e05ace0b3dbc6ca5443
2022-01-19 18:30:29 +00:00
Bill Yi 9815dd9c8b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 88c671ee71 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic640462bab1926c8fbc1ea46883750e67e4cf171
2022-01-14 18:32:53 +00:00
Bill Yi 88c671ee71 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec90538bf8dd18fede035d7f548a71b757d2356c
2022-01-14 04:17:46 +00:00
Lucas Dupin 7b71c2ee59 Merge "Directly assign mDepth" into sc-v2-dev am: c518932f74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16622831

Change-Id: I834c566de468c086c6f27aa8e71cbcdfd996f27d
2022-01-13 23:37:21 +00:00
Lucas Dupin c518932f74 Merge "Directly assign mDepth" into sc-v2-dev 2022-01-13 23:19:20 +00:00
TreeHugger Robot e81cab2fa4 Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev am: c0a6d3fc8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16346766

Change-Id: I96ae73987e33c706f408d443559836a8d5024e37
2022-01-13 20:49:42 +00:00
TreeHugger Robot c0a6d3fc8f Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev 2022-01-13 20:36:44 +00:00
Lucas Dupin 03064a1e60 Directly assign mDepth
A request to set a new depth is ignored if the surface is currently
invalid. We should cache what was the requested value, so it will be
applied once the surface is valid again.

Test: manual
Fixes: 209028986
Change-Id: I812816da4b0139c7ea7b53a9fb00f11265ecdea8
2022-01-13 12:01:11 -08:00
Winson Chung daaebc8959 Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e2319
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: I981d23be42c55bbf276b66903d754b178c9e5d27
2022-01-12 23:14:41 +00:00
Winson Chung b92c4e2319 Merge "Revert "Add logs for null task list"" into sc-v2-dev 2022-01-12 23:00:00 +00:00
Jerry Chang 0e22f9947b Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev am: f6086e74e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598402

Change-Id: I9d66b3cb98ba5540e417c2acc7084d4edaa62e9f
2022-01-12 01:41:13 +00:00
Jerry Chang f6086e74e3 Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev 2022-01-12 01:21:14 +00:00
Winson Chung 08126d915c Revert "Add logs for null task list"
This reverts commit a46d36240b.

Reason for revert: Reverting logs for release

Change-Id: I65ae1ea691d5fb3d70a2db4beba08d7460b99e2b
2022-01-11 20:06:16 +00:00
Vinit Nayak b0786109bd Remove code that assumes single GroupedTaskView am: 2c97c4ab19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208

Change-Id: Ibe46da27964fb09aab5815ab871edd544b7410c3
2022-01-11 02:52:12 +00:00
Treehugger Robot b30a81f82b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours am: 0fcf808f11 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I319fc55c0f527fe308026a60755fd8fbe6a2d720
2022-01-11 01:43:57 +00:00
Treehugger Robot 3abf818f4e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours am: 4659c68218 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I826164cb7394348a25ceae1de9ef6d0b2ac44bbf
2022-01-11 01:43:31 +00:00
Treehugger Robot 7738633a4b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours am: 4ba5628acd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I56ab258556d354dafee2bca32015fb917cd9566c
2022-01-11 01:42:35 +00:00
TreeHugger Robot e0a4aeb6d0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours am: 8e0ee25cbf -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic82ea0b41d72625b9ac36fe66396cfb16bcc9693
2022-01-11 01:41:26 +00:00
TreeHugger Robot efac365fd4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours am: aeac8e51f8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ieffa149a9e2af827228990af79de83e8430177c1
2022-01-11 01:36:40 +00:00
Bill Yi 78389ee4e9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours am: 59b3732da8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id8888ef91229185c0e39d8509ce0af433a58cf82
2022-01-11 01:31:38 +00:00
Treehugger Robot 0fcf808f11 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3e47075203f040f6f70c7b07adb25b9d2b4e78ac
2022-01-11 01:21:25 +00:00
Treehugger Robot add2ff2d43 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1c15af1ea07c46ef295b3adafde6bd6dbad6ec46
2022-01-11 01:21:19 +00:00
Treehugger Robot 4659c68218 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ied5ac23d920c735910d4e2562280a2c5038da748
2022-01-11 01:21:05 +00:00
Treehugger Robot ca186a1cf5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie0701b161d452f6fa51a6a4381d48410ff8d5cc5
2022-01-11 01:20:49 +00:00
Treehugger Robot 4ba5628acd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifdccae5c6ced07cd0965c9d000c512f96e89a5d3
2022-01-11 01:20:46 +00:00
TreeHugger Robot 8e0ee25cbf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I64fcd0edd143fcb633b604364755fa1e0461a927
2022-01-11 01:18:15 +00:00
TreeHugger Robot aeac8e51f8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iadb4bb40e49d4edca30ca7153f9b982a6df09004
2022-01-11 01:16:14 +00:00
Treehugger Robot 4672ef9217 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I55f3739794d03da40c3392b48ac397a02aff7f3b
2022-01-11 01:12:34 +00:00
Bill Yi 59b3732da8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6d7cd9e33f0930963db49826c060e96b0133f36a
2022-01-11 01:12:11 +00:00
Treehugger Robot fd43233281 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:50:07 +00:00
Treehugger Robot f28414562e Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:49:47 +00:00
Treehugger Robot 8ca8a317cb Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-01-11 00:49:45 +00:00
TreeHugger Robot cf5bbf67f7 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2022-01-11 00:46:16 +00:00
TreeHugger Robot 0d585d86b8 Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2022-01-11 00:45:41 +00:00
Vinit Nayak 2c97c4ab19 Remove code that assumes single GroupedTaskView
* Old code assumes there will only be a single
GroupedTaskView, removing those code paths helps
consolidate single and grouped task code flows
* Correctly check when we need to add a stub
taskView for GroupedTaskViews by checking each
individual taskId

Test: Swiping with multiple split pairs doesn't
cause a cycle
Fixes: 213355942

Change-Id: Ibb98ae0dfcd4f52b762685aec9d2ee6445b9ef54
2022-01-10 15:59:33 -08:00
Bill Yi 487c69e0e2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11e6b41bdca9d55dd12983151a0c68d3ff2a7422
2022-01-10 14:49:52 +00:00
Bill Yi 8ff9808c85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I62e88b73bc557c47aebac0eb595cabcfcdc7f29f
2022-01-10 14:49:12 +00:00