Commit Graph

49925 Commits

Author SHA1 Message Date
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 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 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
Tracy Zhou f209a77a96 Merge "Continue receiving key events from input consumer after settling into Overview" into sc-dev 2021-03-19 20:18:41 +00:00
Tony Wickham 269845b3ff Merge "Use taskbarSize as bottom inset when taskbar is present." into sc-dev am: 4076cae87f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13921303

Change-Id: I659c536e1323a00fddca94d1397a513706b36b9d
2021-03-19 18:21:51 +00:00
Samuel Fufa 3d161fc404 Merge "Move SearchWidgetInfoContainer to NexusLauncher" into sc-dev am: 9751c532e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13893586

Change-Id: Ie05f26278608e07b74ca7fa162334b1d157ffc0b
2021-03-19 18:21:25 +00:00
Tony Wickham 733fea32fd Merge "Use taskbarSize as bottom inset when taskbar is present." into sc-dev am: 4076cae87f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13921303

Change-Id: If17976e4d7f7985e3ff41ae0e9a7546f419854e1
2021-03-19 18:20:43 +00:00
Samuel Fufa 995172b6b1 Merge "Move SearchWidgetInfoContainer to NexusLauncher" into sc-dev am: 9751c532e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13893586

Change-Id: If8563249cfc5cd11bce60934dac76861371c2e79
2021-03-19 18:20:10 +00:00
Tony Wickham 4076cae87f Merge "Use taskbarSize as bottom inset when taskbar is present." into sc-dev 2021-03-19 18:15:52 +00:00
Tony Wickham e31af6264d Don't go to NORMAL after task launches if animation in progress
Test: Swipe down on a task, swipe up immediately as it launches;
state stays as BACKGROUND_APP instead of NORMAL
Fixes: 171757635

Change-Id: Ia38774c01190bd184e229ff532ea9df2a75abcb4
2021-03-19 11:07:39 -07:00
Samuel Fufa 9751c532e4 Merge "Move SearchWidgetInfoContainer to NexusLauncher" into sc-dev 2021-03-19 18:07:39 +00:00
Steven Ng 63c7a4f5f6 Merge "A11y fix for all widgets tray (Part 1 / n)" into sc-dev am: 1e29433fc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13921454

Change-Id: I9d5dca4df78691c0789dcff1733b66b9bb963282
2021-03-19 18:02:08 +00:00
Steven Ng e9863f33a7 Merge "A11y fix for all widgets tray (Part 1 / n)" into sc-dev am: 1e29433fc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13921454

Change-Id: I528faffb5e09511cc2e53e6f1a9fda0e4c504c26
2021-03-19 18:02:04 +00:00