Commit Graph
30738 Commits
Author SHA1 Message Date
Hyunyoung Song b5ce1bcae2 Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag am: f1bcf7a4dd am: ca2ba9e1c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13419158

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I681444c2f304467656aa7ee25f90c0866d0662e2
2021-01-28 10:36:25 +00: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 f37c650a3a Fix missing grid for devices that upgrade from R am: a62e49b365 am: 3977aa6014 am: 3159909d12 am: f8773378e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iebeced2df795015cb53e81b8a3cd6d6dd29ea5aa
2021-01-28 04:59:01 +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 aa7bef3ed4 Merge "Fix missing grid for devices that upgrade from R" into sc-dev am: db46688e65 am: 78d1195c9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13420189

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I94ef838f8fb75407a606bc35c78945c28ae38c8b
2021-01-28 02:55:39 +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 910ea5079a Merge "Inherit theme colors on app drawer and folder" into sc-dev am: fbc987496e am: b0d7b3190c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418340

MUST ONLY BE SUBMITTED BY AUTOMERGER

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44848f580f0562217ddb562afca799fe13c9ea11
2021-01-28 00:08:47 +00:00
Tracy Zhou 9f75c4ceed Temporary fix to disable task#onClickListener during transition to overview am: 15b0f700fe am: 2ebbee6d0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13418432

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1523a3b11df375eefa0a840b2ca00b74193ebec5
2021-01-28 00:08:25 +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
Sreyas Rangaraju 6d0d3b514a Merge "Refactoring startShareActivity to allow crop to be passed in." 2021-01-27 19:19:08 +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
Lucas Dupin 5e78ed84a9 Merge "Inherit theme colors on app drawer and folder" 2021-01-27 02:55:21 +00:00
TreeHugger Robot 4e6dff5d29 Merge "Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag" 2021-01-27 02:21:35 +00:00
TreeHugger Robot f5df9fa1ae Merge "Fix some issues with TwoButtonNavbarTouchController" 2021-01-27 02:16:03 +00:00
Tony Wickham a24b9ff69d Fix some issues with TwoButtonNavbarTouchController
- Use same swipe height as the tests use to get to Overview
- Use mStartState instead of fromState when determining
  target state, to disallow swiping through states, i.e.
  from NORMAL to OVERVIEW back to NORMAL in one long swipe
  up gesture. Instead, now swipe up from NORMAL goes to
  OVERVIEW and swipe up from OVERVIEW goes to NORMAL.

Fixes: 177316094
Change-Id: Ic8e9c8650d4cf11eec344802e3569413bfd5d7bc
2021-01-26 15:50:23 -08:00
Lucas Dupin fc82c5a920 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
2021-01-26 15:06:11 -08:00
Hyunyoung Song 650fe52313 Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag
Change-Id: I6e161bf36b315613bd2f13886cf4ef50470469b0
2021-01-26 13:39:27 -08: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
Sreyas b454862005 Refactoring startShareActivity to allow crop to be passed in.
This is necessary to start a share activity based on a single image from Launcher.
Bug: 169772466, 169799864

Change-Id: I8a2baaa978a83f289e558dcd5d9be5ca6a164b2f
2021-01-21 15:31:05 -08: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