Commit Graph
30726 Commits
Author SHA1 Message Date
Samuel Fufa 8d2bf10e3e Migrate Widgets to new Search API am: 7c1e37cce1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib5c6c039909e57c585448d0fc692cdfc3a1c61b6
2021-01-28 16:05:57 +00:00
Samuel Fufa 7c1e37cce1 Migrate Widgets to new Search API
Test: Manual

Bug: 168321831
Bug: 177223401
Change-Id: Ide276002a47f2345fbe535adbcb3acdc2fbc1233
2021-01-28 06:15:47 -06:00
Hyunyoung Song ca2ba9e1c0 Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag am: f1bcf7a4dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419158

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6d4970839c663b92346d25bb4766f99b2c5c628f
2021-01-28 10:18:38 +00:00
Hyunyoung Song f1bcf7a4dd Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag
Change-Id: I6e161bf36b315613bd2f13886cf4ef50470469b0
(cherry picked from commit 650fe52313)
2021-01-28 09:57:04 +00:00
Tracy Zhou f8773378e4 Fix missing grid for devices that upgrade from R am: a62e49b365 am: 3977aa6014 am: 3159909d12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec32016369a60cbd5b40ddb7f303012f9f2c4388
2021-01-28 04:28:25 +00:00
Tracy Zhou 3159909d12 Fix missing grid for devices that upgrade from R am: a62e49b365 am: 3977aa6014
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I42dbaa0ffe135ade9f1c2ade3dbc9a52a9324214
2021-01-28 03:58:23 +00:00
Tracy Zhou 3977aa6014 Fix missing grid for devices that upgrade from R am: a62e49b365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id968c2fe398e1ff8ce8425804c0f7e20fdfd1b28
2021-01-28 03:11:28 +00:00
TreeHugger Robot 78d1195c9b Merge "Fix missing grid for devices that upgrade from R" into sc-dev am: db46688e65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420189

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibba9949167b69c3ecd535062508c7f7e3a2d366d
2021-01-28 02:40:04 +00:00
TreeHugger Robot db46688e65 Merge "Fix missing grid for devices that upgrade from R" into sc-dev 2021-01-28 02:22:12 +00:00
TreeHugger Robot b0d7b3190c Merge "Inherit theme colors on app drawer and folder" into sc-dev am: fbc987496e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418340

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I39ac371c1950c65fa67f44c1cd55c4b44cc3fd34
2021-01-27 23:58:11 +00:00
TreeHugger Robot 07534337c6 Merge "Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering" into sc-dev am: 81d20f7678
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13414957

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I99e1fe0951bbef9af2ad0f7ea02c6e093d9096c9
2021-01-27 23:43:57 +00:00
Tracy Zhou 2ebbee6d0d Temporary fix to disable task#onClickListener during transition to overview am: 15b0f700fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418432

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4b0ff95325a02a9843395425503b668f9b11bc78
2021-01-27 23:43:51 +00:00
TreeHugger Robot fbc987496e Merge "Inherit theme colors on app drawer and folder" into sc-dev 2021-01-27 23:23:41 +00:00
TreeHugger Robot 81d20f7678 Merge "Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering" into sc-dev 2021-01-27 23:19:46 +00:00
Tracy Zhou a62e49b365 Fix missing grid for devices that upgrade from R
Fixes: 178435615
Test: TODO
Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b
2021-01-27 22:21:24 +00:00
Tracy Zhou 0455d146a1 Fix missing grid for devices that upgrade from R
Fixes: 178435615
Test: TODO
Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b
2021-01-27 22:18:13 +00:00
Tracy Zhou 15b0f700fe Temporary fix to disable task#onClickListener during transition to overview
The root cause is InputConsumerProxy not getting events during the transition. Will need to investigate more, but since we dont allow interaction with TaskView during the transition currently, apply this temporary fix to unblock

Bug: 175039524
Test: manual
Change-Id: Ifc3eb0569cf3a60d193e91bf70519a0737afb90a
2021-01-27 19:29:16 +00:00
Hyunyoung Song 7575cca264 Support ACTION/THUMBNAIL/SUGGEST corpus for rendering rendering
Hookup notifyEvent for metrics, on device intelligence.


Bug: 178454668
Bug: 178455221

Test: manual (See attached screenshots in the bug)

Change-Id: I652b4f2b0644a4726ccc3e01ce4c945a719f96a8
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2021-01-27 19:13:09 +00:00
Lucas Dupin 29cd327066 Inherit theme colors on app drawer and folder
This way, changes on Theme.DeviceDefault will be reflected on launcher
as well.

Bug: 173561945
Test: visual
Change-Id: I297560253242476f34c47fcd845c44e96873a8b2
(cherry picked from commit fc82c5a920)
2021-01-27 16:24:58 +00:00
Samuel Fufa f1db62cc98 Merge " Introduce feature education for AllApps Search" 2021-01-26 21:03:31 +00:00
Jon Miranda f12b9a4b4e Fix bug where dragview gets stuck on screen. am: b453ef7621 am: 25178c55b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4b6341e88455d52ab3e6caec58b397048822755
2021-01-26 19:23:29 +00:00
Jon Miranda 25178c55b2 Fix bug where dragview gets stuck on screen. am: b453ef7621
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I636aef61403f44fd27898d74d2b857fd14f9ffc2
2021-01-26 18:41:40 +00:00
Jon Miranda b453ef7621 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
(cherry picked from commit 6fa63473e1)
2021-01-26 15:35:35 +00:00
Alex Chau 417bd72b71 Revert "Use Diplay.getMetrics in DisplayController"
This reverts commit acfac6187d.

Reason for revert: b/176656141

Bug: 176656141
Change-Id: Ic28e50779811d18450000efc2cdfd8184a931bbb
2021-01-26 15:23:20 +00:00
Samuel Fufa e9d970106c Merge "Consolidate Search result UIs" 2021-01-25 22:33:42 +00:00
TreeHugger Robot 5bcf86cfc2 Merge "Fix bug where dragview gets stuck on screen." 2021-01-25 22:21:30 +00:00
Samuel Fufa 062a8fd979 Introduce feature education for AllApps Search
Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg

Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps

- Move fallback search to quickstep
Bug: 178100472
Test: Manual

Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
2021-01-25 15:17:34 -06:00
Jon Miranda 6fa63473e1 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
2021-01-25 15:33:50 -05:00
Samuel Fufa c282018765 Consolidate Search result UIs
- Allow SearchAction to be represented by SearchResultIcon and SearchResultIconRow
- Fix tap enter to launch regression
- Remove Plugin Pipeline

Bug: 177223401
Test: Manual
Change-Id: Id1d445f6af3f80f840d567165051188c78230ed0
2021-01-25 12:46:05 -06:00
Jonathan Miranda 9acabb8199 Merge "Fix IllegalArgumentException for Float.NaN in ClipIconView." 2021-01-25 18:30:55 +00:00
Tony Wickham e631b759f9 Merge "Add empty Taskbar views and initial TaskbarController" 2021-01-25 17:27:29 +00:00
Tony Wickham f26e90aa35 Add empty Taskbar views and initial TaskbarController
Guarded by a FeatureFlag.

Bug: 171917176
Change-Id: I7145c7ae68282bf53552502798fe758c8c0e285d
2021-01-22 15:39:46 -08:00
Jon Miranda 8f09aa3438 Fix IllegalArgumentException for Float.NaN in ClipIconView.
Bug: 173703326
Test: not able to repo bug but this prevents the code from
      executing in bad case
Change-Id: I3701c040e72e6ce37a624b10bb82b2200935e283
2021-01-22 17:49:36 -05:00
Ashwini Oruganti 745272111c Add FLAG_IMMUTABLE to PendingIntent
PIs need a mutability flag on creation. See go/immutable-pendingintents for more context.

Change-Id: I7ac6a76fd501f36adddfd5bf85f0216a37fa9637
Test: TH
2021-01-22 22:17:25 +00:00
Schneider Victor-tulias 9b9919d2be Merge "Add check to prevent adding duplicate pending install icons onto the worksapce." 2021-01-21 18:39:28 +00:00
Schneider Victor-tulias e824438570 Add check to prevent adding duplicate pending install icons onto the worksapce.
Test: manual

Change-Id: Ifa1bbe39278a7a4f7a385204efcbb815c2a59ca3
2021-01-20 14:48:40 -08:00
Alex Chau 867b62a2d0 Merge "Update RecentsActivityRotation when device rotate" 2021-01-20 22:40:44 +00:00
Alex Chau df449d71e9 Update RecentsActivityRotation when device rotate
- When rotating device, RecentsOrientedState.setRecentsRotation is called without updating mRecentsActivityRotation, leaving a stale orientation to be used by other components

Bug: 176913754
Change-Id: Ieb7b6cd31a6f77809ac6d222b8d0d68d6015ce01
2021-01-20 20:07:55 +00:00
Alex Chau 47da250137 Merge "Ensure setRequestedOrientation is called when unfolding the device" 2021-01-20 19:58:24 +00:00
TreeHugger Robot 98414351b8 Merge "Do not apply shadows to app window if target is transluscent." 2021-01-20 19:02:16 +00:00
TreeHugger Robot f56efc0187 Merge "Adding debug tracing for Device.wait" 2021-01-20 18:58:21 +00:00
Vadim Tryshev 9e86e3b89d Merge "Removing automatic failure investigator" 2021-01-20 18:46:42 +00:00
Tony Wickham 9dbcc4b219 [automerger skipped] Separate TaskView translationX into dismiss + offset translations am: 5662a653da am: f677930374 -s ours
am skip reason: skipped by user twickham

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13370324

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id5b370bfcca6fdafdf0b807b3093a2366da1663e
2021-01-20 18:45:35 +00:00
TreeHugger Robot c32fa4bce0 Merge "Correctly generating heap dumps for OOP tests" 2021-01-20 18:45:11 +00:00
Jon Miranda d772198157 Do not apply shadows to app window if target is transluscent.
Bug: 148938447
Test: Open disabled work profile app. Swipe away to close.
Change-Id: I54fabbe06615cf2f492c1a4aa68b597b5d132584
2021-01-20 11:52:50 -05:00
TreeHugger Robot b0bdd38fe4 Merge "Checking mRecentsAnimationController for null-ness" 2021-01-20 16:29:46 +00:00
TreeHugger Robot fc7132714a Merge "Adding all-apps onboarding popup for 2-button mode" 2021-01-20 08:12:41 +00:00
Sunny Goyal f8f6595670 Merge "Fixing unrelated icons getting removed during sesison failure" 2021-01-20 06:34:27 +00:00
Tiger Huang 5d993e2c6e Merge "Allow system gesture while ignoring bar visibility" 2021-01-20 04:20:40 +00:00
TreeHugger Robot 7b6dd95c2c Merge "Revert "Revert "Add UI updates for incremental app installs.""" 2021-01-20 02:27:55 +00:00