Commit Graph
60459 Commits
Author SHA1 Message Date
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
Tony Wickham 777601cf7b Merge "Fix QSB and Hotseat positions when ENABLE_DEVICE_SEARCH is enabled" into sc-dev am: ff78367361
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13922220

Change-Id: I7a730f93424b68581dd9dfa7b1552e22ea51f3d6
2021-03-19 18:01:32 +00:00
Tony Wickham 49ca1efab1 Merge "Fix QSB and Hotseat positions when ENABLE_DEVICE_SEARCH is enabled" into sc-dev am: ff78367361
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13922220

Change-Id: I59894b7656d08c002357ea061798c650cb3a8a4f
2021-03-19 18:01:06 +00:00
Steven Ng 1e29433fc6 Merge "A11y fix for all widgets tray (Part 1 / n)" into sc-dev 2021-03-19 17:44:59 +00:00
Jon Miranda 2a58d13b9b Add separate background colors to each popup container child.
- Colors interpolate between the primary and secondary popup colors
- Removed condensed height and icon scale

Bug: 175329686
Test: visual, manual checking apps with different shortcut options
Change-Id: I064c329dc8ad3ae6f408056c74372cca3ce20b68
2021-03-19 13:41:07 -04:00
Tony Wickham ff78367361 Merge "Fix QSB and Hotseat positions when ENABLE_DEVICE_SEARCH is enabled" into sc-dev 2021-03-19 17:32:19 +00:00
Sreyas Rangaraju b9a9588fcb Merge "Fixes OverviewActionsView height sizing." into sc-dev am: a2c2d861ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13904731

Change-Id: Ie94ae7934b052591b086675cc8e4b38b8d0aebd9
2021-03-19 17:23:18 +00:00
Sreyas Rangaraju f4982ffcba Merge "Fixes OverviewActionsView height sizing." into sc-dev am: a2c2d861ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13904731

Change-Id: I7c3b704b150f21ee07425322dd636c05ebd101c5
2021-03-19 17:23:15 +00:00
Alina Zaidi e444c26488 Merge "Fix bugs for Widgets picker Search UI." into sc-dev am: 7358069a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930317

Change-Id: Iafd916b8573053d6841bd3ba0c08f3beaa34bb3c
2021-03-19 17:22:51 +00:00
Alina Zaidi 879df283d3 Merge "Fix bugs for Widgets picker Search UI." into sc-dev am: 7358069a91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13930317

Change-Id: I521f54a175a7c860d619252382ef3d735be86ada
2021-03-19 17:22:46 +00:00
Zak Cohen 18b41d31a9 Merge "Return empty, not null, a11y node in Workspace" into sc-dev am: 02393204e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856298

Change-Id: Iee605993ce571328908d0bc21df83763ef46b4ff
2021-03-19 17:22:04 +00:00
Zak Cohen 35e7bdfa35 Merge "Return empty, not null, a11y node in Workspace" into sc-dev am: 02393204e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856298

Change-Id: Ib7f3d1a8f30e693297119da1fa57eb7ed6daa2ba
2021-03-19 17:21:52 +00:00
Sunny Goyal a78260e596 Merge "Fixing ActivityInit getting called before the full launcher components are initialized" into sc-dev am: ddbc7bf03d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13923375

Change-Id: If23e24765d249cb42cb5e1890cd9a1a21e17466b
2021-03-19 17:21:24 +00:00
Sunny Goyal 13698f220b Merge "Fixing ActivityInit getting called before the full launcher components are initialized" into sc-dev am: ddbc7bf03d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13923375

Change-Id: I2c779b1451345c25e13a7d7c3adf30b58ea576ea
2021-03-19 17:20:25 +00:00
Sreyas Rangaraju a2c2d861ba Merge "Fixes OverviewActionsView height sizing." into sc-dev 2021-03-19 17:06:21 +00:00
Tracy Zhou b0b2a9acd0 Continue receiving key events from input consumer after settling into Overview
This builds on ag/13732971. In live tile mode after settling into overview, recents_animation_input_consumer should have the focus, and thus we will need to extend the lifecycle of input consumers so that key events can be routed to launcher

Overall, since live tile extends the lifecycle of certain private variables of AbsSwipeHandler, I am thinking of doing a refactor by putting those things into a separate class, but it might be too big for this change.

TODO: I've verified that this change works while if we don't process motion events, it would cause b/182932863. Will investigate on that.

Fixes: 181404912
Test: Cherry pick ag/13732971; Go to overview; Swipe back; Observe the animation to go back to app
Change-Id: I5afd397be387b75f373442781dd1d00560dca99e
2021-03-19 10:00:54 -07:00
Alina Zaidi 7358069a91 Merge "Fix bugs for Widgets picker Search UI." into sc-dev 2021-03-19 16:57:11 +00:00
Zak Cohen 02393204e6 Merge "Return empty, not null, a11y node in Workspace" into sc-dev 2021-03-19 16:56:02 +00:00