Commit Graph

8114 Commits

Author SHA1 Message Date
Vinit Nayak
72b186aefd Merge "Improves overview split adjacent launch animation" into tm-qpr-dev 2023-01-07 00:36:16 +00:00
Schneider Victor-tulias
4f41701f6f Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev am: 53808c3ed8 am: 4d5c11e4c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712690

Change-Id: Iba1dd68988714e734c1160ea85d4a8be06892147
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 19:08:43 +00:00
Schneider Victor-tulias
4d5c11e4c6 Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev am: 53808c3ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712690

Change-Id: I11e59bae451b0c66a5222276bdad8ae8b29a4ccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 19:00:49 +00:00
Schneider Victor-tulias
53808c3ed8 Merge "Fix NPE from getting swipe pip to home animator finish transation after the surface has been released" into tm-qpr-dev 2023-01-06 18:38:21 +00:00
Vinit Nayak
3c64416769 Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev am: daffdfa35c am: 1e4e91b296
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858639

Change-Id: Ib564b8b8a77765e8e8657ed7bbdaae7d14176f82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 11:44:06 +00:00
Vinit Nayak
1e4e91b296 Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev am: daffdfa35c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858639

Change-Id: Id32dcee4a58b87a578c0f08cf6974f0512ba0b1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 22:07:34 +00:00
Vinit Nayak
daffdfa35c Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev 2023-01-05 21:28:23 +00:00
Vinit Nayak
da2819ed5f Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
Merged-In: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 11:54:22 -08:00
Vinit Nayak
9740ba4bf1 Improves overview split adjacent launch animation
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)

Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 19:53:28 +00:00
TreeHugger Robot
2c32fd8433 Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev am: c46b47853b am: 4bfdc44d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838733

Change-Id: I58567030403e0528d62da152dc6b63fa6ebc9215
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:41:34 +00:00
TreeHugger Robot
4bfdc44d2b Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev am: c46b47853b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838733

Change-Id: I318a1769220d5305f621d335de5aa657c4c89110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-05 16:08:04 +00:00
TreeHugger Robot
c46b47853b Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev 2023-01-05 15:29:05 +00:00
Luca Zuccarini
3913716ece Make LauncherAnimationRunner compatible with RemoteAnimationRunner.
Nothing changes in its current usage and behavior, but instead of a
RemoteAnimationFactory we can now also pass a RemoteAnimationRunner.

Bug: 250588519
Test: manual
Change-Id: I51f5a95360401d5f17104519ef91a81aef60923f
2023-01-05 14:12:13 +00:00
Ats Jenk
f6ba9499de Fixes to support transient taskbar in desktop mode
Track gesture progress in desktop visibility controller. We need to
allow launcher to resume when gesture is in progress and freeform tasks
are visible.
Update overview state handling in desktop visibility controller. When
overview is enabled, launcher should be made visible, regardless of
freeform state. When exiting overview state, check freeform state to see
what should be shown and enabled.

Bug: 263264985
Test: manual, enable transient taskbar, move app to desktop, invoke transient
taskbar
Test: manual, enable transient taskarb, enable desktop mode, invoke
transient taskbar
Test: manual, disable transient taskbar, move app to desktop, swipe up
to overview
Test: manual, disable transient taskbar, enable desktop mode, swipe up
to overview

Change-Id: I63000441d9cf72769e6efb9d247ab4112c01839d
2023-01-04 17:27:54 -08:00
Schneider Victor-tulias
7ae19d0146 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev am: 8aa0471591 am: 0d5736e9b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746686

Change-Id: Ie69ae3b15b46cdb9d03c388ab0bbdf9dbc3ab807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 23:03:47 +00:00
Tracy Zhou
42e80788c5 Merge "Do not show transient task bar upon swipe up on trackpad" 2023-01-04 23:03:20 +00:00
Tracy Zhou
adea1cb104 Do not show transient task bar upon swipe up on trackpad
Fixes: 264268943
Test: manual
Change-Id: Ia35ea9eb56fad612a08808724a7b3c4a08a0b6fb
2023-01-04 23:02:14 +00:00
Schneider Victor-tulias
0d5736e9b2 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev am: 8aa0471591
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746686

Change-Id: I1dc8ce531281802027b88e99cedfe57b8562090c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 22:27:34 +00:00
Schneider Victor-tulias
8aa0471591 Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev 2023-01-04 22:08:12 +00:00
Schneider Victor-tulias
d8a07fa030 Fix NPE from getting swipe pip to home animator finish transation after the surface has been released
Fixes: 243154747
Test: programmatically added delay to finish transation later
Change-Id: Ia667372678f2224406147f5659c5fc6f61f270ad
2023-01-04 13:53:37 -08:00
Jagrut Desai
7764627216 Moving Accessibility Annoucement to Task Closed to onEnd animation callback.
Test: Manual
Fix: 220198279

Change-Id: I3d9d522cd81b4873fb4b03671384f23b7bb6777f
2023-01-04 16:18:43 -05:00
Ikram Gabiyev
f12179232b Merge "Turn off filter ui if flag is off" into tm-qpr-dev am: 4835519ccb am: ec6a7b6469
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861034

Change-Id: I74a30f8911f25a0fbb3e8198d9078b6316afdf0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 20:40:40 +00:00
Ikram Gabiyev
ec6a7b6469 Merge "Turn off filter ui if flag is off" into tm-qpr-dev am: 4835519ccb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861034

Change-Id: I38f2653dbb9d18351f0395554b4c26613f7b5975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 20:06:25 +00:00
Vinit Nayak
0d784ee7fb Toggle taskbar button nav assistant availability
* New signals coming in from Sysui reflect the toggle
in Settings for long pressing on home button to
invoke assistant.

Fixes: 255909545
Test: Manual + added unit test for TaskbarNavButtonController
Change-Id: Ic65a80b0b9697990931b7e89756773fb086cc3bd
2023-01-03 20:07:27 -08:00
Ikram Gabiyev
6d3ad6820d Turn off filter ui if flag is off
Fix a bug in a condition determining when to show
filter ui for a certain taskview, making sure
that the ui is off when the feature flag for
multi-instance is off.

Test: reproduced the steps laid out in the bug

Bug: 264218764
Change-Id: Ie745789ad834d56b79de47e5196737eb08b081fa
2023-01-04 00:16:34 +00:00
TreeHugger Robot
0e2236fe95 Merge "Update taskbar to spec" into tm-qpr-dev am: 39688d2d61 am: da62f09da6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20815395

Change-Id: Ifebcd13e1a030037fc51881fff76537109be3dda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 23:35:59 +00:00
TreeHugger Robot
da62f09da6 Merge "Update taskbar to spec" into tm-qpr-dev am: 39688d2d61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20815395

Change-Id: I5d5cf3caadc6081d728948bb1674344714126363
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 23:01:45 +00:00
Schneider Victor-tulias
377eb40985 Revert^2 "Cancel gestures on launcher destroy"
f0de6cc2ca

Bug: 261816852
Fixes: 244593270
Fixes: 257976590
Fixes: 261504234
Test: FallbackRecentsTest#goToOverviewFromApp and FallbackRecentsTest#goToOverviewFromHome
Change-Id: If49a08fd62b99c9bbc007900b613b83747916f5f
2023-01-03 11:31:05 -08:00
Alex Chau
a5c6aad231 LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat
Fix: 261364559
Test: Pull notification shade in overview, 3-buttons stay in place
Test: Pull notification shade in home, 3-buttons translated down
Test: Go to -1, 3-buttosn translated down
Test: Go to AllApps, 3-buttons translated down
Test: Go to widget picker, 3-buttons translated down
Change-Id: I53da354266c60e86599011ba3ddd8b44cde70beb
2023-01-03 18:41:21 +00:00
TreeHugger Robot
39688d2d61 Merge "Update taskbar to spec" into tm-qpr-dev 2023-01-03 17:42:41 +00:00
Shan Huang
81f7d0bbf5 DO NOT MERGE Rename BackEvent to BackMotionEvent in LauncherBackAnimationController.
This cherry-picks ag/20484685 to QPR to mitigate future merge conflicts.

Bug: 238475284
Test: m -j
Change-Id: Ie13c738d0d4a10f4265fbf116ff7b4206d3bfc62
2022-12-29 21:20:40 +00:00
Ikram Gabiyev
cbf9be3015 Merge "Filter recents view instances by package name" into tm-qpr-dev am: 231e061ae1 am: de88fbb252
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342914

Change-Id: I6e847c620e20be97194184ee9cfe94c07752c322
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 02:29:08 +00:00
Tracy Zhou
f7ca69f1b2 Merge "Fix trackpad gesture not able to pull down notification" 2022-12-29 02:13:12 +00:00
Ikram Gabiyev
de88fbb252 Merge "Filter recents view instances by package name" into tm-qpr-dev am: 231e061ae1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342914

Change-Id: Ie221571adf3a3ce537e50de97ecc010d4795e272
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 01:58:17 +00:00
Ikram Gabiyev
231e061ae1 Merge "Filter recents view instances by package name" into tm-qpr-dev 2022-12-29 01:17:42 +00:00
Tony Wickham
2a058f5be1 Update taskbar to spec
- Space between icons is 24dp in all cases (transient, persistent,
  small tablet, large tablet)
- Persistent taskbar icon size remains 44dp, but transient taskbar icon
  sizes have changed slightly: 57dp -> 52dp for large tablets and
  50dp -> 48dp for small tablets
- Also moved all values to quickstep package to avoid confusion

Test: manual, visual
Fixes: 263465844
Change-Id: I563d64dca2d920762233dd6147395c5bba3ffcf3
2022-12-28 18:56:43 +00:00
Luca Zuccarini
9a7c3b3c86 Merge "Revert "Update timings for the Home <> All Apps transition."" into tm-qpr-dev am: 2da05f367d am: b2a8621af0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20833167

Change-Id: I76318626a0e6dc4a2d14e55fdff0f3288077da41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 15:40:23 +00:00
Luca Zuccarini
b2a8621af0 Merge "Revert "Update timings for the Home <> All Apps transition."" into tm-qpr-dev am: 2da05f367d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20833167

Change-Id: I7cfc741093b19c6260ccff742d65ae1b8edb542d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 15:06:50 +00:00
Luca Zuccarini
2da05f367d Merge "Revert "Update timings for the Home <> All Apps transition."" into tm-qpr-dev 2022-12-28 14:03:58 +00:00
Ikram Gabiyev
448e0ade10 Filter recents view instances by package name
Filter instances of GroupTasks based on package name
as a part of support for multi-instance

Add a feature flag to toggle multi-instance features

See the video below for how to use the demo.
Note: some extra UI elements were added since video
was recorded, but the filtering process is the same.
http://recall/-/da585DRwKRZK3S2xxcQrSm/gW9HZnbCvGyH1DQiVizOW2

See go/multi-instance for more info about the feature

Bug: 253520408

Test: manually tested the instance filtering

Change-Id: I19c947ca353699096388b9fbbdca6d75cb0041a7
2022-12-28 00:10:48 +00:00
Chavi Weingarten
4f15d0fe80 Merge "Pass in name for SurfaceSyncGroup to handle debugging better." 2022-12-27 22:39:53 +00:00
Luca Zuccarini
653e57d164 Merge changes from topic "b/260218332-1" into tm-qpr-dev am: 5dd5296527 am: 1270c90a32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20562095

Change-Id: Ieef4edab9edd70e6e24fcba85bd7d8b4c7f1e8cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 15:01:19 +00:00
Luca Zuccarini
1270c90a32 Merge changes from topic "b/260218332-1" into tm-qpr-dev am: 5dd5296527
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20562095

Change-Id: I92c009c2a0269d0e708d947eab4a0f9c5f5aa463
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 14:43:09 +00:00
Luca Zuccarini
5dd5296527 Merge changes from topic "b/260218332-1" into tm-qpr-dev
* changes:
  Add a CUJ for closing All Apps manually.
  Add Tapl support for swiping from All Apps to Workspace.
2022-12-27 14:27:48 +00:00
Luca Zuccarini
e18ac479e5 Revert "Update timings for the Home <> All Apps transition."
Revert submission 20641089-b/254835725

Reason for revert: b/263221786

Reverted changes: /q/submissionid:20641089-b/254835725

Change-Id: I6aa0955b4ac7ed47ea254514b364b0ab94b632bf
2022-12-27 14:18:05 +00:00
Tracy Zhou
f55a513d72 Fix trackpad gesture not able to pull down notification
TouchInteractionService monitors motion events on the homescreen too. While we allow the motion event anywhere on the homescreen, they should not be intercepted by input consumers.

As a byproduct, this fixes pulling up the all apps panel too.

Bug: 255602235
Bug: 263200728
Test: manual
Change-Id: I3e74c4476505d530ff6d3443342a5c36c6faa9e5
2022-12-22 23:24:46 -08:00
Chavi Weingarten
1906862d97 Pass in name for SurfaceSyncGroup to handle debugging better.
Test: perfetto trace and logs
Bug: 263340863
Change-Id: I40d887a071976e1506da9a06a1b50fa9b1394a27
2022-12-22 20:57:29 +00:00
Pat Manning
de24db87ec Merge "Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN." into tm-qpr-dev am: eef0b1640b am: b525727de7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20794890

Change-Id: I93e7fd6caa6bd9ee178c03ccaea3a11b1faeda8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 18:51:15 +00:00
Pat Manning
b525727de7 Merge "Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN." into tm-qpr-dev am: eef0b1640b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20794890

Change-Id: Icb84709366849144227bba98c744f86019d04520
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 18:11:20 +00:00
Pat Manning
eef0b1640b Merge "Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN." into tm-qpr-dev 2022-12-22 17:47:57 +00:00