Commit Graph
47938 Commits
Author SHA1 Message Date
Jon Miranda ec1277eec1 Migrate existing 4x5 and 4x4 grid users to a new 4x5 grid.
Due to the dogfood 4x5 grid using the wrong db, there may
be some rearranging of items.

The goal is to completely remove the old 4x4 and 4x5 grid,
but first we need to silently migrate users to the new grid.

We still  need to keep the old grids in the device profile
so we hide them from the Styles & Wallpaper app.

We also need to reset and remove the ENABLE_FOUR_COLUMN feature
flag from the UI.

- Added TODO to remove this logic in the tracking doc

Bug: 183965808
Bug: 175329686
Test: have old 4x4 or 4x5 grid set up
      install apk with these changes
      confirm that we are now using the new grid and the
      other grid options are inaccessible to the user
Change-Id: I81a91b8415effbe0bf7ba722f11ab44a4169e3df
2021-03-30 13:17:37 +00:00
András Klöczl fcf90430b5 Merge "Fix two panel home folder opening display issue" into sc-dev am: 35793a8643
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14018929

Change-Id: Icdf05057cf8a47e2846097d2a5aa262fd734f06a
2021-03-30 12:38:15 +00:00
András Klöczl dddfa9d9af Merge "Fix two panel home folder opening display issue" into sc-dev am: 35793a8643
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14018929

Change-Id: I476616b2146fa0b2ef03a43f040c474ab0bfa95a
2021-03-30 12:38:13 +00:00
András Klöczl 35793a8643 Merge "Fix two panel home folder opening display issue" into sc-dev 2021-03-30 11:52:42 +00:00
Alex Chau b5c4d1108f Changes page alignment in PagedView calcualtion
- Align pages to right (instead of left) in RTL, to make scroll calculation for grid overview easier for out of orientation tasks
- Changed TaskView pivot direction to be consistent with page alignment
- Add scroll offset for ClearAllButton to align to left in RTL
- Fixed Workspace scroll issues in RTL, and removed needs to use panelCount when calculating page scroll

Bug: 175939487
Test: Test carousel/grid overveiw, Workspace, Folder scroll view for normal/RTL
Change-Id: Ic0ba88e5d58638e1149d97a68a978d80fbf26774
2021-03-30 12:05:16 +01:00
Hyunyoung Song 72f32ff54e Merge "Disable work profile tests" into sc-dev am: e6583cbb75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13999210

Change-Id: I01b1745f85e53b02130aea3a6cfdb07ca4da69dc
2021-03-30 04:34:29 +00:00
Hyunyoung Song d525c28332 Merge "Enable device search" into sc-dev am: 6df27bfd08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970238

Change-Id: I3898b7eeb58cf55474c562ed0ea21bb4e6f36ea0
2021-03-30 04:34:29 +00:00
Hyunyoung Song a17b965d70 Merge "Disable work profile tests" into sc-dev am: e6583cbb75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13999210

Change-Id: I4a563e6f40636bbb983369bdf31cbbf67339cc23
2021-03-30 04:34:23 +00:00
Hyunyoung Song 0156048ed4 Merge "Enable device search" into sc-dev am: 6df27bfd08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970238

Change-Id: Ia548c5e1465f31e7df23b8712f2509ee814ed92b
2021-03-30 04:34:22 +00:00
Hyunyoung Song e6583cbb75 Merge "Disable work profile tests" into sc-dev 2021-03-30 03:53:11 +00:00
Hyunyoung Song 6df27bfd08 Merge "Enable device search" into sc-dev 2021-03-30 03:53:11 +00:00
Zak Cohen d811dd11d7 Merge "Overview - extract AssistContentRequester logic for reuse." into sc-dev am: d9efc0b273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989046

Change-Id: I9198b69382bbe70e55d92a7425429da8fe3a5bf9
2021-03-30 03:04:31 +00:00
Zak Cohen 82bef1b818 Merge "Overview - extract AssistContentRequester logic for reuse." into sc-dev am: d9efc0b273
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989046

Change-Id: I226cc72e95fa837e6be50fb5f2b09b937c9608fc
2021-03-30 03:03:02 +00:00
Zak Cohen d9efc0b273 Merge "Overview - extract AssistContentRequester logic for reuse." into sc-dev 2021-03-30 02:39:51 +00:00
Tracy Zhou e0fd48f692 Merge "Enable Live Tile" into sc-dev am: 269e432eee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13998859

Change-Id: Idc7c86a10ed44e1ca4f4f7030b67f863a14c60e6
2021-03-30 02:39:24 +00:00
Tracy Zhou 2aec97e4bf Merge "Enable Live Tile" into sc-dev am: 269e432eee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13998859

Change-Id: I93694ef0beba5edc7676c1be2db5dd99b7c36d40
2021-03-30 02:39:03 +00:00
Tracy Zhou 269e432eee Merge "Enable Live Tile" into sc-dev 2021-03-30 02:10:19 +00:00
Vadim Tryshev 25a2bd3c1d Merge "Fixing a leak in WallpaperColorInfo" into sc-dev am: 419c1092e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14020290

Change-Id: I6175906a25678415f09d4e844c419a5f3a10f5ba
2021-03-30 01:58:36 +00:00
Vadim Tryshev 73048e6fa3 Merge "Fixing a leak in WallpaperColorInfo" into sc-dev am: 419c1092e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14020290

Change-Id: Id8a5f3c0373e2a0d8ee9bab9f9e617766cfe59a2
2021-03-30 01:57:29 +00:00
Vadim Tryshev 419c1092e3 Merge "Fixing a leak in WallpaperColorInfo" into sc-dev 2021-03-30 01:13:40 +00:00
android-build-team Robot b31bbd2532 Snap for 7243396 from adcc940d4b to sc-v2-release
Change-Id: I38200b0c44c0ebd6e31b762e73a026478c6b9c45
2021-03-30 01:07:56 +00:00
android-build-team Robot fdb3eb846d Snap for 7243396 from adcc940d4b to sc-release
Change-Id: I0e31770b5d8bad8bed93c9177fbb82a3a9067ae1
2021-03-30 01:07:47 +00:00
vadimt 1b54846254 Fixing a leak in WallpaperColorInfo
Nulling temp listeners after use

Test: presubmit
Bug: 181356264
Change-Id: I6cace47f1424e2fe59a283bb0e16de523875b6cf
2021-03-29 14:47:06 -07:00
Pat Manning 31ff828ce1 Merge "Shift only tasks within current grid row upon task dismissal." into sc-dev am: adcc940d4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13955525

Change-Id: I8cd98e92c9e65a07e81220169c5e16c994391635
2021-03-29 21:04:31 +00:00
Pat Manning ea99f388fa Merge "Shift only tasks within current grid row upon task dismissal." into sc-dev am: adcc940d4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13955525

Change-Id: Ib1e5ac3ab30dc66ad6ad4ff1909aa3c351acdb8d
2021-03-29 21:03:59 +00:00
Andras Kloczl 3a4ba0bec3 Fix two panel home folder opening display issue
Change the rect calculation logic that is used to
display an opening folder. If multiple panels are
displayed then we calculate the union of the pages.

Test: manual
Bug: 181962118
Change-Id: I504f22890115ceebc16d60929149fe634bf820d0
2021-03-29 22:51:57 +02:00
Pat Manning adcc940d4b Merge "Shift only tasks within current grid row upon task dismissal." into sc-dev 2021-03-29 20:38:00 +00:00
Sunny Goyal c5797893e7 Using edgeEffect for overscroll in all-apps and widget tray
Bug: 183966408
Test: Manual
Change-Id: Iea1b67504fc59fc7ce2ec657bf8ac7e3d8bfff1c
2021-03-29 12:35:39 -07:00
Tony Wickham 52bbcc3976 Invert StateAnimationConfig.PLAY_ANIMATION as SKIP_ALL_ANIMATIONS
This allows the default flag to be 0 instead of PLAY_ANIMATION, and is
aligned with the existing SKIP_OVERVIEW and SKIP_DEPTH_CONTROLLER
flags.

Test: Navigate to various states, works as before
Bug: 175137718
Change-Id: I2af1792e7fbd5bca82afb225290fd6b545368dcf
2021-03-29 11:59:14 -07:00
Tony Wickham 6cd95cd2d8 Remove Overview atomic animation support
- Remove PLAY_ATOMIC_OVERVIEW_SCALE and PLAY_ATOMIC_OVERVIEW_PEEK
- Remove complicated parallel atomic animation support from
  AbstractStateChangeTouchController and subclasses
- Remove some code related to going between Overview <-> AllApps

Test: Swipe between states in all 3 navigation modes
Bug: 175137718
Change-Id: Ice314d46946c3a983cdc6ccf1a67effb5da9156e
2021-03-29 11:59:06 -07:00
Tony Wickham c5d168da82 In 2 button mode, animate to HINT_STATE instead of OVERVIEW directly
When reaching HINT_STATE_TWO_BUTTON, we goToState(OVERVIEW) with a
haptic, to keep the same feeling as before.

Test: Swipe up from home on nav bar, ensure it goes to overview
Bug: 175137718
Change-Id: Ib17d4a5e9e33b8bf9b074f926faa6d0e2fb487fa
2021-03-29 11:58:50 -07:00
Vadim Tryshev 75270c6243 Merge "Showing DWB remaining time for work profile apps" 2021-03-29 18:56:35 +00:00
Alex Johnston 8786016e85 Block recent work profile apps content capture
Stop data exposure of work profile by blocking
content capture of recents apps when the work
profile is locked.

Manual testing steps
* Set up work profile
* Set personal and work pattern
* Open work app, enter work pattern and
  verify content capture is possible
* Lock device
* Go to Recents and select already opened
  work app. Verify content capture is not
  possible until work pattern is entered.

Bug: 168802517
Test: manual testing
Change-Id: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-03-29 18:12:00 +00:00
Alex Chau 41a842449d Don't transpose hotseat on sw600
Bug: 178385459
Test: Manual
Change-Id: I5805b0ccb05b97b931ab99a31c31029f7066daca
2021-03-29 13:01:28 +01:00
Hyunyoung Song c07e3b3c28 Remove AA+ decorator logic from aosp code
Bug: 179495850
Test: manual

Change-Id: I7e029e4970f45a0f7c410533f85335a95e4e448c
2021-03-29 00:29:09 -07:00
Zak Cohen 733efa1bcd Overview - extract AssistContentRequester logic for reuse.
Extract the logic for fetching AssistContent into a common reusable place.

Bug: 179705864
Test: Local build of main launcher
Change-Id: Ife37a393d93f899fa1ae460bdcf0cadff6468b04
2021-03-27 14:53:34 -07:00
android-build-team Robot 850ef6f805 Snap for 7239224 from 78f5a8c6ab to sc-v2-release
Change-Id: I416d2f7d2a910e11d57df6b874ab19b2e9dec59d
2021-03-27 03:08:43 +00:00
android-build-team Robot b876c99b05 Snap for 7239224 from 78f5a8c6ab to sc-release
Change-Id: I13b992f0a263a3677b7eb11fd62ebde87477b6ae
2021-03-27 03:07:56 +00:00
Tracy Zhou 8718a09149 Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev am: 78f5a8c6ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13966823

Change-Id: I98793887a0e61098a0f066f5267ca7c89ca4120e
2021-03-26 19:23:22 +00:00
Tracy Zhou 480d3bee29 Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev am: 78f5a8c6ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13966823

Change-Id: Ia16d2ec0aed14238887541a9d4033795b3006afb
2021-03-26 19:22:38 +00:00
Tracy Zhou 0dd46fa242 Enable Live Tile
Test: presubmit
Fixes: 169694902
Change-Id: Id5cb0dae39a492de6ec54ef843c7492d1626e4db
2021-03-26 18:54:53 +00:00
Tracy Zhou 78f5a8c6ab Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev 2021-03-26 18:54:31 +00:00
Sunny Goyal 651a4db9b0 Merge "Moving some common functionality to IconLoaderLib" into sc-dev am: 7cb9327c28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988606

Change-Id: I2d6b8df755c047b8ebf41c4e51bfa8ba754cd494
2021-03-26 17:15:49 +00:00
Sunny Goyal 4214f9fad8 Merge "Moving some common functionality to IconLoaderLib" into sc-dev am: 7cb9327c28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988606

Change-Id: Id26a7bd85ae05140b11a5fb660ee4922375027fd
2021-03-26 17:09:04 +00:00
Sunny Goyal 7cb9327c28 Merge "Moving some common functionality to IconLoaderLib" into sc-dev 2021-03-26 16:42:04 +00:00
Tracy Zhou 9d706b1ada Fix failed test in order to enable Live Tile (in the next change)
Live tile changes certain assumptions we have for tests, for example
- Launcher will not be in the resumed state after swiping up to Overview

Also, disable live tile for 3rd party launcher for now

Test: presubmit
Fixes: 169694902
Change-Id: Ifd466db0354f59290c4f66a0a2ad4c82f1169f29
2021-03-25 19:44:36 -07:00
android-build-team Robot cd3f601d90 Snap for 7236705 from 0a74a35a41 to sc-v2-release
Change-Id: Ic8607f7b47f5e8c84474793cecf2fd31b83b569b
2021-03-26 01:07:55 +00:00
android-build-team Robot 6b963da95f Snap for 7236705 from 0a74a35a41 to sc-release
Change-Id: Ic86f9fc1c00307ffb04c3ecabe394dc3944e473b
2021-03-26 01:07:32 +00:00
Steven Ng 489dce9068 Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev am: 8c792936fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989191

Change-Id: I3bf49bb1d2eeb2a8e61781912c100de6ab21445c
2021-03-25 23:38:47 +00:00
Steven Ng 4df0fc1afd Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev am: 8c792936fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989191

Change-Id: If591238d23610b07e57fcdbeaa541a5fead1a808
2021-03-25 23:38:46 +00:00