Commit Graph
58436 Commits
Author SHA1 Message Date
Winson Chung 90d5e6bc42 Merge "Add some logging for failure to get recents" into sc-dev 2021-03-05 20:46:30 +00:00
Alex Chau f937b5777b Merge "Animate task from overview grid when launching" into sc-dev am: 56a83b0dd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13787178

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic0804b57d6a21bc73ea181fd0c08e3e2a9e3297a
2021-03-05 20:35:48 +00:00
Alex Chau 33fa2051b8 Merge "Animate task from overview grid when launching" into sc-dev am: 56a83b0dd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13787178

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9ed50c99baab8b2867fd2c7b8f04ad4859bd541d
2021-03-05 20:34:36 +00:00
Alex Chau 56a83b0dd4 Merge "Animate task from overview grid when launching" into sc-dev 2021-03-05 20:06:40 +00:00
Steven Ng 46b0d8e291 Inflate layout preview for work profile
Also fix a bug which LivePreviewCells are not used in full widgets
sheet.

Test: Temporarily replace the previewLayout with initialLayout
      from the code. Then, open both the full and bottom widgets
      sheet. Observe initial layout is rendered correctly for both
      personal and work profile.

Screenshot: https://screenshot.googleplex.com/BgJycVjzeoU3PNf.png

Bug: 181061277
Change-Id: Id635ee778008b6f94009f50bf4373d3b0f545417
2021-03-05 20:02:31 +00:00
Tony Wickham 6643088959 Nullify taskbar hotseatView tag when the cell is empty
This ensures that a removed view becomes invisible.

Test: turn off hotseat suggestions, drag an item out
and verify it's removed from taskbar as well
Bug: 179886115
Bug: 171917176

Change-Id: Iec509c2f0c420cee6f86feb293419bb2249a8dc4
2021-03-05 10:25:15 -08:00
Steven Ng 58266226db Merge "Add shortcuts count as a subtitle in the full widgets sheet" into sc-dev am: 1f4a3414f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13712833

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib9f628ed5ec312972dc43af1a0a6a41ea6957413
2021-03-05 18:07:49 +00:00
Steven Ng e06e2e78b5 Merge "Add shortcuts count as a subtitle in the full widgets sheet" into sc-dev am: 1f4a3414f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13712833

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I23b6b0382084bd7bb6937ee0b20510b6431d736d
2021-03-05 18:07:44 +00:00
Steven Ng 1f4a3414f1 Merge "Add shortcuts count as a subtitle in the full widgets sheet" into sc-dev 2021-03-05 17:56:11 +00:00
Samuel Fufa 8c4d83cfee 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: Ief439723f5049949243df30f1b0618b357d5a45f
2021-03-05 17:50:57 +00:00
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 78003e9ea6 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: Ic35afd32f7c4815bdab907554183cb681257c837
2021-03-05 17:48:42 +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 9d3ebfa28e 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: Idc7101515efa946def1f054ef7dccb8793b15e20
2021-03-05 17:18:02 +00:00
Alina Zaidi 5256bbd288 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: Icccc124ed4a5ef1b889a0fb24c277283b6b94548
2021-03-05 17:17:56 +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
Alex Chau 718d0c3e2f Animate task from overview grid when launching
Bug: 174464863
Test: Manually launching from different grid positions
Change-Id: Iafb03b86c6b85fb0ebabc0f2ba98acf89d7ea971
2021-03-05 16:59:29 +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
wilsonshih 77c1673e64 Let Launcher able to receive task launching callback(4/N)
Ref doc: go/starting_window_android_s
Test: build/flash
Bug: 131311659
Bug: 131727939
Bug: 152480470

Change-Id: I4354ef33fe60c6026ab7f5e47fa024011e637359
2021-03-05 20:57:45 +08: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
Pierre Barbier de Reuille 18d159a250 Correct Launcher3 for new sizes in App Widgets.
This follow recommendations from the API council review.

Also removes two public functions introduced recently by
http://ag/13473552 and are not needed anymore.

Bug: 181611658
Test: Manual testing with local widget.
Change-Id: I8d0c90a80a0d45981bd5d16e69cd86639d5ec7d8
2021-03-05 11:44:11 +00:00
Steven Ng bcab2a808a Add shortcuts count as a subtitle in the full widgets sheet
Screenshot: https://screenshot.googleplex.com/9Ds55rsFSNajLWN.png

Test: Open full widgets sheet and observe widgets and shortcuts
      counts are correctly displayed.

Bug: 180725078
Change-Id: Ibf43c14cc06c0e9bf245c53f190095d0eaeace12
2021-03-05 09:54:56 +00:00
Tracy Zhou 6f25775978 Remove LiveTileOverlay
Since we place app on top during the initial swipe up, LiveTileOverlay is no longer necessary. LiveTileOverlay was used to hole punch during the initial swipe when we place app under. After the initial swipe up settles in overview, hole punching job is given to the TaskView.

Fixes: 181937887
Test: manual
Change-Id: If5293dc0143af8be9db9d2745f567c4c680010a0
2021-03-05 01:10:08 -08:00
Sunny Goyal 17d8d426dc 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: I45c2facf5d13f63026e62574ac3e11d3211f263c
2021-03-05 07:24:59 +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
Sunny Goyal a0bc6d964e Removing some animation special casing for 2-button mode
This would simplify reusing the same code for 3-button mode

Test: Verified on device
Bug: 175137718
Change-Id: Ia757eec069efc251475baa6af38c690431325f66
2021-03-04 22:25:30 -08: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
Winson Chung f985fefe4f 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: I5becd458eed4a24cf6a0bd36ed4e55ed5d0b473f
2021-03-05 04:55:26 +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
Tony Wickham 84f8bb7810 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: Ie406453c421f336a66607e1ccba33f23b5868d19
2021-03-05 04:52:23 +00:00
Tony Wickham 39b7595449 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: I703515e01c267423bf21ea680a4f30090364fb08
2021-03-05 04:51:15 +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
Steven Ng 52f45c8313 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: I3ea59ef56ec69a55501843f1353624aa021a19d3
2021-03-05 04:48:48 +00:00
Winson Chung b93119e3b9 Merge "SystemUI proxy updates for managing split screen" into sc-dev 2021-03-05 04:25:11 +00:00
android-build-team Robot a1a26df135 Snap for 7185380 from 9849036e35 to tm-release
Change-Id: Id5c77016f7007da1ea73dc8d89754244a376ac54
2021-03-05 04:07:24 +00:00
android-build-team Robot 4262f76133 Snap for 7185571 from 9cde419ee0 to sc-v2-release
Change-Id: I7e7e1f836f2147053e5f724c36895613d1465380
2021-03-05 02:07:51 +00:00
android-build-team Robot d02d3cbf14 Snap for 7185571 from 9cde419ee0 to sc-release
Change-Id: I1ae49a02caead15381dbfd6594a9783745155992
2021-03-05 02:07:42 +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
Winson Chung 0613af3587 Add some logging for failure to get recents
Bug: 177472267
Test: Presubmit
Change-Id: I64a01ef076a58bc3118840ff3171177f61edc3f5
2021-03-04 14:18:41 -08: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
Winson Chung 13c20193eb Removing old logs
Bug: 156095088
Test: Presubmit
Change-Id: I61b44fd4ee96de405482f9cf9b6a06d87a295898
2021-03-04 06:16:41 +00:00