Commit Graph
31667 Commits
Author SHA1 Message Date
TreeHugger Robot 8df9869df7 Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495

Change-Id: I1f3731a7bee4cd3cf3a6668956926c689c56180f
2021-03-24 10:53:47 +00:00
TreeHugger Robot 59230c3cdd Merge "Fix scrolling in widgets picker tapl tests" into sc-dev 2021-03-24 10:35:20 +00:00
Alina Zaidi b3f942e2fc Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365

Change-Id: Ie16a6a5303c4765aaf30fb87230c9717bd8d844a
2021-03-24 10:28:22 +00:00
Alina Zaidi 305a44c935 Merge "Bug fixes for widget picker search (2/n)" into sc-dev 2021-03-24 09:47:26 +00:00
TreeHugger Robot 7d99fd4648 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev am: bbfef42e48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13894757

Change-Id: I272dfc1d80721ac58c7076d27879d76f3b0ad9f0
2021-03-24 02:35:51 +00:00
TreeHugger Robot bbfef42e48 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev 2021-03-24 01:46:34 +00:00
TreeHugger Robot 357b26c8ab Merge "Fix spring loaded scale when taskbar is present" into sc-dev am: 9187337d15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933465

Change-Id: I976f6989ca91ac616b6b5f6c59dd33a5cadec305
2021-03-24 00:53:03 +00:00
TreeHugger Robot fd0a0da2ec Merge changes I6ce23251,I56fca1b7 into sc-dev am: cb6dff62d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931236

Change-Id: I86cedf2f0fad4764747833ae5b50c8edbc471c7d
2021-03-24 00:52:57 +00:00
TreeHugger Robot ce0f3a37bf Merge "Update Pin widget dialog UI according to mocks." into sc-dev am: acb3cac938
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945229

Change-Id: I8b9c97401701cb595fff5952efbbf5f707d55cf9
2021-03-24 00:52:49 +00:00
TreeHugger Robot 37666718e0 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev am: b9d201a5d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970240

Change-Id: I17f60a90a42222da2f2f401665c8697743ffc925
2021-03-24 00:52:38 +00:00
TreeHugger Robot 9187337d15 Merge "Fix spring loaded scale when taskbar is present" into sc-dev 2021-03-24 00:43:33 +00:00
TreeHugger Robot cb6dff62d9 Merge changes I6ce23251,I56fca1b7 into sc-dev
* changes:
  Update the resize frame to use the forced radius.
  Enforce rounded corners on App Widgets.
2021-03-24 00:39:17 +00:00
TreeHugger Robot acb3cac938 Merge "Update Pin widget dialog UI according to mocks." into sc-dev 2021-03-24 00:29:41 +00:00
TreeHugger Robot b9d201a5d6 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev 2021-03-24 00:16:01 +00:00
Steven Ng 6c5e02ac27 Fix scrolling in widgets picker tapl tests
If the search bar and the target widget item intersect, scroll up to
make the target widget item clickable.

Test: run AddWidgetTest, AddConfigWidgetTest

Bug: 183403949
Change-Id: I847cc34757cb02b1a12e18e511fda749873ad5da
2021-03-24 00:01:53 +00:00
Jonathan Miranda e04715c263 Merge "Updating deep shortcut container to new width." into sc-dev am: 0fa5225d57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13971704

Change-Id: If9097dc1ae8176bcc267d5c3d1c51ede887e9fd3
2021-03-23 22:12:27 +00:00
Jonathan Miranda 0fa5225d57 Merge "Updating deep shortcut container to new width." into sc-dev 2021-03-23 21:30:46 +00:00
Pierre Barbier de Reuille 452df2d5bb Update the resize frame to use the forced radius.
When forcing the rounded corners, the radius may be smaller than the
default one. When this happens, we should change how the frame is drawn
to only use that reduced radius, or this looks weird.

Bug: 183097166
Test: Manual tests with top 1P App Widgets
Change-Id: I6ce232515ce14059e1168e16735719ea2370132c
2021-03-23 20:57:33 +00:00
Pierre Barbier de Reuille 298526e812 Enforce rounded corners on App Widgets.
The feature is controlled by the ENABLE_ENFORCED_ROUNDED_CORNERS flag
(currently set to false).

If does not yet handle P/H flags to control its behavior.

Bug: 183097166
Test: Manual tests with top 1P App Widgets (See bug for results)
Change-Id: I56fca1b717f37ad518588115409f2144a71d4b98
2021-03-23 20:57:33 +00:00
Tony Wickham 48ac789c83 Merge "Add TaskbarView as a child of Hotseat" into sc-dev am: 3629b93546
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13957197

Change-Id: I59374cb5326236433ebeecae158eb0a972d3a61a
2021-03-23 19:10:02 +00:00
Vinit Nayak 706ff85fe5 Prevent setting task thumbnail during swipe to overview
Previously we were setting the incorrect thumbnail when
swiping to overview, then taking a task screenshot right
when the animation ends and replacing the first thumbnail.
This sometimes caused a flicker of the old thumbnail, now
we avoid setting the thumbnail at all for the taskview that
is being swiped up.

Another edge case handled here is when switching nav modes
and then immediately entering overview, Recents receives an
onConfigChange for changing task icon size. That would cause
all taskviews to null out both their existing icon and
thumbnail, now only the icon gets nulled out.
Existing issue where switching to 3 button nav and then
entering overview shows blank icon, doesn't register for
receiving the updated task snapshot fast enough.

Fixes: 179307265
Test: Ask assistant for weather, swipe to overview
Ask assistant for time, swipe to overview, no flicker

Switch nav modes to gesture, swipe to overview.
There's a flicker for config change, but thumbnail is correct

Change-Id: I300b29f999f6d6876f82bc0189b44f4c10ae33fe
2021-03-23 12:00:06 -07:00
Tony Wickham 3629b93546 Merge "Add TaskbarView as a child of Hotseat" into sc-dev 2021-03-23 18:36:53 +00:00
Steven Ng 3b9f6b98c8 Merge "Update title of bottom widgets tray" into sc-dev am: d8c2a7b2da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13951729

Change-Id: I64d6b74ffbed28eda76c394fba743e0e770785ac
2021-03-23 17:51:53 +00:00
Tony Wickham d0b6bfaa69 Remove some unused hotseat/qsb scaling code
Now that QSB is always part of Hotseat, we don't need
getQsbScaleAndTranslation(), and now that HOTSEAT_ICONS are never in
Overview, we can remove the getHotseatScaleAndTranslation() override

Test: Everything works as before
Bug: 175137718
Change-Id: I902815d8e270269c1a2a9af54fa8480e5aef929d
2021-03-23 10:33:44 -07:00
Steven Ng d8c2a7b2da Merge "Update title of bottom widgets tray" into sc-dev 2021-03-23 17:19:01 +00:00
Jon Miranda e888b08b70 Updating deep shortcut container to new width.
Bug: 175329686
Test: manual, visual
Change-Id: I0487d240523ab3de4bf3e381ec359267eaa33a71
2021-03-23 12:00:38 -04:00
Alina Zaidi 6d97d893e0 Update Pin widget dialog UI according to mocks.
Test: Tested manually and RequestPinItemTest passed
Bug: 182982143
Bug: 182994819
Bug: 182929673
Change-Id: I905ea0c1860d28ee9fbb456ddf6abd728b65bac4
2021-03-23 13:36:48 +00:00
Alina Zaidi 76060eb11b Bug fixes for widget picker search (2/n)
- Dismiss keyboard when user starts to drag widget picker
- Add content description for cancel button

Test: Tested manually.
Bug: 183211445
Bug: 183106676
Change-Id: Ie620c3d50a49d8380f316d48e4ee8ebced6de5eb
2021-03-23 12:53:23 +00:00
Steven Ng d6263be0a7 Merge "Increase the number of prediction for widgets model" into sc-dev am: dd1026b0c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956206

Change-Id: I31184feed8e45c8ec16abc3ac50caeda41215880
2021-03-23 11:30:10 +00:00
Jonathan Miranda 83d9e0d225 Merge "Account for children margins when orienting popup container." into sc-dev am: b40025756a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933127

Change-Id: I229ef6152d35b1bfcce23660a2b8b367bea72b3c
2021-03-23 11:29:21 +00:00
Steven Ng dd1026b0c0 Merge "Increase the number of prediction for widgets model" into sc-dev 2021-03-23 10:12:14 +00:00
Jonathan Miranda b40025756a Merge "Account for children margins when orienting popup container." into sc-dev 2021-03-23 09:38:37 +00:00
TreeHugger Robot 112f2b9b9c Merge "Fix extra haptic on swipe up" into sc-dev am: 516dfc6ace
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13957188

Change-Id: I015c69b5fe17e6ef1ef8d0b7c722b0edddfead1a
2021-03-23 03:51:49 +00:00
TreeHugger Robot 516dfc6ace Merge "Fix extra haptic on swipe up" into sc-dev 2021-03-23 03:06:48 +00:00
TreeHugger Robot 79012dfb35 Merge "Hide chips if loaded in select mode." into sc-dev am: a5cd3c322b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956093

Change-Id: Iafa7a88eb664d4c3b7452a7184f18b11bcae71c3
2021-03-23 01:33:55 +00:00
TreeHugger Robot 791a915613 Merge "Do not allow widget to be resized beyond max size." into sc-dev am: 1764c7ee94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945237

Change-Id: I3554bbaab6bd738ab81a4818f5e7a419dae9038a
2021-03-23 01:31:16 +00:00
TreeHugger Robot a5cd3c322b Merge "Hide chips if loaded in select mode." into sc-dev 2021-03-23 01:21:50 +00:00
TreeHugger Robot 1764c7ee94 Merge "Do not allow widget to be resized beyond max size." into sc-dev 2021-03-23 00:57:20 +00:00
Jon Spivack cccda49dd5 Merge "Pass Assistant web URI in NIU Actions" into sc-dev am: 1de153c6e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13715289

Change-Id: Ibf4c0393f64e041b2026cd979c6d166b4f7d5e09
2021-03-23 00:21:12 +00:00
Jon Spivack 1de153c6e5 Merge "Pass Assistant web URI in NIU Actions" into sc-dev 2021-03-22 23:57:58 +00:00
Sreyas 59b5e241e2 Hide chips if loaded in select mode.
Bug: 182375263
Test: Manual

Change-Id: Id9709a2033b303c09d9ca26d2e05af6af45df564
2021-03-22 15:59:54 -07:00
Steven Ng 71ee062b8a Merge "Exact common layout from widgets bottom sheet" into sc-dev am: d14e76867b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931235

Change-Id: I00649630f4e43cdf757528d3720fb318ad3fd0de
2021-03-22 22:56:55 +00:00
Tony Wickham 9ce3b25ef6 Add TaskbarView as a child of Hotseat
Instead of keeping the Taskbar window showing above the home screen,
we now integrate a copy of TaskbarView directly into Launcher's view
hierarchy. Most TaskbarController calls apply to both TaskbarViews
(mTaskbarViewInApp and mTaskbarViewOnHome), except for calls related
to Hotseat, which only apply to mTasbkarViewInApp given the real
Hotseat will be showing with mTaskbarViewOnHome.

More cleanup will follow this change.

Test: All taskbar interactions (e.g. drag and drop) continue to work
Bug: 182512211
Bug: 171917176
Change-Id: I0f0b124f652daa85f866e1df8f9e2981540331a0
2021-03-22 15:26:01 -07:00
Steven Ng 867ff5f60c Update title of bottom widgets tray
Only use the "app name" instead of "app name widgets" as title
Remove "Touch & hold to move a widget" subtitle.

Test: manual

Bug: 179797520
Change-Id: I7a5954af73aa5b480096e93ade3520cef6c93f17
2021-03-22 22:23:46 +00:00
Steven Ng d14e76867b Merge "Exact common layout from widgets bottom sheet" into sc-dev 2021-03-22 22:23:06 +00:00
Tony Wickham 62e08797f3 Fix extra haptic on swipe up
Test: swipe up in 0 button mode, no haptic until pause detected

Bug: 181165935
Change-Id: I69b598cf8e1ac1038d5cfad0f43468a8d7d23e4a
2021-03-22 15:13:21 -07:00
Hyunyoung Song cbf77a48d4 Merge "Remove cursor when edit text no longer has focus" into sc-dev am: 9197cfa36a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13927513

Change-Id: I0f3790119cf25859639464b1bfb2b3095ecb09dc
2021-03-22 21:58:10 +00:00
Tracy Zhou 50a4b0dfa2 Merge "Support live tile with OVERVIEW_GRID" into sc-dev am: 5ac61e1a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13944347

Change-Id: Id497e33e17fbd80876de71740168e9e431c44808
2021-03-22 21:57:11 +00:00
Hyunyoung Song 9197cfa36a Merge "Remove cursor when edit text no longer has focus" into sc-dev 2021-03-22 21:24:10 +00:00
Tracy Zhou 5ac61e1a2e Merge "Support live tile with OVERVIEW_GRID" into sc-dev 2021-03-22 21:20:22 +00:00