Commit Graph
49925 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 b04802ebfb Merge changes from topic "SEARCH_INTEGRATE" into sc-dev am: e17f4651d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13785875

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I50bf30f068376da0c1f52fd19eac079fb5da5c14
2021-03-15 13:48:03 +00:00
Alina Zaidi 0fc9002a12 Have a recycler view to show search results. am: 334e65935b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790519

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3f164bf64357db2d082ab5e6aa600adfe5f1f2a4
2021-03-15 13:48:01 +00:00
Alina Zaidi 9ff3fdcb7e Merge changes from topic "SEARCH_INTEGRATE" into sc-dev am: e17f4651d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13785875

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia84437d5fea7b9a12e8d4a9411074105bbc9c054
2021-03-15 13:47:59 +00:00
Alina Zaidi 4d5d7904c7 Have a recycler view to show search results. am: 334e65935b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790519

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I49683de9388acab1960e244a890fc077f0a100f5
2021-03-15 13:47:53 +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
Alex Chau 354902f725 Use grid Rect when calculating clear all position
- This is a follow-up of http://ag/13827968 that uses separate grid Rect to calculate grid layout position
- This fixes the case when there are not enough tasks to fill the screen

Bug: 174464863
Test: Launch overview grid with only one task, clear all should not be shown until scrolled
Change-Id: I4c4f720bc83e6f1feca83285adbe567deea2d063
2021-03-15 12:03:15 +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 5f21706bf7 Merge "Better estimate the height of widget recycler view" into sc-dev am: 5e7c89c36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841969

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib01c426b77f13e3b2671da93c2b279450b0aabd7
2021-03-15 10:33:20 +00:00
Steven Ng 47e4f31d31 Merge "Better estimate the height of widget recycler view" into sc-dev am: 5e7c89c36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841969

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia60de691e4392dc32c397c205b72916a0267be94
2021-03-15 10:33:00 +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
android-build-team Robot 99b37c4794 Snap for 7207674 from d7d65aa697 to sc-v2-release
Change-Id: Ife9123137157d919a0d89da22f208fe2dbb8f051
2021-03-14 23:08:04 +00:00
android-build-team Robot 0b5077d851 Snap for 7207674 from d7d65aa697 to sc-release
Change-Id: Ic2e93b5e057f5b85df88b1d74c6bc408dff07077
2021-03-14 23:07:57 +00:00
Hyunyoung Song 230ba4aaf1 Merge "Do not reset workprofile when on search result page" into sc-dev am: 133a5d5eb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13855863

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0c7bb84d119a8751f39a632832d497d4babfab5b
2021-03-14 20:58:00 +00:00
Hyunyoung Song 1caf8d49e4 Merge "Do not reset workprofile when on search result page" into sc-dev am: 133a5d5eb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13855863

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic42bbbc1babbf00984c477cc294001cbc52b5970
2021-03-14 20:55:02 +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 a49d05249b Merge "Limit existing usages of nav bar button alpha to two button mode" into sc-dev am: d7d65aa697
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841869

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1470482c9d8fac9b47752d1f3a242285d6a122b0
2021-03-14 04:31:21 +00:00
Winson Chung 1a15133031 Merge "Limit existing usages of nav bar button alpha to two button mode" into sc-dev am: d7d65aa697
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841869

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I127918dc8cc15bc967779261af5b0d8361c2086a
2021-03-14 04:31:01 +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
android-build-team Robot 29669b2832 Snap for 7206732 from 2abfddf72d to sc-v2-release
Change-Id: Ifd1dd2d6679ad28b81af5e59a82d258b7387e8cc
2021-03-14 00:08:31 +00:00
android-build-team Robot fba3fed23b Snap for 7206732 from 2abfddf72d to sc-release
Change-Id: I92e5a85885235e4ac84c549d96869ccc7cdd97de
2021-03-14 00:08:00 +00:00
Winson Chung cf1a0d17e9 Merge "Update calls to go through the feature interface instead of sysui proxy" into sc-dev am: 2abfddf72d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13468030

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia900c396beceaf68a6bac5dfc14fabac2f3f3a78
2021-03-13 19:48:57 +00:00
Winson Chung 2b42b9f454 Merge "Update calls to go through the feature interface instead of sysui proxy" into sc-dev am: 2abfddf72d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13468030

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I560ddd85eac79f0eb4a32b9a6dd3869b36a82510
2021-03-13 19:44:03 +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
Hyunyoung Song f72f513e6c Fix AA+ decorator drawing out of bounds issue / Make AA+ opaque
Bug: 182425322
Bug: 182305279

Test: manual

Change-Id: Ib9fbd09613e8e1c50a9d75fb2ab9546d2f5230b7
2021-03-12 21:23:47 -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 9ae5278d02 Merge "Make ENABLE_TASKBAR and ENABLE_OVERVIEW_GRID DebugFlags instead of DeviceFlags" into sc-dev am: 8ecb59189f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856294

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ief26e48d00df920712c2cbadfb9a05caee305937
2021-03-13 02:59:55 +00:00
Tony Wickham 4b48e71224 Merge "Make ENABLE_TASKBAR and ENABLE_OVERVIEW_GRID DebugFlags instead of DeviceFlags" into sc-dev am: 8ecb59189f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856294

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia223a54b2e1f55ab7a14769a9cda5a1ad09c0978
2021-03-13 02:59:41 +00:00
Jonathan Miranda 4e0a32d55d Merge "Do not add arrow to OptionsPopupView." into sc-dev am: 1a8a20b3c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856011

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1816eb0a39c7a1cd885216c1c2b36caf7dfe0e68
2021-03-13 02:59:41 +00:00
Jonathan Miranda a3cbd05b69 Merge "Do not add arrow to OptionsPopupView." into sc-dev am: 1a8a20b3c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13856011

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc923721ea3d58d04cdb96533a043b776f4a9f51
2021-03-13 02:59:28 +00:00
Tony Wickham d76a0f26cb Merge "Replace taskbar hotseat with real hotseat when folder is open" into sc-dev am: e2ed4b37cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13842245

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1b93349b49831113f31b493f7f1a3bda49163037
2021-03-13 02:59:27 +00:00
Tony Wickham 5141a87d80 Merge "Replace taskbar hotseat with real hotseat when folder is open" into sc-dev am: e2ed4b37cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13842245

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea3b1a27a3d68e32a8c22bb5e127cbf9eca4343b
2021-03-13 02:59:07 +00: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
android-build-team Robot 7950ae9908 Snap for 7205268 from b3545651e2 to sc-v2-release
Change-Id: Ia129f4726aaa65952e485158c990c59488e71732
2021-03-13 02:08:27 +00:00
android-build-team Robot 205d6f9d42 Snap for 7205268 from b3545651e2 to sc-release
Change-Id: Ie67331836ecee33f613fe1e58f468ebbdc33bb3b
2021-03-13 02:07:51 +00:00
Tony Wickham 145b7fd68c Remove insets due to Taskbar, except on workspace elements
Test: go to all apps, ensure no bottom insets/limited nav bar
protection; go to overview, ensure no extra bottom padding

Bug: 171917176
Change-Id: I09dc589e1cb8d3b673bf2b38e42284557413e011
2021-03-12 16:46:54 -08:00
Vadim Tryshev 067e26d055 Merge "Increase wait times in TAPL" into sc-dev am: 976bd24f57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13828743

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7b3b905f3594d4a7717417417fd189786709d23c
2021-03-12 23:22:46 +00:00
Vadim Tryshev c583995849 Merge "Increase wait times in TAPL" into sc-dev am: 976bd24f57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13828743

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia7d5d991556a3c84cc6ef21df43d45ae658973c4
2021-03-12 23:22:05 +00:00
vadimt 730b9d60a4 Fixing Launcher3 tests
Adding an atest config.
Correctly calculating display height.
Allowing scrolling from a partially visible bottom row in AllApps

Test: presubmit
Bug: 182006150
Change-Id: I5f3b976ac05ed1c2e1ffbb67cc6db0c0ee13ae6c
2021-03-12 15:11:34 -08: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
Robert Carr cf2e907f56 Launcher3: Port SurfaceTransactionApplier to BLAST
Internal copy already works this way.

Bug: 168505645
Change-Id: I31a3fadb01b9fb65c15616522e612f718bc92ba3
2021-03-12 12:50:48 -08:00
Hilary Huo a908e6ad3d Merge "[settings-pixel-search] Add slice timeout to avoid showing empty slice view" into sc-dev am: b3545651e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13819830

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I460b71694d06d6bd0d0f498cf58929dd29b484dc
2021-03-12 20:26:00 +00:00
Hilary Huo e385962728 Merge "[settings-pixel-search] Add slice timeout to avoid showing empty slice view" into sc-dev am: b3545651e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13819830

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I608eca101b8e05385507063c77b75051956071b7
2021-03-12 20:25:49 +00:00