Commit Graph
60459 Commits
Author SHA1 Message Date
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
android-build-team Robot 46d2bddbb2 Snap for 7227488 from a5cfd84625 to tm-release
Change-Id: I207b24510871fe5a0a065c4920f73558757a262d
2021-03-23 03:07:27 +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
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 2b800cd528 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: I254dcfdf9556f0a01dd68d220a8fdb73d35e509c
2021-03-23 00:21:30 +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
Steven Ng dd542ee190 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: I1f4e5d211ff4dfb23fb79661495937e862309d6e
2021-03-22 22:56:09 +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
Hyunyoung Song a5cfd84625 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: I59ce5f8131add9a22ce441a6cc2ae5ffd205cc01
2021-03-22 21:57:28 +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
Tracy Zhou 97575d92ca 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: Ib527c23f2912c797eeb954fabeefb34bfd8039a9
2021-03-22 21:56:22 +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
Steven Ng 05df2843ee Increase the number of prediction for widgets model
Test: launch all widgets tray and observes widgets predicted.

Bug: 179797520
Change-Id: Id231cde5015a2a79b7532a39343b3340c27e09c9
2021-03-22 20:22:42 +00:00
Steven Ng 8241ffeddc Merge "Add an 65% opacity for workspace elements drag over button drop target" into sc-dev am: 164936c3db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930314

Change-Id: I8aba5d28ee5fa34e506bbe704b6889ebba2c406c
2021-03-22 20:12:56 +00:00