Commit Graph

34470 Commits

Author SHA1 Message Date
Sunny Goyal 3e9a29c4d6 Moving roboelectic tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I197bc47181308bb0b79f3815a892b733abbcd1fd
2021-09-08 10:23:30 -04:00
TreeHugger Robot ce10de7964 Merge "Fix crash when hotseat icon is dragged onto Workspace" into sc-v2-dev 2021-09-06 17:07:01 +00:00
TreeHugger Robot 13e121e35a Merge "Snap to task from other grid row if dismissing non-snapped focused task and not enough tasks remain in current grid row to snap to." into sc-v2-dev 2021-09-06 16:16:00 +00:00
Andras Kloczl d888e77145 Fix crash when hotseat icon is dragged onto Workspace
Test: manual
Bug: 198820019
Change-Id: I53bb858feb7aad45472803b133ef3d026dd9f319
2021-09-06 16:43:01 +01:00
Alex Chau 48621c86ab Merge "Hide overview actions when focused task is not snapped" into sc-v2-dev 2021-09-06 14:58:23 +00:00
Pat Manning 017dbbe715 Snap to task from other grid row if dismissing non-snapped focused task
and not enough tasks remain in current grid row to snap to.

Test: manual
Fix: 196200215
Change-Id: I611ffc457769d57ac0d13657fafa73a4a741f877
2021-09-06 14:53:00 +00:00
TreeHugger Robot 69fd5cb959 Merge "Remove widget panel related leftover workspace items" into sc-v2-dev 2021-09-06 12:39:54 +00:00
Alex Chau 61cb7c0310 Hide overview actions when focused task is not snapped
- Overview actions is still click able when focused task is slightly off snap position and the alpha is between 0 and 1
- This is not desired and we should simply hide the actions when focused task is not snapped

Bug: 199040817
Test: manual non grid and non-grid
Change-Id: Ifda800fc4169a05c8128e7b3802d2ab4a5af4ae8
2021-09-06 13:05:35 +01:00
Andras Kloczl 929e3a2742 Remove widget panel related leftover workspace items
Upgrade launcher DB version and remove items with
widget panel IDs from the database.

Test: follow test instructions (in CL comment)
Bug: 198254728
Change-Id: I077a5f70ee93b7eca738b38f6b0e788d49f7ce70
2021-09-06 11:58:32 +01:00
Alex Chau 62f129b878 Fix getPagesToBindSynchronously returning wrong page pairs
- Use WorkSpace.getPagePair instead for accurate value

Bug: 191657065
Test: manual
Change-Id: I584f1705fb5ed2f0d2bd776eb6cf4f60c69238ac
2021-09-06 10:58:48 +01:00
András Klöczl 4926bf706a Merge "Add two extra empty pages on two panel launcher home" into sc-v2-dev 2021-09-05 21:05:53 +00:00
Andras Kloczl 408a54f2e7 Add two extra empty pages on two panel launcher home
Add a new screen ID for the second extra empty page
and add that new screen as well when the existing
extra empty page is added so that users can put items
on both sides of Workspace.

Test: manual
Bug: 196376162
Change-Id: I0b4f2e818407a10d8a7c032788a7bd7a61267779
2021-09-05 22:03:07 +01:00
Winson Chung 725ad3c031 Merge "Use max of corners when deciding gestures and add logs for corners" into sc-v2-dev 2021-09-04 16:15:49 +00:00
TreeHugger Robot 28325b0782 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: Ia1bb00f39457595b44e3240b8bd1c5eccc38cc8b
2021-09-04 06:48:02 +00:00
TreeHugger Robot 5ea5f90397 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev 2021-09-04 06:36:28 +00:00
TreeHugger Robot 1e86bd0ec6 Merge "Select remote apps based on stagePosition instead of hardcoded values" into sc-v2-dev 2021-09-04 04:32:10 +00:00
Vinit Nayak 58dd901bc1 Select remote apps based on stagePosition instead of hardcoded values
* LauncherSplitScreenListener returns taskIds guaranteeing index 0
to be leftTop task and index 1 to be rightBottom. Use that
instead of assuming remote target index 0 will be leftTop and
index 1 is right bottom as provided

Bug: 181704764

Change-Id: I2bc358ff3c2f2d127b81e10824e2c13f3ad718df
2021-09-04 04:31:56 +00:00
Tony Wickham 79ff586c10 Call onUserUnlocked() before adding callbacks am: 5a36b919b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I03e5411032285015489f4b8bceb8b023e9c12909
2021-09-04 03:13:40 +00:00
Winson Chung b42265861b Use max of corners when deciding gestures and add logs for corners
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I1c083dc9234354f66cf1537f0cfe8c21f1e1be3b
2021-09-04 02:23:53 +00:00
Becky Qiu 3118d24449 Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev 2021-09-04 00:17:43 +00:00
Winson Chung 507e976690 Merge "Provide internal IME insets" into sc-v2-dev 2021-09-03 23:46:16 +00:00
TreeHugger Robot eb5f5f7807 Merge "Disable FolderNameEditText on Taskbar" into sc-v2-dev 2021-09-03 23:00:33 +00:00
Tracy Zhou 2ccfa02fde Merge "Stash/unstash the task bar based on states" into sc-v2-dev 2021-09-03 22:49:07 +00:00
Tony Wickham 5a36b919b5 Call onUserUnlocked() before adding callbacks
This gives us a chance to initialize things in onUserUnlocked() if we're already unlocked, before doing any other logic that might use those variables.

Test: None (unable to reproduce)
Fixes: 184773649
Change-Id: I72ed91ae6202ec816f9bdceb4d9fd03b9a002816
2021-09-03 22:07:18 +00:00
Bill Yi bb52332af9 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: I25b2252cda8bbf16548a43fa76c690037bc9aa5a
2021-09-03 20:55:58 +00:00
Bill Yi 69196e30f0 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 5a1494cc61 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie687fe9ea007d3dc6b107bc4f79f24ade6f86039
2021-09-03 20:55:58 +00:00
Bill Yi 5892321516 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8
  Import translations. DO NOT MERGE ANYWHERE
2021-09-03 20:33:38 +00:00
Tony Wickham d345751849 Disable FolderNameEditText on Taskbar
Test: Can rename folder on home screen, but tapping folder name in taskbar does nothing
Bug: 180051157
Change-Id: Ief19805683f754995baf24d7f41f3979841d5bd3
2021-09-03 12:50:15 -07:00
Tracy Zhou 527b39cd28 Stash/unstash the task bar based on states
Bug: 193938970
Test: go to any app, stash/unstash, and make sure the states are preserved
Change-Id: I3adf826407e90275687ecea8302abf7a004f1df7
2021-09-03 12:43:04 -07:00
Becky Qiu a499fd4f93 [OneSearch] Add a clear function in the plugin to clear cache and memory.
Bug: 196586652
Test: manual
Change-Id: I094cefadda0a958b0059820f1c02ddf0298abbd8
2021-09-03 11:15:01 -07:00
Hongwei Wang bfec974f59 Do not trigger PiP on tapping on TaskView
Regression from ag/15158868, we should not send onUserLeaveHint on
tapping on the app icon in Recents / Overview.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fr0fdecPEned7rMjgdWhCQ
Bug: 198682451
Test: manual, tap on app icon in Recents, see video
Change-Id: I66888a75eec30d7e8ba7e09059399381516812ac
2021-09-03 11:10:05 -07:00
Winson Chung 543c226ffa Provide internal IME insets
Bug: 197727397
Test: Collapse taskbar, open IME
Change-Id: Ia251be1d5892a58b062f241bdafc5dbfc223e4c3
2021-09-03 10:22:56 -07:00
TreeHugger Robot bd42a9c12d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0b45388e83fd6b3c16da8f42a1300d34f001af81
2021-09-03 17:06:28 +00:00
TreeHugger Robot e7663d1f37 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-09-03 16:54:30 +00:00
TreeHugger Robot 6c88109006 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-03 16:51:11 +00:00
TreeHugger Robot 983adea20f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-03 16:51:05 +00:00
TreeHugger Robot fb0eaf2bee Merge "Animate scrolling grid into place when there is a gap between last tasks and clear all." into sc-v2-dev 2021-09-03 12:23:06 +00:00
Nick Chameyev 6b53e3101e Merge "Add taskbar icons unfold animation" into sc-v2-dev 2021-09-03 11:19:22 +00:00
Pat Manning 96dad8b039 Animate scrolling grid into place when there is a gap between last tasks
and clear all.

- Stagger animation starts
- Adds a grid translation property to TaskView for animating these
translations.

Also fixes an issue where the gap between clear all and focused task is
greater than spacing between grid tasks and clear all.

Test: manual
Fix: 188793333
Change-Id: Ib2ba8b1b84dc63c4ba186bd0b9b4962d3c66ce5a
2021-09-03 11:33:53 +01:00
Nick Chameyev 4dd4159fdc Add taskbar icons unfold animation
Adds 'move from center' animation for taskbar icons when
unfolding foldable devices.

Moves unfold transition progress provider from quickstep
launcher activity to TouchInteractionService to widen
the scope when this provider is available to cover
both launcher activity and taskbar.

Launcher activity and taskbar get their own instances
of unfold transition progress provider using
ScopedUnfoldTransitionProgressProvider wrapper.
This wrapper allows to get transition progress provider
that emits events only when clients are ready to handle them.

Bug: 193794563
Test: manual
Change-Id: I27581bd4e145a74f526bf60f2a545e56ded322f9
2021-09-03 10:25:52 +01:00
Shawn Lin fe2aed97c5 Merge "[DO NOT MERGE] Update QuickStepContract.getWindowCornerRadius API" into sc-v2-dev 2021-09-03 03:57:09 +00:00
TreeHugger Robot b9e08f5773 Merge "Enable staged split for sc-v2" into sc-v2-dev 2021-09-02 23:00:29 +00:00
Vinit Nayak 461a6cffd9 Merge "Quickswitch with staged split" into sc-v2-dev 2021-09-02 22:46:08 +00:00
Vinit Nayak db2a89d2ec Enable staged split for sc-v2
Bug: 181704764

Change-Id: Id4b0d8a2e3cc110a6aad5f33e29bc6f54c7e3c44
2021-09-02 21:55:26 +00:00
Vinit Nayak 57e261ceef Quickswitch with staged split
* UI polish/animations needed.
* One known bug (b/198310766), temp work around is to
swipe up to home.

Bug: 181704764
Test:
* Open apps in staged split and quickswitch
between GroupedTaskView and fullscreen apps.
* QS to fullscreen app and then go into overview
and re-launch split screen tasks
* QS to fullscreen app, wait 5 seconds,
swipe into overview, no GroupedTaskView shown

Change-Id: I0ce10a944d86be5c927eeaaef922559a40f39923
2021-09-02 11:44:36 -07:00
Samuel Fufa d74703d63d Merge "Remove HotseatEduActivity from AOSP" into sc-v2-dev 2021-09-02 18:18:19 +00:00
Vinit Nayak fb624f8501 Merge "Hide overview and app icon split option when appropriate" into sc-v2-dev 2021-09-02 17:42:53 +00:00
Jonathan Miranda 8bcbb662bb Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev am: 2f9f6378be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15690344

Change-Id: I438d4193b9a4ef33613f37e7a4ae30d3f663e6bb
2021-09-02 16:48:46 +00:00
Jonathan Miranda 2f9f6378be Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev 2021-09-02 16:34:03 +00:00
Alex Chau 6bad4d8877 Merge "Logging for drop bar not appearing for dragged widget" into sc-v2-dev 2021-09-02 09:35:13 +00:00