Commit Graph

49925 Commits

Author SHA1 Message Date
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
Steven Ng 8c792936fe Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev 2021-03-25 23:14:24 +00:00
Samuel Fufa 7122bd1577 Disable work profile tests
Bug: 182844465
Test: presubmit
Change-Id: Ifc7baf9dffc6b8b453acf23dfe74f4cc9cd5ba4e
2021-03-25 18:07:58 -05:00
Tony Wickham b9bbe994eb Fix Home->Overview not being logged in 0 button mode
At some point we made a change to clearState() from onDragEnd(),
which means the detector is in IDLE state instead of SETTLING. As
long as we aren't still in DRAGGING state, we should log.

Test: wwlogcat
Change-Id: I0f1098bd09cd1296b06f8cb3ebe400c2a25156ca
2021-03-25 15:11:57 -07:00
Schneider Victor-tulias 2ccb31b9b6 Merge "Add strings for gesture navigation tutorial." into sc-dev am: 29d7648813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988047

Change-Id: Iea18e237f0f7312731652aa0e17a6f4c4f77f9db
2021-03-25 21:39:14 +00:00
Schneider Victor-tulias ca464c2a93 Merge "Add strings for gesture navigation tutorial." into sc-dev am: 29d7648813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988047

Change-Id: Ie1a33013d65dbb7b21a20bbdb4a362751fdbc0d7
2021-03-25 21:38:39 +00:00
Steven Ng 14eab916cb Merge "Filter out potential null widget item from recommended widgets" into sc-dev am: fe158fab89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989192

Change-Id: I23cdcb250747da181607bebe151b31b325764141
2021-03-25 21:37:45 +00:00
Steven Ng e1ccc5c273 Merge "Filter out potential null widget item from recommended widgets" into sc-dev am: fe158fab89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989192

Change-Id: I9c5a139fc53c736df27d361dcbc4aea51c0b8c74
2021-03-25 21:35:51 +00:00
Schneider Victor-tulias 29d7648813 Merge "Add strings for gesture navigation tutorial." into sc-dev 2021-03-25 21:07:56 +00:00
Steven Ng 26a9df6046 Fix AddWidgetTest & AddWidgetConfigTest
Simplify the scrolling by a scroll down a smaller fixed distance. This
way we don't need to scroll back-n-forth in order to handle the
overlapping of the search bar and the targeted widget.

Test: run AddWidgetTest & AddWidgetConfigTest

Bug: 183616605
Change-Id: Icc72f4ba6c61bdb95ab5eaf22600407d59d14eba
2021-03-25 20:57:13 +00:00
Steven Ng fe158fab89 Merge "Filter out potential null widget item from recommended widgets" into sc-dev 2021-03-25 20:54:38 +00:00
TreeHugger Robot d52247907f Merge "Slightly improve Taskbar animations to launcher" into sc-dev am: 0a74a35a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973516

Change-Id: I7482b9d5e3939c48d691e0d97c9c7de98f988e7b
2021-03-25 19:00:27 +00:00
TreeHugger Robot cfd17e2a23 Merge "Slightly improve Taskbar animations to launcher" into sc-dev am: 0a74a35a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973516

Change-Id: I6ef300f685dd72219732f8f90389c5a214995a7d
2021-03-25 18:59:47 +00:00
Hongwei Wang 00c966a446 Pass the whole auto pip transaction to recents animation
Bug: 179720719
Test: manually using the ApiDemos app
Change-Id: I921c97c8bbba66dc5a674d1d67cff2e528e56154
2021-03-25 11:48:21 -07:00