Commit Graph

19452 Commits

Author SHA1 Message Date
Jeremy Sim 328a338b9b Merge "App Pairs (behind flag): Add new ItemInfo types and DB save functionality" into udc-dev am: 6e0f34cc0a am: b953cb12fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347413

Change-Id: I71c29f7a183978afa480d9b1ab7097360b484bae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 04:45:19 +00:00
Vinit Nayak 0ed1e4802a Merge "Support splitting from workspace with Widgets" into udc-dev am: 955555a314
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22727308

Change-Id: I3cfe07ee1207dd0c0dae3a47b4849a2f771d8aef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 04:08:24 +00:00
Jeremy Sim b953cb12fc Merge "App Pairs (behind flag): Add new ItemInfo types and DB save functionality" into udc-dev am: 6e0f34cc0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347413

Change-Id: I8c32e16025cdef614a2dfeb1fae49165ce81ef33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-22 04:07:43 +00:00
Vinit Nayak 955555a314 Merge "Support splitting from workspace with Widgets" into udc-dev 2023-04-22 03:55:23 +00:00
Jeremy Sim 6e0f34cc0a Merge "App Pairs (behind flag): Add new ItemInfo types and DB save functionality" into udc-dev 2023-04-22 03:21:17 +00:00
Bill Yi 1df61c9f4b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I16d758db3725eca5c664de76792a59b3550b80ac
2023-04-21 18:33:52 -07:00
Bill Yi acdcfe4731 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5628eb71f48452a705d8c1a1e41390a847809385
2023-04-21 16:04:39 -07:00
Saumya Prakash 2f3d412b24 Update the mock hotseat for the Gesture Navigation tutorial
The redesigned gesture navigation tutorial was using older files for the
mock hotseat when swiping up to home. This adds in the correct files to
align with the design and be consistent with the mobile version of the
tutorial.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 278790706
Test: Went through the gesture tutorial on small screen and large screen devices.
Change-Id: Ib3cffd1b8b62220ff0b1458e32b3825396cdb6a0
2023-04-21 22:31:03 +00:00
Fengjiang Li 79b9df45d3 Merge "Check build version before using predicitve back API" into udc-dev am: 5068718fe8 am: 36f7ba3944
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22776729

Change-Id: I4d02e3be8675b0e72fc7eb96ac03bbfdef7fefc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 21:46:42 +00:00
Jeremy Sim 7cf0dd9e03 App Pairs (behind flag): Add new ItemInfo types and DB save functionality
This is the second of several patches implementing the App Pairs feature behind a flag.

This patch includes:
- AppPairsController, a new controller that will handle creation, launching, and deletion of app pairs
- ITEM_TYPE_APP_PAIR is a new type of FolderInfo (FolderInfo now can be either a folder or an app pair, and should probably be renamed to CollectionInfo or something more generic in future)
- Necessary plumbing for these new types
- Database code that handles saving a new app pair to the database with the correct schema

Flag: ENABLE_APP_PAIRS (set to false)
Bug: 274189428
Test: Not included in this CL, but will follow
Change-Id: Ie3aefd4eb9171f471789f54876de742849d3013b
2023-04-21 14:23:54 -07:00
Vinit Nayak fd46900b96 Support splitting from workspace with Widgets
* Need to insert widget's icon in animation
* Launching w/ same package app + widget is
broken

Test: Launched apps from predicted apps + widget,
hotseat apps + widget
Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Bug: 276361926

Change-Id: I3e30189e56536371ebd0acfbdd2c073a882cc731
2023-04-21 14:05:12 -07:00
Fengjiang Li 36f7ba3944 Merge "Check build version before using predicitve back API" into udc-dev am: 5068718fe8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22776729

Change-Id: I690a2b7867f7d210667c12b6b6e4218db94af186
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 21:04:36 +00:00
Fengjiang Li 5068718fe8 Merge "Check build version before using predicitve back API" into udc-dev 2023-04-21 20:22:09 +00:00
Liana Kazanova af289a1cd1 Revert "Introduce library for public animation APIs"
Revert submission 22740447-animation-library

Reason for revert: b/279195827

Reverted changes: /q/submissionid:22740447-animation-library

Change-Id: Ie2ef34f8bdb3076a015d91742be041c7c9ade8a2
2023-04-21 19:14:23 +00:00
Fengjiang Li 55e648f682 Fix NPE of predictive back in TaskbarAllAppsSlideInView
Fix: 278597104
Test: tested predictive back in taskbar all apps view
Change-Id: I32e3cba5d26b3d05e9b7af584598bf04e512a684
2023-04-21 11:12:40 -07:00
Jagrut Desai f76496369d Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev am: 64b79a9fad am: dc22d38d4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22519946

Change-Id: I98bf2cc5dc1dd19875e4f1c8d4d9f75283299748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 17:36:36 +00:00
Jagrut Desai b66808c026 Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev am: 64b79a9fad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22519946

Change-Id: I5e833b4fe492e7cade8aa7b5244a8fd256763565
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 17:00:40 +00:00
Fengjiang Li d0c2359a49 Check build version before using predicitve back API
Test: build and run app
Fix: 278798546
Change-Id: I4a7b226b1d710cc84ef40b59a33f50a84aca84bb
2023-04-21 09:38:59 -07:00
Brian Isganitis bd114c2241 Add header protection for Taskbar All Apps search bar.
Works similar to ActivityAllAppsContainerView<->ScrimView
implementation, except utilizes AbstractSlideInView's builtin scrim.

Test: Manual
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR=false
Bug: 216683257
Change-Id: Ide41ac47ecffc232fffac34c6bfdda67c1da549d
2023-04-21 16:16:55 +00:00
Jagrut Desai 64b79a9fad Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev 2023-04-21 16:15:07 +00:00
Kateryna Ivanova b5c4f6325d Introduce library for public animation APIs am: 2d6a8e3a87 am: ccd6e9194f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22739941

Change-Id: Ia3edaa9bb8cb73f67cbca158c4e94cf9ed596b49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 14:47:22 +00:00
Kateryna Ivanova bb615c29c3 Introduce library for public animation APIs am: 2d6a8e3a87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22739941

Change-Id: Ic6585ccf2de38444d53273a8a4bbdadaa9711103
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 14:31:21 +00:00
Robin Lee 7e5594928c Remove keyguard state from onAnimationCancelled
Reason for revert: b/276433230

Test: atest CtsWindowManagerDeviceTestCases:KeyguardTests
Test: atest PowerKeyGestureTests
Bug: 276433230
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:11e6fdd982ab7e6df951dcfe97948f81a8f36d75)
Merged-In: I62d760206dfd13ba4de7a77d2906b0f90bd2c343
Change-Id: I62d760206dfd13ba4de7a77d2906b0f90bd2c343
2023-04-21 09:06:02 +00:00
Kateryna Ivanova 2d6a8e3a87 Introduce library for public animation APIs
* Add a public library
* Pull Interpolators implementation from systemui animation library
* migrate existing usages of Interpolators

Test: n/a
Bug: 271850966
Change-Id: I3f941423b76f555b2c1e7205e23d5ff9ad95d413
2023-04-21 08:06:47 +00:00
Andreas Agvard d801572322 Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev am: 43327eb082 am: 4bef922c78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22738281

Change-Id: Id8c8b53210b6a478fac98021ca21c7b14cf35155
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 07:47:43 +00:00
Andreas Agvard 4bef922c78 Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev am: 43327eb082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22738281

Change-Id: Ie91361e9e02b5f4bd4948d9b9e0971cec6896eaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 07:10:25 +00:00
Andreas Agvard 43327eb082 Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev 2023-04-21 06:36:09 +00:00
Wei Sheng Shih 2d50fd0e6d Merge "Polish reveal animation after onTasksAppeared." into udc-dev am: 8b71205fa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22606971

Change-Id: I780f1894e15c64bade0989cb03a7d1d206eefc65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 05:06:14 +00:00
Wei Sheng Shih 0e71b6931e Merge "Polish reveal animation after onTasksAppeared." into udc-dev am: 8b71205fa9 am: 60a875a409
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22606971

Change-Id: I7f901a41bea09bd0db59e6f4274045483c1b5e10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 05:06:01 +00:00
Presubmit Automerger Backend 768aeafb11 [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3 am: 5ab41346d8 am: cc471ee2ee am: 641897ace5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: I3f0eed564a72113fb473729235a953b38c1ea5bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 05:05:16 +00:00
Jagrut Desai c6d625b8db Exposing functionality to pin Taskbar from TaskbarDividerPopupView.
This CL allows user to long press on Taskbar divider view to bring up divider popup view. It also included functionality of allowing user to turn on always show taskbar from the divider popup view.

Test: Manual
Bug: 265436055
Bug: 265434718
Bug: 265434902
Bug: 265434705
Flag: ENABLE_TASKBAR_PINNING

Change-Id: Ied54d718483a9b06b053d68988e5c294a786002a
2023-04-20 22:04:21 -07:00
Wei Sheng Shih 8b71205fa9 Merge "Polish reveal animation after onTasksAppeared." into udc-dev 2023-04-21 04:44:56 +00:00
Presubmit Automerger Backend dce6abef7e [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3 am: 5ab41346d8 am: cc471ee2ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: Ibdd17af28d3a2dbce78ff9481c6cf7337f4b2e14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 04:42:37 +00:00
Presubmit Automerger Backend cc471ee2ee [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3 am: 5ab41346d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: I16a861cfa872f928c5e4414a9f0ecdceacf1f325
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 03:57:05 +00:00
Tracy Zhou ff0fd90048 Merge "Support 3-finger swipe to pull down notifications from app" into udc-dev am: 7c49cb3ac2 am: 4a6d844ce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22725560

Change-Id: I56b14ca9f42c3b241b541122196deac801b54eda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 23:25:45 +00:00
Presubmit Automerger Backend 5ab41346d8 [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: Ib5981d226c7cabe8e302c108b198c3fb657f3812
2023-04-20 23:21:40 +00:00
Jon Miranda cb582591b3 Clear Accessibility Focus from icon after Shorcut Menu invoked
Similar to I2726504094af2abacf1c41089c7bcd4efb588099

Fixes: 267695526
Test: have talkback on
      open all apps
      open long press menu
      ensure focus stays on pop up menu

Change-Id: I38f78df3855495c53a5ae8966e9a996e4679e95b
2023-04-20 16:21:02 -07:00
Tracy Zhou 4a6d844ce3 Merge "Support 3-finger swipe to pull down notifications from app" into udc-dev am: 7c49cb3ac2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22725560

Change-Id: I2779d1b8dd5e41deb7c483c8acc37950ff203aa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 22:47:50 +00:00
Tracy Zhou 7dc9e3a088 Support 4-finger gesture to quick switch
Fixes: 270610237
Test: 4-finger horizontal swipe -> quick switch
Change-Id: I981a7e93ecd07357c7a9cda075f476b397c448cc
2023-04-20 22:34:19 +00:00
Tracy Zhou 7c49cb3ac2 Merge "Support 3-finger swipe to pull down notifications from app" into udc-dev 2023-04-20 22:19:03 +00:00
Schneider Victor-tulias 4672431bb4 Merge "Update the BorderAnimator" into udc-dev am: 7da60438a3 am: a186a3592b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22515873

Change-Id: Iaf3cbfd46557f86c3f37e26bcde64a154b68fcaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 21:41:07 +00:00
Schneider Victor-tulias 2a08542071 Merge "Update the BorderAnimator" into udc-dev am: 7da60438a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22515873

Change-Id: I83d9d878ca76f10dbb86709e7ca146e3359264a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 21:01:15 +00:00
Schneider Victor-tulias 7da60438a3 Merge "Update the BorderAnimator" into udc-dev 2023-04-20 19:59:44 +00:00
Brandon Dayauon b56a488176 Merge "Fix two line item of app-title only in A-Z list and not predicted app row" into udc-dev am: e16a595626 am: e9479924b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22440092

Change-Id: I28f13107c1c0afaf22dae0f6180ffdab641f6280
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 18:37:05 +00:00
Brandon Dayauon e9479924b1 Merge "Fix two line item of app-title only in A-Z list and not predicted app row" into udc-dev am: e16a595626
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22440092

Change-Id: I9f721896dd4c1cfa685ec4a8e5628b666932ffde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 17:59:58 +00:00
Brandon Dayauon e16a595626 Merge "Fix two line item of app-title only in A-Z list and not predicted app row" into udc-dev 2023-04-20 16:59:10 +00:00
Robin Lee b00e948730 Merge "Remove keyguard state from onAnimationCancelled" 2023-04-20 16:51:05 +00:00
Mady Mellor a088308343 Creates BubbleBarController
Creates BubbleBarController which is responsible for registering
a listener to hear about bubble state changes and propagates those
changes to BubbleBarViewController.

Additionally, it loads the data and creates the individual BubbleViews
that are added to BubbleBarView.

Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I45b0d3a764cd14b2fc5d34aec2b81c7fecb541cf
2023-04-20 09:12:12 -07:00
Andreas Agvard 167a7ba13b Rename notifyGestureStartedAsync to notifyGestureStarted
Since there is nothing async about it's implementation.

Test: Since it's a name change compilation is the only test needed.
Bug: 278976890
Change-Id: I0057be3c25c3ec80054d3830fe706ec8f9995ea7
2023-04-20 09:52:06 +02:00
wilsonshih 146e81b8c2 Polish reveal animation after onTasksAppeared.
Showing the animation leash of appearedTaskTargets if there need to
play the reveal animation behind splash screen view.
Pausing applyDepthAndBlur while playing splash screen exit animation
from launcher side, otherwise the app window would be blurred.

Bug: 277704255
Test: manual, do quickswitch to start the app behind splash screen
view, verify no flicker or blur happen when playing reveal animation.

Change-Id: I83604ceeaeb54ab2100fdabf45a1624644b85e37
2023-04-20 14:47:51 +08:00