Commit Graph
31254 Commits
Author SHA1 Message Date
Samuel Fufa 13652ffbb9 Merge "Defer AllAppsUpdate while edu test is running" into sc-dev am: 119110ab4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13775476

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I89a8e973ab2878e501e3c2dca998ed0753ec37fb
2021-03-05 17:49:55 +00:00
Tracy Zhou d9f4a30ecd Merge "Reset primary and secondary translation of mLiveTileSimulator after settling into Overview" into sc-dev am: 72d748f718
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13784321

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3141e1bdc9f3cda10b8b51d6a544cb4ae9d8de9c
2021-03-05 17:48:18 +00:00
Samuel Fufa 119110ab4e Merge "Defer AllAppsUpdate while edu test is running" into sc-dev 2021-03-05 17:45:20 +00:00
Tracy Zhou 72d748f718 Merge "Reset primary and secondary translation of mLiveTileSimulator after settling into Overview" into sc-dev 2021-03-05 17:28:22 +00:00
TreeHugger Robot 7fbeda3828 Merge "Fix scrolling bugs in full widgets sheet" into sc-dev am: bd16cc3cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13754140

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3b8dc0ab25884aaeb00649421b6f7d4e54482476
2021-03-05 17:17:31 +00:00
Alina Zaidi d815ff8e20 Merge "Interface for WidgetPickerSearchPipeline." into sc-dev am: 94b622da80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13690209

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5e93b1ca7eac7e33cf2e0c024f6f5c1dbb6eebcd
2021-03-05 17:17:19 +00:00
TreeHugger Robot bd16cc3cf3 Merge "Fix scrolling bugs in full widgets sheet" into sc-dev 2021-03-05 16:55:44 +00:00
Alina Zaidi 94b622da80 Merge "Interface for WidgetPickerSearchPipeline." into sc-dev 2021-03-05 16:50:38 +00:00
Steven Ng 7f7b2f7ee9 Fix scrolling bugs in full widgets sheet
Bugs:
1. Layout margins were not taken into account
2. Fast scroller offset has a different scale to the recycler view
3. Update padding & margin in onMeasure rather than in onLayout

TODO: fast scroller measurement doesn't take into account of
      expanded item. It naively use the same height for all items
      from the recycler view adapter.

Test: Open full widgets sheet for both work profile and non-work
      profile setup. Scrollbar initial position is correct. Scroll
      up and down to confirm views vertical translation is correct.

Video: https://drive.google.com/file/d/1kp3iSm23RVk_otBNeYalEPPkWjjWMOY0/view?usp=sharing

Bug: 181629430
Change-Id: I398a94510751782e78aa8f426f37b03ecca8ec99
2021-03-05 11:44:47 +00:00
Sunny Goyal 577ef79e04 Merge "Fixing empty page not removed when drag ends" into sc-dev am: befaad269e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13742639

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib97a98094d61e39b2a85ec46b0da59a2cd9f8439
2021-03-05 07:23:54 +00:00
Tracy Zhou e2dc985f59 Reset primary and secondary translation of mLiveTileSimulator after settling into Overview
Fixes: 181929353
Test: manual
Change-Id: I1ca36f77f0efc32803f5128eedd21b89e2b1d2b5
2021-03-04 22:43:50 -08:00
Sunny Goyal befaad269e Merge "Fixing empty page not removed when drag ends" into sc-dev 2021-03-05 06:29:33 +00:00
Winson Chung ca26c69b5f Merge "SystemUI proxy updates for managing split screen" into sc-dev am: b93119e3b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13732341

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5f25acb72f2682e1256a0f80231761a1532e30f
2021-03-05 05:14:52 +00:00
Tony Wickham df1c08f573 Space out empty taskbar hotseat views when on home screen am: 64edc22c8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13764911

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia00b5485f92c85143782bacb70bebb3bae16143e
2021-03-05 05:08:14 +00:00
Tony Wickham f889c52403 Merge "Align real hotseat with taskbar hotseat during drag and drop" into sc-dev am: 634f600848
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13755855

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I455b84518446272c426f4c0c0886e0f4acd76aa4
2021-03-05 04:53:35 +00:00
Steven Ng ebc3a1ed13 Merge "Remove unused widgets_scroll_container layout" into sc-dev am: 239101c512
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13754138

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I04adf23d9f54f3285578d86d5887c9159fbf1b10
2021-03-05 04:51:06 +00:00
Winson Chung b93119e3b9 Merge "SystemUI proxy updates for managing split screen" into sc-dev 2021-03-05 04:25:11 +00:00
Tony Wickham 64edc22c8b Space out empty taskbar hotseat views when on home screen
This ensures the taskbar hotseat aligns with the home screen
hotseat, as the latter supports empty cells. When in apps,
the taskbar still collapses the empty cells.

Test: Turn off hotseat predictions, remove some hotseat items,
and ensure the taskbar hotseat spreads out when on home.

Bug: 179886115
Bug: 171917176
Change-Id: I6047c3c5691685edcd8b3519e0305812b1295550
2021-03-04 23:54:34 +00:00
Tony Wickham 634f600848 Merge "Align real hotseat with taskbar hotseat during drag and drop" into sc-dev 2021-03-04 23:53:55 +00:00
Steven Ng 239101c512 Merge "Remove unused widgets_scroll_container layout" into sc-dev 2021-03-04 23:22:17 +00:00
Samuel Fufa 3531778a08 Defer AllAppsUpdate while edu test is running
Bug: 159671700
Test: Presubmit
Change-Id: I6f1421117286225d80a1538e45fbf2592229b586
2021-03-04 14:11:38 -06:00
Xin Li 9849036e35 [automerger skipped] Merge "Merge RQ2A.210305.007" am: b1826d09b5 -s ours am: 3aa15f3f6b -s ours am: f053b13529 -s ours am: 9cde419ee0 -s ours
am skip reason: Change-Id Icc96bfa8a3d59a19194a154baeaffaea1281af0a with SHA-1 3be35ec269 is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1613681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icdeef8576ec8bdc311198d8b0643b48aa78453fd
2021-03-04 00:40:19 +00:00
Xin Li 9cde419ee0 [automerger skipped] Merge "Merge RQ2A.210305.007" am: b1826d09b5 -s ours am: 3aa15f3f6b -s ours am: f053b13529 -s ours
am skip reason: Change-Id Icc96bfa8a3d59a19194a154baeaffaea1281af0a with SHA-1 3be35ec269 is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1613681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I90209e1790bc22ad0b3603172a6dd3b0e36ddbd3
2021-03-04 00:11:58 +00:00
Xin Li f053b13529 [automerger skipped] Merge "Merge RQ2A.210305.007" am: b1826d09b5 -s ours am: 3aa15f3f6b -s ours
am skip reason: Change-Id Icc96bfa8a3d59a19194a154baeaffaea1281af0a with SHA-1 3be35ec269 is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1613681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib6f3a42ec8a6ddddb8572ea391431c0833b66b39
2021-03-03 23:36:59 +00:00
Xin Li 3aa15f3f6b [automerger skipped] Merge "Merge RQ2A.210305.007" am: b1826d09b5 -s ours
am skip reason: Change-Id Icc96bfa8a3d59a19194a154baeaffaea1281af0a with SHA-1 3be35ec269 is in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1613681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6a0fb0f0fb011feaab78b67e08cc3c6d29cc3d71
2021-03-03 22:28:30 +00:00
Schneider Victor-tulias 064629af31 Merge "Fix incremental download progress of workspaceiteminfos." into sc-dev am: eac03af4a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13711322

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3253c591dd6530e1cb50f6d079cf3d35f407b471
2021-03-03 22:02:57 +00:00
Tracy Zhou 5ceb33e604 Add NavigationModeFeatureFlag am: 162ed05ac9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714559

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f55b37956a4cbe07f18e953b3f64a4af5dce910
2021-03-03 22:01:46 +00:00
Xin Li b1826d09b5 Merge "Merge RQ2A.210305.007" 2021-03-03 21:41:29 +00:00
Schneider Victor-tulias eac03af4a1 Merge "Fix incremental download progress of workspaceiteminfos." into sc-dev 2021-03-03 21:19:44 +00:00
Tony Wickham a29a046d83 Align real hotseat with taskbar hotseat during drag and drop
Remove hotseat space from workspace in DeviceProfile if
taskbar is present, and instantly swap between taskbar and
hotseat when entering SpringLoadedMode. To allow for an exact
handoff, we also scale up the TaskbarView such that its icons
match the hotseat icon size when on the home screen.

Note that this CL only supports dragging to the taskbar, not
out of it (which still triggers system drag and drop instead).

Test: In RTL and LTR, drag a workspace item and ensure hotseat
seamlessly swaps with the taskbar hotseat and allows drops.

Bug: 179886115
Bug: 171917176

Change-Id: Id6462075b9b0b66b06d51a78c9c0b3e11e83e84d
2021-03-03 11:16:42 -08:00
Schneider Victor-tulias eedab487e3 Fix incremental download progress of workspaceiteminfos.
WorkspaceItemInfo intent package names could be null, while the item info itself had a non-null package name. Added a helper method checking component package names first, then intent package names as a fallback for deep shortcuts.

Demo: https://drive.google.com/file/d/1No44OD7SAD9qdmu-O6g3WaGdFjFLu2in/view?usp=sharing

Fixes: 181261930
Test: Manually on device
Change-Id: Ie2e10a79865b4898038fbdd4bbd9a7e9e1d42366
2021-03-03 18:56:10 +00:00
Tracy Zhou 162ed05ac9 Add NavigationModeFeatureFlag
3 Button mode doesn't use recents animation so live tile would not work on 3 button mode before migration to recents animation happens.

Bug: 169694902
Test: manual
Change-Id: I9574c624f3d220834fa18e910637cd64460adb0c
2021-03-03 10:52:12 -08:00
Tony Wickham a1aac43358 Merge "Add debug log for initInputMonitor()" into sc-dev am: 4092352a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714484

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I267e03f22eeac8794788961c05d76c0264c691c4
2021-03-03 17:22:32 +00:00
Xin Li 66ff39e1bc Merge RQ2A.210305.007
Bug: 180401296
Merged-In: Icc96bfa8a3d59a19194a154baeaffaea1281af0a
Change-Id: I399d98f43a2799fbdada6e73afe450edcba6eec7
2021-03-03 09:12:18 -08:00
Tony Wickham 4092352a99 Merge "Add debug log for initInputMonitor()" into sc-dev 2021-03-03 16:42:33 +00:00
Steven Ng ab522e85b2 Remove unused widgets_scroll_container layout
Test: Compile NexusLauncher successfully

Bug: 181701011
Change-Id: I35d1c9324990e86496c45ca6db5f32f9588c7279
2021-03-03 13:54:02 +00:00
Alex Chau c1d8417d0f Merge "Show TaskView as grid in large screens" into sc-dev am: aa47630ecd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13552681

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I195e81eaa737485a45c291240de1616183773ad4
2021-03-03 11:12:22 +00:00
Alex Chau aa47630ecd Merge "Show TaskView as grid in large screens" into sc-dev 2021-03-03 10:08:01 +00:00
TreeHugger Robot 75de4f64b8 Merge "Better diagnosing leaked activities." into sc-dev am: 161b27d5c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13714586

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0a0ef05fca9fdeeca6afb4741ba68f0219403f61
2021-03-03 08:56:03 +00:00
TreeHugger Robot 161b27d5c5 Merge "Better diagnosing leaked activities." into sc-dev 2021-03-03 08:26:34 +00:00
Jonathan Miranda 216dfe4a98 Merge "Use grid border spacing as widget padding if possible." into sc-dev am: 41a5c37009
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13710104

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I902d61b4c40dd68dce950b9d99566dd2c0646ef1
2021-03-03 01:05:34 +00:00
Jonathan Miranda 41a5c37009 Merge "Use grid border spacing as widget padding if possible." into sc-dev 2021-03-03 00:24:27 +00:00
Sunny Goyal 97c2e513b3 Fixing empty page not removed when drag ends
Bug: 179550470
Test: Verified on device
Change-Id: Ie9b20dfde1a64b385041f6e4d32fe47e3c6e5a7d
2021-03-02 13:00:22 -08:00
TreeHugger Robot bdf01bc359 Merge "Fix some issues with TwoButtonNavbarTouchController" into sc-dev am: ce7961a493
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13740975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5de029df53dfe270db7c75a4c651a819b303965a
2021-03-02 20:34:40 +00:00
TreeHugger Robot 0958bd769e Merge "Fix NPE in FlingToDeleteHelper" into sc-dev am: fe67c6be0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13741294

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If1ad90b7a21afa4ec51f04807abe3f7301568148
2021-03-02 20:31:46 +00:00
Alina Zaidi b8ad633b7e Interface for WidgetPickerSearchPipeline.
Test: not required
Bug: b/157286785
Change-Id: Ib0a4d2915bd678304e7971cdfd7296811ea8587b
2021-03-02 20:30:03 +00:00
TreeHugger Robot ce7961a493 Merge "Fix some issues with TwoButtonNavbarTouchController" into sc-dev 2021-03-02 20:14:32 +00:00
Jon Miranda 611dba4c94 Use grid border spacing as widget padding if possible.
Widget padding is added by the system to create reliable consistency
between widgets.

Now that we have added border spacing between cells on the launcher
grid, we have significantly decreased the available space for widgets
on home screens: widget padding is 8dp on all sides, border spacing is
currently spec'd to be 16dp.

We can inset the widget padding added by the system, and instead rely
on the border spacing between cells to create reliable consistency
between widgets.

Bug: 175329686
Test: manual
      turn CellLayout#VISUALIZE_GRID debug flag on
      test drag and drop, resizing using drag handles
      view measurements in go/web-hv
Change-Id: Iabb9f45e82e4ae039f55d7fd27fbd0d23be60191
2021-03-02 15:06:46 -05:00
TreeHugger Robot fe67c6be0b Merge "Fix NPE in FlingToDeleteHelper" into sc-dev 2021-03-02 20:00:53 +00:00
Jonathan Miranda 01e8cf668b Merge "More grid changes, closer to final specs." into sc-dev am: a9bb9394a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13701885

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iae32e7a3e90332723b5aeb2897d559a7a9e101a5
2021-03-02 19:47:50 +00:00