Commit Graph

31169 Commits

Author SHA1 Message Date
Yogisha Dixit 27cdff4153 Merge "Do not launch configuration activity if CONFIGURATION_OPTIONAL." into sc-dev 2021-03-15 14:36:31 +00:00
Alina Zaidi e17f4651d0 Merge changes from topic "SEARCH_INTEGRATE" into sc-dev
* changes:
  Add a WidgetsSearchBar(Launcher3) and a WidgetsSearchController.
  Have a recycler view to show search results.
2021-03-15 13:24:20 +00:00
Yogisha Dixit 2560077478 Do not launch configuration activity if CONFIGURATION_OPTIONAL.
Test: Created a placeholder widget with CONFIGURATION_OPTIONAL and checked
that configuration activity was not launched.
Bug: 177977976

Change-Id: I854c9b3fb6007fd98009182f68fbf36d4571a81f
2021-03-15 12:24:52 +00:00
Alina Zaidi d07acba048 Add a WidgetsSearchBar(Launcher3) and a WidgetsSearchController.
- Make WidgetsSearchBar in Launcher3 initialize WidgetsSearchController with SimpleWidgetsSearchPipeline
- Modify SimpleWidgetsSearchPipeline to filter widgets entries on widgets/shortcut labels also.

Test: Tested prototype locally. Also added robolectric test.
Bug: b/157286785
Change-Id: I65f5fa0240ffb6d22023167e4e86d94d83bbd9f7
2021-03-15 11:25:08 +00:00
Steven Ng 5e7c89c36e Merge "Better estimate the height of widget recycler view" into sc-dev 2021-03-15 10:01:27 +00:00
Hyunyoung Song 133a5d5eb6 Merge "Do not reset workprofile when on search result page" into sc-dev 2021-03-14 20:30:18 +00:00
Winson Chung d7d65aa697 Merge "Limit existing usages of nav bar button alpha to two button mode" into sc-dev 2021-03-14 03:53:25 +00:00
Winson Chung 2abfddf72d Merge "Update calls to go through the feature interface instead of sysui proxy" into sc-dev 2021-03-13 19:13:21 +00:00
Hyunyoung Song f5767cf928 Do not reset workprofile when on search result page
Bug: 182443195
Test: Manual
Change-Id: I2cb1d11949233273881dc9d387e68c9878d49096
2021-03-12 21:29:29 -08:00
Winson Chung 68f7fbfb82 Update calls to go through the feature interface instead of sysui proxy
Bug: 180074017
Test: atest PinnedStackTests
Test: Verify Pip works w/ launcher (shelf offsets, autoenter, etc)

Change-Id: Ie41b0b77a7d5a79288af91f862e2a2cdda85fb66
2021-03-12 21:23:29 -08:00
Tony Wickham 8ecb59189f Merge "Make ENABLE_TASKBAR and ENABLE_OVERVIEW_GRID DebugFlags instead of DeviceFlags" into sc-dev 2021-03-13 02:35:49 +00:00
Jonathan Miranda 1a8a20b3c9 Merge "Do not add arrow to OptionsPopupView." into sc-dev 2021-03-13 02:29:06 +00:00
Tony Wickham e2ed4b37cc Merge "Replace taskbar hotseat with real hotseat when folder is open" into sc-dev 2021-03-13 02:17:49 +00:00
Steven Ng 53d1364e8b Better estimate the height of widget recycler view
Test: Expand and collapse apps in the widgets picker. Then, observe
      the height of the fast scroller is correctly displayed.

Bug: 181629430
Change-Id: I9efcf902f8548fc5c8a398609758d43123228e5e
2021-03-12 22:58:45 +00:00
Vadim Tryshev 976bd24f57 Merge "Increase wait times in TAPL" into sc-dev 2021-03-12 22:53:22 +00:00
Jon Miranda e92a4add99 Do not add arrow to OptionsPopupView.
Bug: 175329686
Test: open home menu, notice no arrow
      open long press menu, notice arrow still visible
Change-Id: I3f480d570b5134376324d4b8051da639ee8d8b27
2021-03-12 16:46:08 -05:00
Tony Wickham 647baded97 Make ENABLE_TASKBAR and ENABLE_OVERVIEW_GRID DebugFlags instead of DeviceFlags
Test: reinstalled and flag values stayed the same and work
Change-Id: Icd3d6a5333de29d0e054a7a2eed512bfbfa9d4e3
2021-03-12 12:51:37 -08:00
Hilary Huo b3545651e2 Merge "[settings-pixel-search] Add slice timeout to avoid showing empty slice view" into sc-dev 2021-03-12 19:58:38 +00:00
Tony Wickham ae72b46b2c Replace taskbar hotseat with real hotseat when folder is open
- Seamlessly show real hotseat and hide taskbar hotseat, while
  keeping rest of taskbar visible
- Update MultiValueAlpha to allow for taking max alpha instead
  of blending, and use that for Hotseat
- Fix folder open bounds on home screen when taskbar is present

Test: Open folder from taskbar on home, can drag out items
Bug: 182079330
Bug: 171917176
Change-Id: I7c1983e3219b1341cf233260f0ccac9051c4dc14
2021-03-12 11:05:43 -08:00
Jonathan Miranda e76e1e564a Merge "Fix folder outline not matching the v28 radius." into sc-dev 2021-03-12 14:51:28 +00:00
Winson Chung 0acb2807df Limit existing usages of nav bar button alpha to two button mode
Bug: 181206743
Test: Manual
Change-Id: Id63131e9aae36bb143d6a4807ef37f96dfa05be9
2021-03-11 21:47:58 -08:00
Zak Cohen 090753adc6 Merge "Update Overview UI to new layout." into sc-dev 2021-03-12 04:51:59 +00:00
Zak Cohen 7575baadb4 Overview - make drag share targets work with Work Profile
Start the destination as the correct user, and fix the uris as
its leaving.

Bug: 179162353
Test: flash with WP and regular, test both targets
Change-Id: I49c980c5d08843ad221a9b92816351a22ea58990
2021-03-11 17:14:59 -08:00
Jon Miranda c1e66b523e Fix folder outline not matching the v28 radius.
Bug: 175329686
Test: manual, open folder and verify no visual artifacts
Change-Id: If7cfaf6f95e43ad6f2636b136bc98961554ebf36
2021-03-11 19:05:45 -05:00
Zak Cohen 6066f3dde4 Update Overview UI to new layout.
This change spaces out app icon and proactive row as well as removing
the clipping from task snapshots.

Bug: 179922117
Test: Local on two devices

Change-Id: I5075b6dd7895cb40cdd59495fd27e4153c9cc2ea
2021-03-11 15:27:50 -08:00
TreeHugger Robot 57e41f9fb7 Merge "Calculate grid layout size separately from task size" into sc-dev 2021-03-11 22:51:00 +00:00
Sunny Goyal da2ecb3095 Merge "Adding support for listening for app launch animation completion" into sc-dev 2021-03-11 21:36:43 +00:00
Alina Zaidi 334e65935b Have a recycler view to show search results.
-Have a recycler view layout for search widgets list.
-Make WidgetsFullSheet implement interface- SearchModeListener to get notified when user is using search and also when search results are ready.
-Have a WidgetsListSearchHeaderViewHolderBinder for search result headers which shows subtext in header as concatenated string of widget/shortcut labels.
-Modify WidgetsListAdapter and WidgetsDiffReporter to work well with search recycler view.

Test: Tested prototype locally. Also added robolectric test.
Bug: b/157286785
Change-Id: Ie29d9f295fddb6d727b5fc26a360f514f2f4a763
2021-03-11 21:27:51 +00:00
Alex Chau 26c1f3b139 Calculate grid layout size separately from task size
- Add translation to align task into top right/left corner of grid rect
- Also updated grid padding according to mocks

Bug: 174464863
Test: Launch overview, launch overview from app, launch into app
Change-Id: Ie856f9c43ebf35f5e58b5d125ff1754ad7bc0160
2021-03-11 20:21:08 +00:00
Sreyas Rangaraju 06b41019ef Merge "Let chips take full screen width." into sc-dev 2021-03-11 20:20:41 +00:00
Hilary Huo 20a7cfbd3c [settings-pixel-search] Add slice timeout to avoid showing empty slice view
Bug: 181810946

Test: m
Change-Id: Icd83bbf428bf7d87e3957a6f6d888142c6008da3
2021-03-11 20:07:51 +00:00
TreeHugger Robot ad5ba1af0d Merge "Disable double haptic when dragging from taskbar hotseat on home" into sc-dev 2021-03-11 18:59:45 +00:00
Tony Wickham 84140bec6d Disable double haptic when dragging from taskbar hotseat on home
Both DragLayer and the dragged view were playing a haptic; disable
DragLayer's haptic feedback for this drag interaction.

Test: Drag from hotseat on home, ensure only one haptic is played
Bug: 182079330
Bug: 171917176
Change-Id: I185533999e905ea79a80aaa2145fc39049e8d45e
2021-03-11 08:48:27 -08:00
Steven Ng 8e5a0a71f7 Merge "Update widget toast strings" into sc-dev 2021-03-11 16:43:10 +00:00
TreeHugger Robot 9759c8357c Merge "Adding alinazaidi@ in Launcher3's OWNERS" into sc-dev 2021-03-11 16:41:11 +00:00
Treehugger Robot 24a63bacd6 Merge "Adding alinazaidi@ in Launcher3's OWNERS" am: 0d3a2d99c8 am: e50fba1654 am: 536bcdbb15
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626524

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I00840aa9877f27df685fdaba70805516667fb3a6
2021-03-11 14:26:34 +00:00
Treehugger Robot 536bcdbb15 Merge "Adding alinazaidi@ in Launcher3's OWNERS" am: 0d3a2d99c8 am: e50fba1654
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626524

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7362df47744092f599e64d15315ee0732530fb97
2021-03-11 14:04:27 +00:00
Pierre Barbier de Reuille acc6336fcd Adding alinazaidi@ in Launcher3's OWNERS
For some reason, I was unable to do it with others in the CL.

Note: This is a merge from AOSP.

Test: N/A
Merged-In: I02596028dd15e1fdbe255b954bd39f4c3bb005e2
Change-Id: I70172726b6aae7c7b210e4b3210d34dc1c503c06
Bug: 182399964
2021-03-11 13:44:04 +00:00
TreeHugger Robot 3e32a8352e Merge "Adding new team members working on the launcher" into sc-dev 2021-03-11 13:41:11 +00:00
Treehugger Robot e50fba1654 Merge "Adding alinazaidi@ in Launcher3's OWNERS" am: 0d3a2d99c8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626524

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1b1ff23f998fdd98001995a172d11a3026e75743
2021-03-11 13:29:18 +00:00
Treehugger Robot 0d3a2d99c8 Merge "Adding alinazaidi@ in Launcher3's OWNERS" 2021-03-11 12:56:14 +00:00
Treehugger Robot dc95904b93 Merge "Adding new team members working on the launcher" am: e5584cb882 am: 8dfa6bd01f am: bb008f6187
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626521

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idfd0620ef0fac95143e225c2006ea5e51891cc21
2021-03-11 11:04:48 +00:00
Treehugger Robot bb008f6187 Merge "Adding new team members working on the launcher" am: e5584cb882 am: 8dfa6bd01f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626521

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I77f092eb2d5900db7c1b4ff634427fc62f99e2fb
2021-03-11 10:24:35 +00:00
Pierre Barbier de Reuille 7468ff8bcc Adding new team members working on the launcher
Merged-In: I21dcf7fa78522826ae78db9cf8bdd72f8c8a6eca
Test: N/A
Bug: 182399964
Change-Id: I2f737cba83bde213b8712f3e288ea3f5ead4f001
2021-03-11 10:17:04 +00:00
Treehugger Robot 8dfa6bd01f Merge "Adding new team members working on the launcher" am: e5584cb882
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1626521

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie6728c7d9db6e4d287f1a9e9afc37c0846dac02e
2021-03-11 10:04:41 +00:00
Pierre Barbier de Reuille dd2bed8a93 Adding alinazaidi@ in Launcher3's OWNERS
For some reason, I was unable to do it with others in the CL.

Test: N/A
Change-Id: I02596028dd15e1fdbe255b954bd39f4c3bb005e2
2021-03-11 09:45:51 +00:00
Treehugger Robot e5584cb882 Merge "Adding new team members working on the launcher" 2021-03-11 09:34:58 +00:00
TreeHugger Robot 2d439080dc Merge "Launcher changes to support dynamic coloring on static widgets." into sc-dev 2021-03-11 02:15:41 +00:00
TreeHugger Robot 7120449669 Merge "Make TaskMenuView corner radius follow TaskView." into sc-dev 2021-03-11 01:46:40 +00:00
Alina Zaidi c322510b2a Merge "Implement pipeline for a simple search based on query string matching on app names in WidgetsListBaseEntries." into sc-dev 2021-03-11 00:18:00 +00:00