Hyunyoung Song
187da0ee77
Merge "Instrumenting flinging all apps for jank" into sc-dev am: c2b750797c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13566474
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie3c896a38786e4973d1204263ac08ca1437a31aa
2021-03-10 15:18:20 +00:00
TreeHugger Robot
353484c82d
Merge "Use ACCEL_DEACCEL when swiping up to enter grid" into sc-dev am: 505b4b2d8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790518
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6cf35786084b7c8640417e77b480c6668ee02fd7
2021-03-10 15:18:16 +00:00
Steven Ng
5bcfb68c12
Merge "Widgets recommendation backend" into sc-dev am: 3c08f580c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13731979
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7b3959a9d1318a8b407080bcf5441e24607bc136
2021-03-10 15:18:12 +00:00
TreeHugger Robot
85e661011f
Merge "Pause onAppsUpdate when AllApps is converted to tabs." into sc-dev am: 146bbcd5c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13809446
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4713d78108122c68025bd33198e9a6fa39a0ea9d
2021-03-10 15:18:09 +00:00
Steven Ng
c9a0e1dcd1
WidgetCell & LiveWidgetPreview cleanup am: ae6b34811b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790508
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7bf6e7470f2a96f5b93d56b35c3cebc41954cea2
2021-03-10 15:18:05 +00:00
TreeHugger Robot
1a78824f6b
Merge "Prevent NPE inside AllAppsTransitionController" into sc-dev am: d60299e19f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13756046
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If70db9e65c365fe2efb0538170a7a9ffb0685fd5
2021-03-10 15:18:01 +00:00
Samuel Fufa
2491bdaebc
Merge "[Search] Support flexible results-per-row in AllApps" into sc-dev am: 3b61fb2b01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13786390
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2423c1f4f761d926aaf614a1c556a4adc1b3ec21
2021-03-10 14:58:37 +00:00
Alex Chau
7f268215b4
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: I390d4de49e7f9a95a80921598ecc3110f3a76fb5
2021-03-10 13:49:49 +00:00
TreeHugger Robot
e76c3859eb
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: I9a3593201636459409021ec98f1c2bb1041a1444
2021-03-10 13:49:43 +00:00
TreeHugger Robot
006f28949d
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: I7de926a38abd9004a5d15c054194c7265c1c2049
2021-03-10 13:49:37 +00:00
Hyunyoung Song
d9d53c61b4
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: Id25199b9c4e157004a184b714ecca09283e857f7
2021-03-10 13:49:31 +00:00
Hyunyoung Song
8bee8639db
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: Iac3181699561f406510bc9b8da240eb20ae4866a
2021-03-10 12:47:23 +00:00
TreeHugger Robot
724d2e0e6a
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: I5240f2964bd022b91f04a705571657b9ee8162ed
2021-03-10 12:26:36 +00:00
Wei Sheng Shih
e81f21589f
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: I73b30a725d624a34012ea580af48171ba560f997
2021-03-10 12:15:16 +00:00
Tony Wickham
5db5ed7bee
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: Ic868dd60dcc326be6aae7c531a0aeb8ed2e7d09e
2021-03-10 12:09:58 +00:00
TreeHugger Robot
dfcf0f72bc
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: Ie6d3581a6697537657cccfd5abe9044f02520a4e
2021-03-10 12:09:53 +00:00
TreeHugger Robot
c50bcb490b
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: I9bf2ce4802ca9617b1e18447d14796f97245f2a2
2021-03-10 12:09:49 +00:00
Winson Chung
27db3e5339
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: I2ba3bff9a2c896e670ccb11b4721a7e746db2d5d
2021-03-10 12:09:45 +00:00
TreeHugger Robot
2d7e5ed626
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: I0301ca387a3cdc935b8e19945f14fe07cae680eb
2021-03-10 11:32:13 +00:00
Hyunyoung Song
c2b750797c
Merge "Instrumenting flinging all apps for jank" into sc-dev
2021-03-09 13:55:02 +00:00
TreeHugger Robot
505b4b2d8f
Merge "Use ACCEL_DEACCEL when swiping up to enter grid" into sc-dev
2021-03-09 11:56:28 +00:00
Steven Ng
3c08f580c3
Merge "Widgets recommendation backend" into sc-dev
2021-03-09 10:05:55 +00:00
TreeHugger Robot
146bbcd5c9
Merge "Pause onAppsUpdate when AllApps is converted to tabs." into sc-dev
2021-03-09 06:51:09 +00:00
Hyunyoung Song
34c0262778
Instrumenting flinging all apps for jank
...
Bug: 178656812
Test: manual
Change-Id: I56bf19709784ac081a4f7068dedb8814eb6f3d0b
2021-03-08 20:40:39 -08:00
Samuel Fufa
d0bb42bf2e
Pause onAppsUpdate when AllApps is converted to tabs.
...
To avoid onAppsUpdated conflicting with WorkTabEdu, this change pauses callback updates when AllApps is first converted to tabs. This should avoid the need for additional extended timeouts.
Bug: 159671700
Test: Presubmit
Change-Id: I0959629f47ae6d824e5886b2cf917635f5bfdf0e
2021-03-09 02:48:08 +00:00
Steven Ng
3a8353256a
Widgets recommendation backend
...
Add a widgets recommendation mechanism based on AiAI app predication
ranking with the following changes:
1. Only one widget is picked from one app.
2. Widgets that are already added to the workspace are excluded from
the recommendation.
Test: run PredicationUpdateTaskTest
Bug: 179797520
Change-Id: Ia697bc6df0bae75969e68b7b3de32d57901f7461
2021-03-08 23:37:51 +00:00
Steven Ng
ae6b34811b
WidgetCell & LiveWidgetPreview cleanup
...
The fixes are:
1. For widgets shown in TableRow, aligns them center vertically.
This is useful when widgets of different height are shown in
the same row.
2. Remove background color from WidgetCell
3. Re-enable swipe in FullWidgetsSheet
4. Use the WidgetCell image as the single & long press area because
1. Previews are now scaled to their default size. The touch area
should already be larger for widgets that are bigger than 2.4
cells
2. WidgetCells also render description. If the user long press the
description area, the drag view will not align in the middle of
the user touch / drag area.
Test: Drag-n-drop widgets from FullWidgetsSheet, BottomWidgetsSheet
and pin widget flow.
In FullWidgetsSheet, swipe left and right to switch work /
personal tab.
Video: https://drive.google.com/file/d/1Ur7PwF1a7iwGGRTZczfc0BSVu-Ta6-Vm/view?usp=sharing
Bug: 179797520
Change-Id: I6fe4bc88d1e1b35b1819d8d7f046105f5ed27043
2021-03-08 21:22:08 +00:00
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
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
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
d10382995f
Merge "Inflate layout preview for work profile" into sc-dev
2021-03-08 11:32:17 +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
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
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
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
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
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