Commit Graph

49925 Commits

Author SHA1 Message Date
android-build-team Robot ae2ce9de22 Snap for 7230642 from 0fa5225d57 to sc-release
Change-Id: I801b2f39fae07352380b4283337654d67a8e9385
2021-03-24 01:07:39 +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
Tony Wickham aea0cbf9d3 Fix taskbar crash after cleanup
- Set LayoutTransition after adding initial views
- End running transitions in cleanup
- Only run update listener if LayoutTransition is active

Test: No crash after taskbar cleanup()
Bug: 182512211
Change-Id: I1049857935d09235388c1ef1fe4d89ef53b79aa5
2021-03-23 15:35:46 -07: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 fe974153ab 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: I6075962e4858f31726009b39d1abf7a03226734c
2021-03-23 22:10:58 +00:00
Jonathan Miranda 0fa5225d57 Merge "Updating deep shortcut container to new width." into sc-dev 2021-03-23 21:30:46 +00:00
Jon Miranda 3f28e0686d Update All Apps apps per row when DeviceProfile changes.
This fixes the bug where # all apps columns does not change as
expected during a grid change.

Bug: 183534910
Test: manual, visual
Change-Id: Id6a6abd3c7c5e9f36be96eef92961ecfdd477ac9
2021-03-23 17:29:31 -04: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
Tony Wickham f2a7426ba6 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: I29fc8e00b22884ee7a89d32440bc956a6620e5d7
2021-03-23 19:09:41 +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 e63bd38a55 Remove dead taskbar code
Test: Works as before
Bug: 182512211
Change-Id: Id4c979f2924f9ae6881a9bed18bcc52fbd80c05b
2021-03-23 11:42:50 -07:00
Tony Wickham f2c99e9d32 Remove MultiValueAlpha Mode, as all usages are BLEND
Test: Compiles, works as before
Bug: 182512211
Change-Id: I79ee683720cdc697d91e7587d8fab4fd2645ba0d
2021-03-23 11:41:30 -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
Steven Ng 9143dbe2b2 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: I8f9efd0c340d672ce18521a4236d1ceb4f2ed935
2021-03-23 17:51:27 +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
Alex Johnston 284aaba153 Block recent work profile apps content capture
Stop data exposure of work profile by blocking
content capture of recents apps when the work
profile is locked.

Manual testing steps
* Set up work profile
* Set personal and work pattern
* Open work app, enter work pattern and
  verify content capture is possible
* Lock device
* Go to Recents and select already opened
  work app. Verify content capture is not
  possible until work pattern is entered.

Bug: 168802517
Test: manual testing
Change-Id: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-03-23 16:09:39 +00:00
Samuel Fufa c6995f3eb2 [Search] Resolve work/personal tab overlap with A-Z list
This issue was caused due to launcher falling out of sync with DEVICE_SEARCH_FLAG. This change makes AllApps views agnostic of search input type when rendering layout.

Bug: 182591985
Test: local
Change-Id: Ic015b68e110eea9ab5184325f2a3633a5c7d15cc
2021-03-23 11:09:15 -05: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
Jon Miranda 823da22833 Folder cell should match grid cell aspect ratio if isScalableGrid is true.
Bug: 175329686
Test: inspected with go/web-hv
Change-Id: I652c696d8ae58b7009b7310bb926b279b9477724
2021-03-23 08:08:45 -04:00
Steven Ng 4d6387d3f0 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: Icdc69cac4a45a137b991167d9f66a7e8f1f96d26
2021-03-23 11:31:49 +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
Jonathan Miranda 6f3c94f01d 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: Ib763beb26cee035807f3fbca7caeeeabd4e48819
2021-03-23 11:29:16 +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
Bob Badour bce58a97bc Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" 2021-03-23 08:28:38 +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 5dacef0b59 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: Ib5911001ee68522f4d7248c8b0584736c22ae3cb
2021-03-23 03:51:28 +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 f31591e361 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: I95b26c08e416e6574ba4981fe0734ab9fce1f481
2021-03-23 01:34:59 +00:00
TreeHugger Robot 17d3ece34f 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: Idbf7c47a020a9e497092d7a48ef1bde52d32b343
2021-03-23 01:34:05 +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
android-build-team Robot f36c7bc50f Snap for 7227300 from 5ac61e1a2e to sc-release
Change-Id: Ic506a2651e40521372d3bd436d99c2eb996382e8
2021-03-23 01:08:44 +00:00
android-build-team Robot c0c5ca5d9e Snap for 7227300 from 5ac61e1a2e to sc-v2-release
Change-Id: I3510d5b4c1f8ee44970dfe1389d4185462f6e570
2021-03-23 01:08:05 +00:00