Commit Graph
31295 Commits
Author SHA1 Message Date
Hyunyoung Song b32633f3fe Merge "No focus highlight in prediction row" into sc-dev am: 1a26781153
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13755856

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic903b49c4e067f4bed05aafe6e212a328875af3d
2021-03-08 10:37:38 +00:00
Hyunyoung Song c4b028c898 Merge "Do not rebind AA+ adapters when there's search result" into sc-dev am: 2e2ec9652f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13756566

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I798d0b443b952fefc342918b10e5f382a6ce60d5
2021-03-08 10:37:30 +00:00
Hyunyoung Song 1a26781153 Merge "No focus highlight in prediction row" into sc-dev 2021-03-08 10:07:58 +00:00
Hyunyoung Song 2e2ec9652f Merge "Do not rebind AA+ adapters when there's search result" into sc-dev 2021-03-08 10:01:16 +00:00
TreeHugger Robot 066f4e428c Merge "Convert Launcher Android.mk to Android.bp to setup RoboTests" into sc-dev am: d333224f19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13684729

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8905c465d47181fe233c64d5f0eead7eee483a6a
2021-03-08 08:50:55 +00:00
TreeHugger Robot d333224f19 Merge "Convert Launcher Android.mk to Android.bp to setup RoboTests" into sc-dev 2021-03-08 08:12:53 +00:00
Hyunyoung Song 5a007fe0f6 Convert Launcher Android.mk to Android.bp to setup RoboTests
Bug: 181083996
Test: m Launcher3 && install Launcher3 and test basic things
Test: m RunLauncherRoboTests (90 tests run and 3 fails)

Change-Id: Icdc839d06413409cbd52d10a5ef9fe27b0a57baa
2021-03-07 22:42:42 -08:00
Hyunyoung Song d3df0e4103 Do not rebind AA+ adapters when there's search result
Bug: 181352111
Test: manual
Change-Id: Ieab75f3805f5d06a6bd8f60014abca103d7004b4
2021-03-07 22:02:16 -08:00
Hyunyoung Song 0f77156397 No focus highlight in prediction row
Bug: 181337130
Test: manual

Change-Id: Ic6598a02c575037208c8808e1f9e102b7b7be5e9
2021-03-07 22:00:33 -08:00
Wei Sheng Shih 92be5ff9ac Merge "Let Launcher able to receive task launching callback(4/N)" into sc-dev am: 23c0fc4ac0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13425371

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia51968691d0932ca02b8de4721ac14fa39326e2e
2021-03-08 04:08:05 +00:00
Wei Sheng Shih 23c0fc4ac0 Merge "Let Launcher able to receive task launching callback(4/N)" into sc-dev 2021-03-08 04:06:56 +00:00
Tony Wickham b859178be9 Initiate Hotseat drag from long pressing corresponding Taskbar item am: 39938cbc94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13779849

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6e884fcd350cbe43d055fa8b497e00242e1cc8f8
2021-03-07 04:33:51 +00:00
TreeHugger Robot 470fa377ff Merge "Moving data sanitization before bind" into sc-dev am: 3ca4b0d88f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13741856

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2b9f04b7da9bfa3abc48751d358ce24e9ba1fef3
2021-03-07 04:33:41 +00:00
TreeHugger Robot 5efa0aace3 Merge "Nullify taskbar hotseatView tag when the cell is empty" into sc-dev am: 5e88032461
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13787772

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5d38eb855c7632da776f86aeaa06efb64bae7f44
2021-03-07 04:31:13 +00:00
Winson Chung dfc0f80097 Merge "Removing old logs" into sc-dev am: b72be3e27c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13690095

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie679d3def02dc0222f94226c11387cf7545db65f
2021-03-07 04:07:39 +00:00
TreeHugger Robot 1ab01d0556 Merge "Correct Launcher3 for new sizes in App Widgets." into sc-dev am: bcadf1457c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13732707

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idb5c80c657b9e222d5585a9a3091b78cc3e59abe
2021-03-07 04:05:01 +00:00
Tony Wickham 39938cbc94 Initiate Hotseat drag from long pressing corresponding Taskbar item
When you long press on the taskbar hotseat item, the following happens:
- We start a system drag and drop with an invisible drag shadow
- We create a new DragOptions with the simulatedDndStartPoint set to the
  drag down position, and tell Launcher to use that for the next drag
- We perform a long click on the equivalent Hotseat item in Launcher
- We pass the drag events of that operation to Launcher's DragController

This allows Launcher to handle the entire drag operation, including the
pre-drag (with popup), and taskbar already hides when the drag starts.

Test: Long press items in taskbar hotseat, able to drag them to workspace

Bug: 179886115
Bug: 171917176
Change-Id: I576b80cb1bd0225cdc91cf7689fdee0481265109
2021-03-06 03:39:54 +00:00
TreeHugger Robot 3ca4b0d88f Merge "Moving data sanitization before bind" into sc-dev 2021-03-06 01:19:15 +00:00
TreeHugger Robot 5e88032461 Merge "Nullify taskbar hotseatView tag when the cell is empty" into sc-dev 2021-03-06 00:04:05 +00:00
Winson Chung b72be3e27c Merge "Removing old logs" into sc-dev 2021-03-05 22:59:43 +00:00
TreeHugger Robot aeb723ea4e Merge "Removing some animation special casing for 2-button mode" into sc-dev am: 2ef625b414
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13776498

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iffb5607497b61f87f506610c60dc2ac5f24b42ce
2021-03-05 22:51:48 +00:00
TreeHugger Robot bcadf1457c Merge "Correct Launcher3 for new sizes in App Widgets." into sc-dev 2021-03-05 22:44:57 +00:00
TreeHugger Robot 2ef625b414 Merge "Removing some animation special casing for 2-button mode" into sc-dev 2021-03-05 22:28:40 +00:00
Tracy Zhou 7cb4586168 Merge "Remove LiveTileOverlay" into sc-dev am: 64c6428acc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13785972

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4e1026122475de1c920ed00239a54d51090c037c
2021-03-05 21:14:33 +00:00
Winson Chung dc6dca569f Merge "Add some logging for failure to get recents" into sc-dev am: 90d5e6bc42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13776496

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I04d317d3030170f6012d1195db5d7d48a9b0ddea
2021-03-05 21:14:27 +00:00
Tracy Zhou 64c6428acc Merge "Remove LiveTileOverlay" into sc-dev 2021-03-05 21:09:17 +00:00
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 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
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 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 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
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 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