Commit Graph
58436 Commits
Author SHA1 Message Date
Tracy Zhou ef45cc95b5 Support live tile with OVERVIEW_GRID
Test: turn on both ENABLE_QUICKSTEP_LIVE_TILE and OVERVIEW_GRID. Swipe up from app to overview
Fixes: 183231362
Change-Id: Ic918e1fad423295d532cefce13c85e622ff8116c
2021-03-22 10:30:22 -07:00
Lucas Dupin 8b9365d4ad Merge "Apply new color scheme" into sc-dev 2021-03-22 16:57:18 +00:00
Andras Kloczl 2bb5134413 Fix widget scrolling issue on right panel
Since we added support for multiple panels on the home screen,
we need to call cancelLongPress on all the visible pages not
just on the leftmost visible page.

Test: manual
Bug: 178582378
Change-Id: I88ded543a16b1bbf2a53a627e5725f68b42e742b
2021-03-22 17:39:06 +01:00
Steven Ng f4fb4d9429 Fix corner radius for single item in the widgets tray.
If there is only one item, corner radius at 4 corners should be 28dp.

Test: Corner radius of one item is correctly shown in the widgets
      picker.

Bug: 183382610
Change-Id: Ief46af8c41ce944792d08212e93f7d68c6278d05
2021-03-22 16:30:57 +00:00
Tony Wickham 85a8da0290 Dump input monitor and input event receiver to bug reports
Test: adb shell dumpsys activity service TouchInteractionService
Bug: 180915942
Change-Id: Ic1155b323cd3f9cef164ce4d663cadc4b29a0893
2021-03-22 09:30:18 -07:00
Jonathan Miranda 93e1e56675 Merge "Dump DeviceProfile to help with debugging grid changes Some of these internal values are not exposed in hierarchy viewer" into sc-dev 2021-03-22 15:48:46 +00:00
Steven Ng 267270e859 Align widgets previews top to the table layout
Test: Manual

Bug: 179797520
Change-Id: I0716432e72327b825619bc35d55cb74d9621ee6a
2021-03-22 15:26:13 +00:00
Steven Ng 5a0644ec21 Merge "A11y fix for all widgets tray (Part 2 / n)" into sc-dev am: f3814eea2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931238

Change-Id: If9871d7f4ed0783156e326175b6d059078064bd8
2021-03-22 14:27:31 +00:00
Steven Ng 3cbb0230a7 Merge "A11y fix for all widgets tray (Part 2 / n)" into sc-dev am: f3814eea2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931238

Change-Id: I3ef8ca25bffba9c96e4cfae05fcf0c9955027231
2021-03-22 14:27:19 +00:00
Samuel Fufa 243c025622 Merge "[Search] Tie quick-launch and focus highlight" into sc-dev am: 7bcdaa13c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930907

Change-Id: Ia0cac5cd9d794d3fbe38cd46a140cd286f08c01d
2021-03-22 14:26:35 +00:00
Samuel Fufa 4b178fa8a1 Merge "[Search] Tie quick-launch and focus highlight" into sc-dev am: 7bcdaa13c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930907

Change-Id: I53d88412615f90add5b94b6272b3f1a59516b007
2021-03-22 14:25:53 +00:00
Jon Spivack ebfbbc59b6 Merge "Enable NIU Actions on Go devices" into sc-dev am: 5951856992
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933138

Change-Id: I20f0bca9bcdcf2dbf296b2d5a78ca38e2e8c15d8
2021-03-22 14:18:25 +00:00
Jon Spivack bc48e80835 Merge "Enable NIU Actions on Go devices" into sc-dev am: 5951856992
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933138

Change-Id: Ib34abe7f7df7bc17bf38c0ac017e901e0a55a7da
2021-03-22 13:33:16 +00:00
Bob Badour 44209dfcc1 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" into sc-dev am: 41b58c6ec7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931393

Change-Id: If75e362b118847d7b2743fc47c9db728ab2367b6
2021-03-22 13:22:59 +00:00
Steven Ng 6a2acfaa59 Add an 65% opacity for workspace elements drag over button drop target
Also remove the draggable item hover top button color change.

Test: Manual
Bug: 183193201
Change-Id: Id80622b8c0152180c47c0c9ebff8aa8bc2a5c2be
2021-03-22 13:20:48 +00:00
Bob Badour d80bb674ab Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" into sc-dev am: 41b58c6ec7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931393

Change-Id: Iaa926ff4fd9b9e53c7b2b5c7f2f8e5b77e4a6be3
2021-03-22 13:02:47 +00:00
Yogisha Dixit 471922c5ac Do not allow widget to be resized beyond max size.
Test: manual
Bug: 179807199
Change-Id: I38e108a8db2c5f06c0922972efa334e3b2864046
2021-03-22 11:14:48 +00:00
Steven Ng f3814eea2d Merge "A11y fix for all widgets tray (Part 2 / n)" into sc-dev 2021-03-22 10:22:54 +00:00
Hyunyoung Song a22574aa66 Remove cursor when edit text no longer has focus
Bug: 180142918

Test: manual
Change-Id: I9a58ef605b145889e30cb42e99f0b98e16af1e46
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2021-03-21 15:59:34 -07:00
Samuel Fufa 7bcdaa13c7 Merge "[Search] Tie quick-launch and focus highlight" into sc-dev 2021-03-21 20:33:25 +00:00
android-build-team Robot 92f1d02660 Snap for 7223902 from 83e23a5f7f to tm-release
Change-Id: I4b5bc7d3d32d133d9eb0efcf45ffa2ef9b787b81
2021-03-21 01:07:36 +00:00
android-build-team Robot 656ac2c01f Snap for 7223915 from 5951856992 to sc-v2-release
Change-Id: I55dcdacee883a34a5a765cfa510ddff485238d3e
2021-03-20 23:08:15 +00:00
android-build-team Robot 116fa051aa Snap for 7223915 from 5951856992 to sc-release
Change-Id: I42a53060b51caba8e23b76bc1ffee2b14fc0330c
2021-03-20 23:07:48 +00:00
Lucas Dupin 554a1bee39 Apply new color scheme
Bug: 173553055
Test: manual
Test: atest SystemPalette
Test: atest ThemeOverlayControllerTest
Test: atest DeviceDefaultThemeTest
Change-Id: Ie06160ed322ceac2e1078c24db287dd1f26a0a65
2021-03-20 11:00:13 -07:00
Bob Badour b2b91c32e6 [LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
Added SPDX-license-identifier-Apache-2.0 to:
  quickstep/Android.bp
  tests/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib621df62192122b6c30137d1c0146d366b903466
2021-03-19 20:40:09 -07:00
android-build-team Robot 45fe3a42a4 Snap for 7222095 from 733fea32fd to tm-release
Change-Id: I8c2e266c555ef3e1758506648235bd376719d700
2021-03-20 03:07:43 +00:00
android-build-team Robot 2ba30d55cc Snap for 7222037 from f209a77a96 to sc-v2-release
Change-Id: I57297e9c1fd5d13fa9c126aacaba137af09a5533
2021-03-20 01:08:15 +00:00
android-build-team Robot f8a5bfc93c Snap for 7222037 from f209a77a96 to sc-release
Change-Id: Ib631d3c708ebee92780e86c34d6f80f22c6b7650
2021-03-20 01:08:01 +00:00
Jon Spivack 5951856992 Merge "Enable NIU Actions on Go devices" into sc-dev 2021-03-20 00:42:21 +00:00
Steven Ng e85b5565c6 A11y fix for all widgets tray (Part 2 / n)
Fix the focus change when expanding / collapsing an app in
the all widgets tray by adding stable ids and disable item
animator.

Item animator is also disable even accessibility isn't enabled
because the default item animator also disrupts the header
padding. It also makes the expansion / collapsing of widgets table
very unpredicible.

Test: Navigate all widgets tray with talkback on.

Bug: 183120145
Change-Id: Ib1e2ea4d543757248e635a834204db688532cbfa
2021-03-19 23:58:19 +00:00
Bob Badour 41b58c6ec7 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" into sc-dev 2021-03-19 23:55:24 +00:00
Steven Ng 600f585ed5 Merge "Renders widget recommendations" into sc-dev am: 682af23651
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790505

Change-Id: I6ce9dc364276fd2672f53300d8cb46f83361cc13
2021-03-19 23:26:05 +00:00
Steven Ng 83e23a5f7f Merge "Renders widget recommendations" into sc-dev am: 682af23651
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790505

Change-Id: I8583d4bef84cc6da00c3dd1d36df78e6b9301bf5
2021-03-19 23:25:53 +00:00
Steven Ng 682af23651 Merge "Renders widget recommendations" into sc-dev 2021-03-19 23:18:22 +00:00
Jon Miranda 116e94e0a7 Account for children margins when orienting popup container.
Instead of recalculating the orientation after adding margins,
we account for the margins in the initial calls to orientAboutObject.

This ensures consistent mIsAboveIcon throughout calls to show the popup.

- Also updates the smaller radius to match the middle items.

Bug: 175329686
Test: long press on item where height and height without margins would
      result in differing mIsAboveIcon values
      eg. the 3rd item in a folder in the top middle of 5x5 workspace

Change-Id: I6132b544a89c7948339d17f219ad75c797233f55
2021-03-19 18:30:03 -04:00
Tony Wickham 9053b90751 Fix spring loaded scale when taskbar is present
Test: scaled workspace doesn't overlap QSB during drag and drop
Bug: 171917176
Change-Id: I56c7ee834e2c3ee2c796e88e83f75dbd24d28bd5
2021-03-19 15:13:24 -07:00
Jon Spivack f0b702f61b Enable NIU Actions on Go devices
This flips the feature flag to enable the NIU Actions buttons in the Go Launcher Recents page.

Bug: 158157668
Test: Manual (on local wembley device)
Change-Id: Ifa49cbb8840556ce53a09f00e36b0f6a12eb8d60
2021-03-19 14:38:22 -07:00
Steven Ng 4235fc129c Renders widget recommendations
Update the tapl test logic to scroll a smaller distance to avoid the
search bar blocking the target touch area.

Test: Open full widgets sheet and observe the widget recommendations
      shown at the top.
      Run AddConfigWidgetTest

Bug: 179797520

Change-Id: I6d53bbb46e2cb928ed7d015aaac604be17d33178
2021-03-19 21:11:32 +00:00
Jonathan Miranda 8714fe9a79 Merge "Folder updates." into sc-dev am: 83c4b1fd72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13924773

Change-Id: I9886a232f00ddbe81e8cae3c92a230f28b62103e
2021-03-19 20:57:06 +00:00
Jonathan Miranda 68959e3e07 Merge "Add separate background colors to each popup container child." into sc-dev am: 48a2f09349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930999

Change-Id: Id7ed96f97b91a38b61d58c31ad4a1cd1a848f6db
2021-03-19 20:56:53 +00:00
TreeHugger Robot 0e51ed44ac Merge "Disable waiting for animation from event injection" into sc-dev am: bab908bfca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13845164

Change-Id: I6c7a7d2c04825e0c0404e5adc4afd1bacfac1e3b
2021-03-19 20:56:39 +00:00
Tracy Zhou ddfe46047e Merge "Continue receiving key events from input consumer after settling into Overview" into sc-dev am: f209a77a96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13691093

Change-Id: Ie5b46dd87835e77853ac8872638a9e251d486dd1
2021-03-19 20:56:19 +00:00
Jonathan Miranda d53796bd20 Merge "Folder updates." into sc-dev am: 83c4b1fd72
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13924773

Change-Id: Ia8cb2538cf57c2fdf1a14aa5a906ea7753e87f75
2021-03-19 20:56:16 +00:00
Jonathan Miranda 5d278961d3 Merge "Add separate background colors to each popup container child." into sc-dev am: 48a2f09349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930999

Change-Id: Id61a35761da592125891c944f8f060420944771b
2021-03-19 20:55:47 +00:00
TreeHugger Robot 4215379c45 Merge "Disable waiting for animation from event injection" into sc-dev am: bab908bfca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13845164

Change-Id: I2acfef430b5c1f21582b5f04bfd9a469bb355d20
2021-03-19 20:55:36 +00:00
Tracy Zhou b2f6d7b868 Merge "Continue receiving key events from input consumer after settling into Overview" into sc-dev am: f209a77a96
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13691093

Change-Id: Idd0d9f2e408a9a2903bf2b2398860177c00e341e
2021-03-19 20:54:58 +00:00
Jonathan Miranda 83c4b1fd72 Merge "Folder updates." into sc-dev 2021-03-19 20:40:49 +00:00
Samuel Fufa 147527229b [Search] Tie quick-launch and focus highlight
Highlight and quick-launch item should be determined by Search service pipeline based on quick_launch flag on SearchTarget

Bug: 183083807
Bug: 183083682
Test: Manual
Change-Id: I0191474653deca7e1ecd01fa92c90efcdbb9a8dc
2021-03-19 15:38:38 -05:00
Jonathan Miranda 48a2f09349 Merge "Add separate background colors to each popup container child." into sc-dev 2021-03-19 20:34:10 +00:00
TreeHugger Robot bab908bfca Merge "Disable waiting for animation from event injection" into sc-dev 2021-03-19 20:24:54 +00:00