Commit Graph
58436 Commits
Author SHA1 Message Date
TreeHugger Robot d60299e19f Merge "Prevent NPE inside AllAppsTransitionController" into sc-dev 2021-03-08 20:21:31 +00:00
Samuel Fufa 3b61fb2b01 Merge "[Search] Support flexible results-per-row in AllApps" into sc-dev 2021-03-08 20:04:19 +00:00
Alex Chau 9faede60c8 Merge "Fix overview grid scroll problem" into sc-dev am: 2b860d29ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13773938

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec9302e1748af0f635754f845184c5036f33a9aa
2021-03-08 18:23:01 +00:00
Tony Wickham 51b2453e30 End any running taskbar animation in cleanup()
Test: Open an app, swipe to home and remove taskbar during animation,
ensure no crash
Fixes: 182163822

Change-Id: Ie92b4fdf03a23c8a205d1d7327a304cf1d996383
2021-03-08 10:14:10 -08:00
Alex Chau 45fc681180 Use ACCEL_DEACCEL when swiping up to enter grid
Bug: 174464863
Test: Test entering grid when swipe up on small and large screens
Change-Id: I0799ef341b8344406de371501dc34a12ac8cbc6e
2021-03-08 18:11:39 +00:00
Alex Chau 2b860d29ca Merge "Fix overview grid scroll problem" into sc-dev 2021-03-08 17:52:32 +00:00
TreeHugger Robot 9a96144df7 Merge "Update app widget resize frame UI." into sc-dev am: b6c4fd18af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13757245

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id63e2b089022a78e182a18c0bbcec900425ab589
2021-03-08 16:42:40 +00:00
TreeHugger Robot b6c4fd18af Merge "Update app widget resize frame UI." into sc-dev 2021-03-08 16:06:12 +00:00
Alex Chau ae53cb246f Fix overview grid scroll problem
- This can be reproduced ocassionally without any obvious pattern, when this happen the page scroll and min/max scroll is messed up
- When this happen, onLayout happens before the first setGridProgress call from animations
- The fix is to request a relayout at the end of state transition

Bug: 174464863
Test: manual
Change-Id: I12683c49d7ed72349a4b9cb3b4d3871741e3e22e
2021-03-08 15:16:07 +00:00
TreeHugger Robot 736088c529 Merge "Inflate layout preview for work profile" into sc-dev am: d10382995f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13757246

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6be51bedf491adc82f82dbf89188f4968476e5ed
2021-03-08 11:51:56 +00:00
TreeHugger Robot d10382995f Merge "Inflate layout preview for work profile" into sc-dev 2021-03-08 11:32:17 +00:00
Bill Lin 2ae5f20269 Avoid mis-trigger when motion do not endup within system gesture region
Previously, mOneHandedModeRegion reference larger gesture hieght
"navigation_bar_gesture_larger_height" for the detect region which
will easily introduce mis-trigger above NavBar panel region

Now we add 1 more condition to ensure user end up the motion in NavBar
region for both OHM & Swipe Notification gesture

Test: atest WMShellUnitTests
Test: NexusLauncher:connectedGoogleWithQuickstepDebugAndroidTest
Bug: 179957109
Change-Id: Ibceab87cd17fd8988f39c6c1746829d73623e4f1
2021-03-08 19:08:21 +08:00
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
Hyunyoung Song f0988f1fb1 Prevent NPE inside AllAppsTransitionController
Bug: 181911438
Test: manual

Change-Id: Ia2cfe43512c0336232fc6787eb955d476280e3b8
2021-03-08 00:43:25 -08: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
android-build-team Robot 047b837c17 Snap for 7190936 from b859178be9 to tm-release
Change-Id: Ief56e747164ccd860e8e56fbec14f2210ca15f61
2021-03-08 02:07:42 +00:00
Alina Zaidi c6fe0dd4fa Implement pipeline for a simple search based on query string matching on app names in WidgetsListBaseEntries.
This will be the default search for AOSP widget picker and a fallback search for Pixel widget picker.

Test: Tested prototype locally. Also added robolectric test.
Bug: b/157286785
Change-Id: Iad3bf2f46b2a89383a52c756fd1b9f65ecbeb40b
2021-03-07 21:23:37 +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
android-build-team Robot 0fea7a8ff3 Snap for 7189849 from 39938cbc94 to sc-v2-release
Change-Id: Ic09b18969c9c09bb77b29e0af198a1c394521cc4
2021-03-07 00:08:46 +00:00
android-build-team Robot 526a5368a2 Snap for 7189849 from 39938cbc94 to sc-release
Change-Id: Iec8f15e0c9bf1ef3d8a9b73dc749686fb9b962e3
2021-03-07 00:08:44 +00:00
android-build-team Robot ce3107e389 Snap for 7188507 from aeb723ea4e to tm-release
Change-Id: I042bb746566dfc884e8e7668b4129549c887d390
2021-03-06 05:18:06 +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
android-build-team Robot d3d2cc05a6 Snap for 7188367 from b72be3e27c to sc-v2-release
Change-Id: I7881731ed18ba6f459619671fef1eeb35f231d66
2021-03-06 02:07:56 +00:00
android-build-team Robot 79c4319039 Snap for 7188367 from b72be3e27c to sc-release
Change-Id: I03c6d91f4fa42db2d618b202129cee8373482e2c
2021-03-06 02:07:41 +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 d96dcbcf55 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: I7d5e17eafecb524da3954e7d2dd8ad613497d185
2021-03-05 22:51:49 +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 2df9df061f 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: I7f71dcc67a81c90b413b0ee7a5d981a0e87b894c
2021-03-05 21:15:45 +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 2149995b9d 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: Ibabfeca598e3266224a2d901e0e2d1ab10d1f314
2021-03-05 21:14:29 +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
Samuel Fufa e2358949d4 [Search] Support flexible results-per-row in AllApps
Bug: 181987314
Test: Manual
Change-Id: Idc3d24dafc42944a7cc925e0991118c86a89b318
2021-03-05 15:00:38 -06:00