Commit Graph

60265 Commits

Author SHA1 Message Date
Tony Huang bcb97d7ebc Revert "Implement two intents or shortcuts to active split" am: 0b69d38787
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22506283

Change-Id: I75b9d165dd1d745e04de375a7f404ee5b3f1186a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 08:56:22 +00:00
Tony Huang 0b69d38787 Revert "Implement two intents or shortcuts to active split"
Revert submission 22349283-intents-split

Reason for revert: Cause master branch build break

Reverted changes: /q/submissionid:22349283-intents-split

Change-Id: I1030f801385b6f17e8565f2f64f71ba5229aed73
2023-04-06 08:08:35 +00:00
Tony Huang 4c85783c51 Implement two intents or shortcuts to active split am: e1826dbdc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22343296

Change-Id: I89ec91831a485262bc48c1e1369b9f80542140d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 05:52:43 +00:00
Tony Huang e1826dbdc7 Implement two intents or shortcuts to active split
Implement two intents or shortcuts to active split with shell
transition.

Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: I13522531022b635dc8508a3213b6f414a6b50ce9
2023-04-06 05:19:50 +00:00
Brian Isganitis ed36b2f2da Merge "Make navbar scrim taskbar background if taskbar is enabled." into udc-dev am: 93f20cc2d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387706

Change-Id: Ide1a0dc2a5ef5fb6d885c9a5d9c3a7065088f046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 00:37:01 +00:00
Brian Isganitis 93f20cc2d5 Merge "Make navbar scrim taskbar background if taskbar is enabled." into udc-dev 2023-04-05 23:58:01 +00:00
TreeHugger Robot 888a8b704c Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484 am: 75f7bbc150
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I09de4f12250ff7bec0bb8204193c192192f1eb8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 23:21:46 +00:00
Sunny Goyal c32705ce7b Merge "Removing support for legacy shortcuts from default layouts" into udc-dev am: 8382546a11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22351739

Change-Id: I58e70b7f4beb76b5e096c71b465ca70972b797b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 23:20:26 +00:00
Brian Isganitis 9944f6f853 Merge "Clean up QUICK_WALLPAPER_PICKER." into udc-dev am: 5489507e69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22426081

Change-Id: Ie74079728a496abf69234c33ddeea51a9dc8fc49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 23:18:10 +00:00
Andrew Cole dd8b77fb55 Merge "Improving a flakey uninstall from allapps test." into udc-dev am: 6598fab10c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22478023

Change-Id: I66bc53445f930481aa91d1de0ca6409576532772
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 23:05:57 +00:00
Stefan Andonian 6249b38ee4 Merge "Write ViewCapture data to WmTrace when WindowManager dumps." into udc-dev am: 3d877d3b04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22189048

Change-Id: I1ed6db7dbb16f55270b181b20474c70eac31b551
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:58:26 +00:00
Jon Miranda 74f23d97c3 Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7 am: b5482137ef am: a65e16fc67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244

Change-Id: Ic2afd705158a9d6438f5d1068a7da9acb5881515
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:57:40 +00:00
TreeHugger Robot 75f7bbc150 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I41eea8cf3fa15c9c5c3f3184f2ba75318332f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:36:14 +00:00
Sunny Goyal 8382546a11 Merge "Removing support for legacy shortcuts from default layouts" into udc-dev 2023-04-05 22:26:36 +00:00
TreeHugger Robot a2b770b484 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I71c7f33286ccfa770f87b812c8ec27fa4ecb25ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:06:49 +00:00
Brian Isganitis 5489507e69 Merge "Clean up QUICK_WALLPAPER_PICKER." into udc-dev 2023-04-05 21:56:33 +00:00
TreeHugger Robot 65ac592f40 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev 2023-04-05 21:46:40 +00:00
TreeHugger Robot d92f9fe54d Merge "Don't return early if searching during rebindAdapters()." into udc-dev am: c62a0672ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22266746

Change-Id: I62442cdd269272b64b0da6d5567066ded364792c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 20:34:41 +00:00
Andrew Cole 6598fab10c Merge "Improving a flakey uninstall from allapps test." into udc-dev 2023-04-05 20:27:10 +00:00
Sunny Goyal afaa8f0bfe Removing support for legacy shortcuts from default layouts
Launcher will only allow deep shortcuts to be pinned on homescreen.

Bug: 275875209
Test: Updated tests
Flag: N/A
Change-Id: I4f2674deb9cd81dd07d5d537f35a51b030a183da
2023-04-05 20:20:34 +00:00
Stefan Andonian 3d877d3b04 Merge "Write ViewCapture data to WmTrace when WindowManager dumps." into udc-dev 2023-04-05 20:19:42 +00:00
Jon Miranda a65e16fc67 Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7 am: b5482137ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244

Change-Id: I94b42f6ae10da01e70f6d5555ff596a5d7263785
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 19:39:11 +00:00
TreeHugger Robot c62a0672ab Merge "Don't return early if searching during rebindAdapters()." into udc-dev 2023-04-05 19:33:43 +00:00
Jon Miranda b5482137ef Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244

Change-Id: I75fdac300d2875b28ef0b230c27396c68b469ade
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 18:47:26 +00:00
Jon Miranda 4288be12a7 Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev 2023-04-05 18:20:16 +00:00
Brian Isganitis d100be22f8 Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev am: 296f8776f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22454482

Change-Id: I9990522ae951111f7c56091b648f8ea514e899ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:33:43 +00:00
Jon Miranda 04f051045c Allow grids to specify if we should start align taskbar in 3 button
nav.

Bug: 259712417
Test: check layout on tablet
      check layout on multi_display devices

Change-Id: I282f51e5d76a30e9ad9d8c52d03d4853e965d65a
2023-04-05 10:29:51 -07:00
Andrew Cole 78e1461748 Improving a flakey uninstall from allapps test.
Previously the test froze the all apps list before the uninstall action, but what we are testing here is that the all apps list does change. Also included is a small refactor to use the same wait method for this test and a second test.

Test: Ran Locally on Device
Bug: b/258071914
Change-Id: Ic18be39130fbd7b7e1214d6fc60c1afa30ddf078
2023-04-05 10:16:00 -07:00
Brian Isganitis 296f8776f7 Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev 2023-04-05 17:13:52 +00:00
Federico Baron a6f7829a2b Merge "Rename widgets two pane sheet layout files and spec files to more fitting name" into udc-dev am: 7122921153
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22452415

Change-Id: Ibe750268c181956054b4916ebc8caf900d0d0bf7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:10:00 +00:00
TreeHugger Robot 03fc044fd6 Merge "Create flag for multi-select edit mode" into udc-dev am: c8cc011fad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22463157

Change-Id: I8bcef0fd70ba845e0621fe575f62f342d2a16a6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:09:36 +00:00
Federico Baron 7122921153 Merge "Rename widgets two pane sheet layout files and spec files to more fitting name" into udc-dev 2023-04-05 16:36:36 +00:00
TreeHugger Robot c8cc011fad Merge "Create flag for multi-select edit mode" into udc-dev 2023-04-05 16:36:04 +00:00
Mike Schneider fc2c4356c9 Hide taskbar content while dreaming. am: f0f94f2ed9 am: 472fe81e62 am: bfc556793c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402

Change-Id: I254042bea92c5d93e52f167bc7c16248f78409b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 13:21:14 +00:00
Mike Schneider 9bd6c82886 Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966 am: 5172dd3e36 am: 74e1aa40b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836

Change-Id: Ie4ce3eaacdccd5efbd68ca959f000e24a8825ce3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 13:20:21 +00:00
Mike Schneider bfc556793c Hide taskbar content while dreaming. am: f0f94f2ed9 am: 472fe81e62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402

Change-Id: Ib3d617628644087d9db762562506d1a429e29636
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 12:49:22 +00:00
Mike Schneider 74e1aa40b5 Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966 am: 5172dd3e36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836

Change-Id: I25371fc12c63fa7eff1f49f32c4cc22416dba5bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 12:49:13 +00:00
Mike Schneider 472fe81e62 Hide taskbar content while dreaming. am: f0f94f2ed9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402

Change-Id: I9a701bd2edcc4d0cadff91eb9983c29d0772364c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 12:16:40 +00:00
Mike Schneider 5172dd3e36 Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836

Change-Id: I962f6be19245efef84a70ccd67c5ebf86422c80f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 12:16:32 +00:00
Mike Schneider f0f94f2ed9 Hide taskbar content while dreaming.
When entering the dreaming state, the TaskbarDragLayer is faded out.
Upon wake up, a slight delay is added to  allow the SFPS reader to do
its magic, so the lockscreen-navbar does not pop-in just to be removed
again.

Bug: 271440683
Bug: 275319714
Fixes: 271440683
Test: manual (http://shortn/_cQudGXDSDU)
Change-Id: I34e02f02288bace39626d531d115fc994b11f371
2023-04-05 09:40:21 +02:00
Mike Schneider 2ebfc41966 Factor out explicit animation types for the stash/unstash animations.
This consolidates the logic on what animation to play into one place, and will simplify tuning the lock/unlock transitions

Bug: 275319714
Test: manually (http://shortn/_Q1dTzmIpqK), unit tests
Change-Id: I9ba9c9f13dbbff88d8515e567fdb3dfe5556553e
2023-04-05 09:40:21 +02:00
TreeHugger Robot 52e4bcd1bc Merge "Don't show two pane widget picker in foldables." into udc-dev am: aa017b3c84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22454684

Change-Id: I62ae9b949575d0c701658ba78eff2b035cc0c7fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 01:06:48 +00:00
fbaron d2f0676112 Create flag for multi-select edit mode
Bug: 270709220
Test: n/a
Change-Id: I3855662b56b9d26b5513c7681e7f83fa453a1173
2023-04-05 00:43:38 +00:00
Brian Isganitis 728d19a0e2 Support simple A-Z search in Taskbar All Apps.
Supporting the Launcher3 search box is low hanging fruit, so we might as
well do it.

Also renamed the feature flag to be for search in general.

Test: Launching, split screen, and popups work in search.
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR=false
Change-Id: I056b89be6f458d1d90100e34551baa34037574d1
2023-04-04 20:35:31 -04:00
TreeHugger Robot aa017b3c84 Merge "Don't show two pane widget picker in foldables." into udc-dev 2023-04-05 00:29:16 +00:00
Jon Miranda 41b580bc63 Allow user gesture to take priority over taskbar translation reset animnatiuon.
Bug: 273948325
Test: open overview
      tap to open main app
      quickly swipe up to show taskbar

Change-Id: I0bbb3a354baf9b56652f029a357d8a5803281da5
2023-04-04 17:06:04 -07:00
Andy Wickham 764c21b207 Don't return early if searching during rebindAdapters().
This was a rare case (made less rare by rocket gesture) which was
not actually updating the UI correctly.

Expected flow:
 1. All Apps is inflated with a single recyclerview for apps (as
    defined in xml).
 2. Later, rebindAdapters() is called, and if there are work apps,
    the recyclerview is removed and replaced by a viewpager with 2
    children recyclerviews (one for personal and one for work).
 3. At any point if you start searching, the app rv or viewpager
    is hidden and the search rv is shown.

Actual flow in the error case:
 - Same as above, but if you were searching when 2 happens, we
   returned early, so we never replaced the app rv with the
   viewpager, so all the apps were dumped in the single rv, and
   the header with tabs showed above it.

Fix: 272575605
Test: Manually force first rebind ta happen while searching, and
verify this bug was hit before the fix but not after.

Change-Id: I25b8991564645368840a390733aa893dee4cd10e
2023-04-04 14:46:26 -07:00
Brian Isganitis 0a066f8a84 Merge "Dispatch insets from overlay drag layer." into udc-dev am: d063cc0025
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22442062

Change-Id: Ia94c87531ed12d9cef401ee93e843ba06fc17c5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 20:55:38 +00:00
Tracy Zhou 4e1e8a3b98 Merge "Support second meta key closing the all apps tray" into udc-dev am: 7a8cbd3186
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22328150

Change-Id: Idbfcfc2555e187d9956178fd694aff0ebacd6ec5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 20:54:56 +00:00
Brian Isganitis d063cc0025 Merge "Dispatch insets from overlay drag layer." into udc-dev 2023-04-04 20:33:31 +00:00