Commit Graph

12027 Commits

Author SHA1 Message Date
Wei Sheng Shih
63a63996a5 Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev am: 485c8777cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20828500

Change-Id: I72175f14c7f663b5164b770d45a0376d21db37d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 04:02:50 +00:00
Wei Sheng Shih
485c8777cc Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev 2023-01-06 03:27:56 +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
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
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
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
wilsonshih
ae4a9ac0d4 [ShellTransit] Stabilize QuickSwitch test since Launcher can resumed.
QuickSwitch can resume Launcher activity due to transient launch when
shell transition is enabled, waiting for the Launcher leave resume
stage to make the test stable.

Bug: 263907455
Test: atest TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Change-Id: I2e6e0511cba51f4634ccf3da454e4be1dd93ffd1
2023-01-04 07:23:51 +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
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
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
Bill Yi
57ed3cb095 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47d0aa4b3f6fdab4a9bb52a7707ad7e83294a4ed
2022-12-29 21:37:16 -08: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
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
TreeHugger Robot
b650d40fc2 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:00 +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
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
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
Brandon Dayauon
da5f47e102 Merge "Move VibratorWrapper to AOSP" into tm-qpr-dev am: 2d3f189b80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20796546

Change-Id: I93544409f0ef351ef03d45d1cde90b0c400da4fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 08:44:59 +00:00
Brandon Dayauon
2d3f189b80 Merge "Move VibratorWrapper to AOSP" into tm-qpr-dev 2022-12-22 08:18:12 +00:00
Tony Wickham
a16da8f29d Merge "Adjust taskbar VIS and bottom mandatory gesture insets" into tm-qpr-dev am: 1f155d6fd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20750862

Change-Id: I8836741c8a5cba503a23b61bfac9924f393ad4ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 23:55:16 +00:00
Tony Wickham
1f155d6fd7 Merge "Adjust taskbar VIS and bottom mandatory gesture insets" into tm-qpr-dev 2022-12-21 23:25:59 +00:00
Luca Zuccarini
d3841f36a1 Add a CUJ for closing All Apps manually.
Bug: 260218332
Test: pending
Change-Id: Iafe3b932aca985fb4585dac46c6eaaa6e88c8dd6
2022-12-21 15:39:51 +00:00
Pat Manning
cc31ba5360 Do not animate moving to rest state on CHANGE_ACTIVE_SCREEN.
Fix: 259380717
Test: manual
Change-Id: Icec103b26603290c7998977fa9c4d89132620a9d
2022-12-21 11:37:47 +00:00
Bill Yi
c8cec8e93d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45bd8694fd2f0387ed0f071bf7159ea474978bbf
2022-12-21 00:14:42 -08:00
Ats Jenk
a6ee04ba35 Merge "Taskbar fixes when apps move to desktop and back" into tm-qpr-dev am: ebfe6b6776
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20754487

Change-Id: I099705f4a4fb971e5550b76f194d7d19677250b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 23:53:23 +00:00
Ats Jenk
ebfe6b6776 Merge "Taskbar fixes when apps move to desktop and back" into tm-qpr-dev 2022-12-20 23:29:26 +00:00
Alex Chau
8d18eba59e Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev am: d79e53a5c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782488

Change-Id: Ie66dbeb2b3219b5036554a0ec89ace2187124387
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 18:53:30 +00:00
Alex Chau
d79e53a5c8 Merge "Add transientTaskbarMargin above taskbar in overview" into tm-qpr-dev 2022-12-20 18:40:48 +00:00
Ats Jenk
0ea4768a02 Taskbar fixes when apps move to desktop and back
Fixes to taskbar state when tasks are moved to desktop and fullscreen.

When freeform tasks are visible and we start a new task from taskbar, it
first launches in fullscreen. Transition handler in WMSHell switches it
to freeform as needed. This switch causes launcher activity to be paused
and then resumed. Resuming launcher activity while freeform tasks are
visible, puts the launcher into an incorrect state. (Launcher should
appear paused while freeform tasks are visible).

When a freeform task switches to fullscreen, freeform tasks are no
longer visible. This causes us to resume the launcher activity. We
should not do that if a fullscreen task is visible as it puts the
launcher into an incorrect state. It appears resumed even though the
activity is paused. Added a check to DesktopVisibilityController that
checks if the activity is actually resumed before marking it appear as
resumed.

Test: manual, switch a task to freeform, launch another freeform task
  from taskbar, taskbar should continue to be available
Test: manual, switch a task to freeform, switch the task back to
  fullscreen, taskbar should continue to be available
Bug: 261234278

Change-Id: Ia8d208619fabfcc9bffff6d8d227b236cb62a00c
2022-12-20 10:34:07 -08:00
Brandon Dayauon
5a31c9262e Move VibratorWrapper to AOSP
bug: 233751149
test: manually run and presubmit
Change-Id: I89ada0adf7254396238cb96d27bc265e28093f50
2022-12-20 10:27:21 -08:00
Alex Chau
0bfdd134ee Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev am: 44dd5b7b28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782490

Change-Id: Ie9f2222de708ed7c0e711fab0a1fa7637bb7c333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 10:26:19 +00:00
Alex Chau
44dd5b7b28 Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev 2022-12-20 09:32:04 +00:00
Bill Yi
c326b7849f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-20 06:00:39 +00:00
Sihua Ma
f8ab32a8bc Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev am: 04c89fe38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20418248

Change-Id: Ibe09a5d1ab53070bc6a4b797f95e9d853f86fbc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 19:15:29 +00:00
Sihua Ma
04c89fe38e Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev 2022-12-19 18:22:38 +00:00
Alex Chau
1b276a1ba7 Add transientTaskbarMargin above taskbar in overview
- Also removed transient_taskbar_two_panels_size and use sw720dp override instead, to be consistent with how we handle small vs large tablet in overview
- Also made isTransientTaskbar mockable so we can test that in DeviceProfileDumpTest

Bug: 260596114
Test: DeviceProfileDumpTest
Change-Id: I3c2236b95d91246e9581531478e3c97601cfb2ec
2022-12-19 17:23:27 +00:00
Alex Chau
bd535c46d7 Only skip stash animation when going to/from Launcher
- Added a cehck on chagnedFlags before skipping stash animation, in additional to !isHotseatIconOnTopWhenAligned check

Fix: 262835548
Test: manual
Change-Id: I5a90213bc0b3f34609a074ba887adbf113e04120
2022-12-19 17:16:08 +00:00
Alex Chau
0d5ca5fe6f Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919

Change-Id: I23b86a2c2588e8b22c717626fcf345cf32d1f7a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:46:31 +00:00
Luca Zuccarini
cfab843aa1 Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev am: 49d07b1688
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20641089

Change-Id: I83d7456152d023562734533bc79dc0b8e3460c1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:45:16 +00:00