Commit Graph

14731 Commits

Author SHA1 Message Date
Tracy Zhou
7a8cbd3186 Merge "Support second meta key closing the all apps tray" into udc-dev 2023-04-04 20:13:23 +00:00
Tony Wickham
af02f865ee Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev am: c8d8c58f5b am: 3979706e06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22391708

Change-Id: I6213932faa483c24c9d083b95ee9247c47127128
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 16:37:08 +00:00
Tony Wickham
3979706e06 Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev am: c8d8c58f5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22391708

Change-Id: I1bea5537e4bfbe6bac55010f58979c2f9fcf6fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 16:07:16 +00:00
Tony Wickham
c8d8c58f5b Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev 2023-04-04 15:40:28 +00:00
TreeHugger Robot
c766e052a7 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-04 07:15:18 +00:00
Tracy Zhou
cb93ec5f21 Support second meta key closing the all apps tray
Bug: 270244718
Test: Tap meta key twice, see all apps tray open an close
Change-Id: I6db84aa16b7d21663053bf1b269af6ba36874e47
2023-04-03 20:26:39 -07:00
Brian Isganitis
ecded08ddd Dispatch insets from overlay drag layer.
This simplifies insets handling for All Apps and EDU, and also fixes
some edge cases with All Apps popup menus. KeyboardQuickSwitchView now
needs to ignore insets since it has a hardcoded top margin,
keyboard_quick_switch_margin_top.

Fix: 276804708
Test: All Apps, EDU, and Quick Switch all have proper insets handling.
Change-Id: I93237a057b4f9ae62f71a70c59a58f3c8401c102
2023-04-03 20:37:11 -04:00
Tony Wickham
df59884370 Add debug logs for why taskbar might not be destroyed
Test: Manually read log output
Flag: None
Bug: 254119092
Change-Id: Ibaa7ffdc91030c5c999ddc5f2807a55763854331
2023-04-03 23:20:57 +00:00
Sebastián Franco
60ad6b5abb Merge "Correctly disposing of LauncherUnlockAnimationController" into udc-dev 2023-04-03 22:54:36 +00:00
Jon Miranda
529ee0e426 Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev am: 175f5c865b am: 6e74ffac80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22432562

Change-Id: I80033a60fe7988754b4fdc4943a86eda1a728732
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 21:34:56 +00:00
TreeHugger Robot
a889f63ca1 Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: f00e831f05 am: 08e0083ee9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22424377

Change-Id: I8706f34ac82ab61e2816ee414cd48c427ff7af33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 21:34:27 +00:00
Mike Schneider
7d00aa3b75 Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev am: 99cd75e9e3 am: efbe9408e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22322154

Change-Id: Ie5ca28c4097893ea79b3eb5281bd46ec7f237eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 21:33:31 +00:00
Jon Miranda
6e74ffac80 Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev am: 175f5c865b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22432562

Change-Id: Iba768bfb5b850ed44ba992051cd2e6a1da71e2be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 21:29:48 +00:00
Jon Miranda
175f5c865b Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev 2023-04-03 21:06:21 +00:00
TreeHugger Robot
08e0083ee9 Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: f00e831f05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22424377

Change-Id: I04e48379582caf6a102774c5e15dc40993580f3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 21:00:33 +00:00
Mike Schneider
efbe9408e0 Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev am: 99cd75e9e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22322154

Change-Id: I85b794c9e41f0ce371d9d507ded2f6e599563af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 20:59:34 +00:00
TreeHugger Robot
f00e831f05 Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev 2023-04-03 19:47:40 +00:00
Mike Schneider
99cd75e9e3 Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev 2023-04-03 19:44:23 +00:00
Fengjiang Li
9529f08b1b Merge "[Predictive Back] Gate feature under experiment flag" into udc-dev 2023-04-03 17:39:56 +00:00
Jon Miranda
b0195376d4 Fix badged icons / icons with notification dot being cropped.
For icons, we use radius = 0 during the reveal animation so
that the entire view will be visible.

Fixes: 276625136
Test: - have work profile icon or badged shortcut in taskbar/hotseat
      - swipe up to close
      - also check swipe back to close
      - ensure entire icon is visible at the end of the animation so
        that there is a clean handoff
      - run same test with icons that have notification dot
Flag: ENABLE_TRANSIENT_TASKBAR true

Change-Id: I3fef1eede5cac189dab1bf1be4ebd048720727c7
2023-04-03 10:06:16 -07:00
Vinit Nayak
02f20dddb0 Merge "Default to using SplitSelectSource drawable if TaskView icon drawable is null" into tm-qpr-dev am: 8e307ba50a am: 3e5b212204
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347415

Change-Id: I2f3da1c74ed5ae04ff9cbc4bc06e280da5390b4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 15:54:11 +00:00
Vinit Nayak
3e5b212204 Merge "Default to using SplitSelectSource drawable if TaskView icon drawable is null" into tm-qpr-dev am: 8e307ba50a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347415

Change-Id: I9fe261fdaa96ab8d5a0792a3d69cb201beebdb9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-03 15:22:57 +00:00
Vinit Nayak
8e307ba50a Merge "Default to using SplitSelectSource drawable if TaskView icon drawable is null" into tm-qpr-dev 2023-04-03 14:58:29 +00:00
Mike Schneider
65b1561a68 Change the use of ScreenLifecycle to WakefulnessLifecycle.
This is a better fit for the signal in launcher, since it identifies
whether the device is awake or asleep, where asleep also inclues AoD

Test: manual, unit tests
Bug: 275319714

Change-Id: I6d6a6694ab018d182606c5554377caec1986bc08
2023-04-03 16:47:12 +02:00
Pat Manning
9330d4991e Stash taskbar on swipe to go home for 3p fallback launcher.
Follow up to b/21916480, which was reverted due to test failures which are now fixed.

Fix: 269070986
Test: manual. Install launcher3WithoutQuickstepDebug and swipe to home from within an app.
Change-Id: I52fad88a25325e5c38a600ccf90b30ebf60bf71a
2023-04-03 10:09:11 +00:00
Bill Yi
d53dca08bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1205efa191c795e81cf5ddfde3f2e9e36991991e
2023-04-02 16:51:55 -07:00
Sunny Goyal
ef6b0c0700 Adding a Teamfood flag option
This allows a targetting a collection of flags to a specific group
either using rollout or via opt-in

Flag: N/A
Bug: 274517185
Test: Verified that the team food flag controls dependent-flags
Change-Id: I7e02964d778e3fbf54eda0f34bab8ec5a1206e40
2023-04-02 18:20:30 +00:00
Winson Chung
36ceb49b23 Merge "Fix gesture insets issue for IMEs" into tm-qpr-dev am: 13bf1598b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22382921

Change-Id: I96e3e19cef288f3c62bcd72121673de75b740ccc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-02 04:09:40 +00:00
TreeHugger Robot
503d86c45b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-04-02 03:31:15 +00:00
Winson Chung
13bf1598b9 Merge "Fix gesture insets issue for IMEs" into tm-qpr-dev 2023-04-02 03:26:14 +00:00
Ikram Gabiyev
094c50ea32 Merge "Create an animation for instance filtering" into udc-dev 2023-04-01 21:42:20 +00:00
Winson Chung
8436e0b382 Fix gesture insets issue for IMEs
- Setting the override frame for the gesture insets sources prevents
  the insets from being calculated correctly for the IME window
- Update the set of provided insets based on the current nav mode
  so that we don't report gesture insets in button nav

Bug: 265614886
Test: Dump IME window insets for button/gesture nav
Change-Id: I22f9d09a66b50d6e2fb5002af19058657a06404d
Merged-In: I22f9d09a66b50d6e2fb5002af19058657a06404d
2023-04-01 06:37:47 +00:00
Winson Chung
71b16784c0 Merge "Fix gesture insets issue for IMEs" into udc-dev 2023-04-01 06:37:31 +00:00
Bill Yi
9ed0217d00 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id00dea37f59152b745d84b9d6883c72f8e7012b8
2023-03-31 18:16:12 -07:00
Jeremy Sim
9f0a6b8e82 App Pairs (behind flag): Add Overview menu item, icon, tests
This is the first of several patches implementing the App Pairs feature behind a flag.

This patch includes:
- The icon asset for the "Save app pair" menu option
- The menu option, which will appear in the Overview drop-down menu for split pairs
- Some tests ensuring that the menu item appears when appropriate

Flag: ENABLE_APP_PAIRS (set to false)
Bug: 274189428
Test: 2 tests in TaplTestsSplitscreen.java
Change-Id: I174f2c66e7eb6d83ff7fe501eb82cc48e727022c
2023-03-31 17:16:56 -07:00
Sihua Ma
5ade3e1fef Attempt to fix concurrent modification issue in QuickstepWidgetHolder
Test: N/A
Bug: 275100497
Change-Id: I5db18ff38aa280c2a9957c457ac9565570933513
2023-03-31 17:06:43 -07:00
Fengjiang Li
dcefed1c98 [Predictive Back] Gate feature under experiment flag
As predictive back will be launched for U-QPR, we should gate it to avoid it leaked to U launch.

Test: turn on/off ENABLE_BACK_SWIPE_LAUNCHER_ANIMATION flag and verify predicitive back is turned on/off
Bug: 264920023
Change-Id: Ieee14ca9d49f052f183d8734d62443b890210544
2023-03-31 14:14:03 -07:00
Evan Rosky
b8f82c1a9d Merge "Improve transition logging" into udc-dev 2023-03-31 20:43:15 +00:00
Ikram Gabiyev
3334730a61 Create an animation for instance filtering
Create an animation for multi instance filtering
demo in recents view.

Bug: 253520408
Bug: 276488398
Test: manually reproduce the steps in the bug

Change-Id: I9f5b4a29f18101b8e33d4e43514dcd8a6c49a7a9
2023-03-31 20:30:19 +00:00
TreeHugger Robot
331ab34a2a Merge "Revert "Revert "Simplifying some page indicator dots attributes so that it can""" into udc-dev 2023-03-31 20:10:37 +00:00
Winson Chung
711189df8c Fix gesture insets issue for IMEs
- Setting the override frame for the gesture insets sources prevents
  the insets from being calculated correctly for the IME window
- Update the set of provided insets based on the current nav mode
  so that we don't report gesture insets in button nav

Bug: 265614886
Test: Dump IME window insets for button/gesture nav
Change-Id: I22f9d09a66b50d6e2fb5002af19058657a06404d
2023-03-31 19:41:51 +00:00
Brian Isganitis
7d8b81df09 Merge "Clean up device profile change listeners for AllApps." into tm-qpr-dev am: 4500171c6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22338655

Change-Id: I54c6fb31077ed06f6e0122dca3e47e3a7e6f8f34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 17:33:17 +00:00
Sunny Goyal
7025765c72 Revert "Revert "Simplifying some page indicator dots attributes so that it can""
This reverts commit 0263a679f2.

Reason for revert: Trying again to confirm if this was the actual cause of regression

Change-Id: I2a663015d7ecdcf315634d8a976bf8294b58981d
2023-03-31 17:10:15 +00:00
Brian Isganitis
4500171c6b Merge "Clean up device profile change listeners for AllApps." into tm-qpr-dev 2023-03-31 16:42:07 +00:00
Brian Isganitis
cdfdd444bc Merge "Clean up device profile change listeners for AllApps." into udc-dev 2023-03-31 16:41:54 +00:00
TreeHugger Robot
bc55b29cfe Merge "Fix task bar unstashing and stashing when triggering back gesture using the trackpad" into udc-dev 2023-03-31 15:27:08 +00:00
Winson Chung
b793def6ab Merge "Adding check for recents interface before calling back" into udc-dev 2023-03-31 06:21:50 +00:00
Winson Chung
78486a253d Adding check for recents interface before calling back
- If SysUI crashes, there's a brief period where the interfaces
  are reset before SysUI rebinds to Launcher

Fixes: 276354061
Test: Presubmit
Change-Id: Id1a1a1f41b48b9a7d86c1637cc06b662b5d17914
2023-03-31 06:21:41 +00:00
Riddle Hsu
77a6164f7a Merge "Reduce no-op IPC when swiping up" into udc-dev 2023-03-31 05:11:54 +00:00
Tracy Zhou
f3e9f870bd Fix task bar unstashing and stashing when triggering back gesture using the trackpad
Need to defer starting recents animation. Instead of starting at touch down, will defer to passing initial slop. For the back gesture, launcher gesture nav will cancel the motion events from the input monitor passing the initial slop since it's not detected as a swipe up gesture.

Fixes: 276390218
Test: 3-finger horizontal swipe to go back, and make sure the task bar stay stashed through the transition
Change-Id: I03376c4d9696a9e5679b74e36ec142efa882981b
2023-03-30 21:04:13 -07:00