Commit Graph

60459 Commits

Author SHA1 Message Date
Bill Yi 47007fccce [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 88c671ee71 -s ours am: 9815dd9c8b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie7292bebf70fe68903ba9a72fb8b95f46d647754
2022-01-14 18:52:33 +00:00
Bill Yi 9815dd9c8b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 88c671ee71 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic640462bab1926c8fbc1ea46883750e67e4cf171
2022-01-14 18:32:53 +00:00
Tony Wickham 7b40594bc7 Merge changes I36f6cfb8,I7c784765
* changes:
  Create new window for Taskbar Nav Buttons when taskbar is focusable
  Make taskbar focusable when folder is open to get IME input
2022-01-14 17:12:08 +00:00
Thales Lima 9df1ba0847 Merge "create 6x5 scalable grid for tablets" 2022-01-14 12:21:58 +00:00
Bill Yi cb1dd97416 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2252fe53756b7b7369e30ec7107a18911ea6f4d2
2022-01-14 11:14:52 +00:00
TreeHugger Robot 1b6d46f880 Merge "Remving SurfaceControlCompat" 2022-01-14 07:04:53 +00:00
Bill Yi 88c671ee71 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iec90538bf8dd18fede035d7f548a71b757d2356c
2022-01-14 04:17:46 +00:00
Android Build Coastguard Worker 5111105645 Snap for 8078460 from 29004de0d1 to tm-release
Change-Id: I74845c478597abacf30e06e9aefd68397c953cf2
2022-01-14 02:09:44 +00:00
TreeHugger Robot 29004de0d1 Merge "Limit home gesture distance to half of screen height" 2022-01-14 00:18:18 +00:00
Android Build Coastguard Worker d4ca9de618 Snap for 8076550 from b92c4e2319 to sc-v2-release
Change-Id: If70f748cd7a4cec2584079adc59b00f3c856a22a
2022-01-14 00:08:51 +00:00
Lucas Dupin 470c987e2e Merge "Directly assign mDepth" into sc-v2-dev am: c518932f74 am: 7b71c2ee59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16622831

Change-Id: I4686c845583d85ff58899869ac18a9d87762c537
2022-01-13 23:54:15 +00:00
Lucas Dupin 7b71c2ee59 Merge "Directly assign mDepth" into sc-v2-dev am: c518932f74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16622831

Change-Id: I834c566de468c086c6f27aa8e71cbcdfd996f27d
2022-01-13 23:37:21 +00:00
Lucas Dupin c518932f74 Merge "Directly assign mDepth" into sc-v2-dev 2022-01-13 23:19:20 +00:00
Alex Chau a472190c8a Limit home gesture distance to half of screen height
- Somehow when home gesture's travel distance is above certain number (~2560px in the bug's case), the touch will wrongly go to the 3P launcher instead of staying in quickstep launcehr only. As it's unusal for home gesture to be so long, limiting it to half of screen height.

Bug: 214279686
Test: presbumit and TaplTestsLauncher3#testWidgets on cf_tablet
Change-Id: I1107074556aea3011b186ba34dc830dbb1445517
2022-01-13 22:08:40 +00:00
TreeHugger Robot 05de8c874f Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev am: c0a6d3fc8f am: e81cab2fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16346766

Change-Id: I03d32f4df17adc36982ad03896583ede306934d3
2022-01-13 21:06:28 +00:00
TreeHugger Robot e81cab2fa4 Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev am: c0a6d3fc8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16346766

Change-Id: I96ae73987e33c706f408d443559836a8d5024e37
2022-01-13 20:49:42 +00:00
TreeHugger Robot c0a6d3fc8f Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev 2022-01-13 20:36:44 +00:00
Lucas Dupin 03064a1e60 Directly assign mDepth
A request to set a new depth is ignored if the surface is currently
invalid. We should cache what was the requested value, so it will be
applied once the surface is valid again.

Test: manual
Fixes: 209028986
Change-Id: I812816da4b0139c7ea7b53a9fb00f11265ecdea8
2022-01-13 12:01:11 -08:00
Vadim Tryshev d55a139843 Merge "Removing 2-button support from tests" 2022-01-13 17:59:57 +00:00
Jerry Chang 85224ebd08 Consolidate recent animation in split screen with shell-transition
Also exclude corresponding parent task when wrapping up remote animation
target for recents animation.

Bug: 206487881
Test: manual check recent animation after split screen activated
Change-Id: I2e80eca1124d9a9e360513334211bde8a52575ea
2022-01-13 08:00:00 +00:00
TreeHugger Robot b92b229a80 Merge "Launch activity if click on a TaskView which has the task running on different display wit root." 2022-01-13 06:07:15 +00:00
Android Build Coastguard Worker 47bddd0a0e Snap for 8073075 from 2975bb25ac to tm-release
Change-Id: Ib263233ce91adb12bdf466c8b6bf0d3d8708e179
2022-01-13 02:12:06 +00:00
Android Build Coastguard Worker 6d099bd95a Snap for 8071527 from f6086e74e3 to sc-v2-release
Change-Id: If0cb12cada2c9b3ce85b4d46d8932d381506ea8e
2022-01-13 00:11:52 +00:00
Winson Chung 30fc033b0c Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e2319 am: daaebc8959
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: Ic3c9e5aae3bd858a4471de6a3be5027fc844f5a8
2022-01-12 23:27:41 +00:00
Winson Chung daaebc8959 Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e2319
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: I981d23be42c55bbf276b66903d754b178c9e5d27
2022-01-12 23:14:41 +00:00
Winson Chung b92c4e2319 Merge "Revert "Add logs for null task list"" into sc-v2-dev 2022-01-12 23:00:00 +00:00
Tony Wickham 66971f87e1 Create new window for Taskbar Nav Buttons when taskbar is focusable
Test: Open folder from taskbar, edit name, ensure back button displays above IME and that IME sends input to the taskbar folder name
Bug: 205803170
Change-Id: I36f6cfb835aa7da280f15ea4b0aed8923ce8a012
2022-01-12 14:22:47 -08:00
Tony Wickham c07fb08a1e Make taskbar focusable when folder is open to get IME input
- Remove ActivityContext#supportsIme(), as it's always true now
- Add OnFolderStateChangedListener, which we register when clicking on a taskbar folder icon to set the window focusable/not.
- Also remove Folder.STATE_NONE and instead default to STATE_CLOSED (renamed from STATE_SMALL).

TODO: make sure back button is visible above IME (followup CL)

Test: Open a folder from taskbar while in an app, no animation jump and can change folder name
Bug: 180051157
Change-Id: I7c7847657d462c16677d66b9ffa8b6fe5f164084
2022-01-12 14:22:31 -08:00
vadimt 1ac72db930 Removing 2-button support from tests
Bug: 187761685
Test: presubmit
Change-Id: I932dd8cbc7524732e3ff83a35d7034b3e5ff75d9
2022-01-12 10:37:50 -08:00
Alex Chau 2975bb25ac Add more grid dbs to Launcher3 backupscheme
- To enable homescreen restore with Launcher3/SearchLauncher dogfood, see bug for details

Bug: 210984712
Test: none
Change-Id: I398551bc6fece17aba163a27ef29c748d58ab90e
2022-01-12 15:23:30 +00:00
Alex Chau 74379fd744 Merge "Allow items to be added alongside smartspace" 2022-01-12 11:25:09 +00:00
TreeHugger Robot 2f94c70ad6 Merge "Adding icon theming API support in Launcher" 2022-01-12 08:26:03 +00:00
Android Build Coastguard Worker 4736729fe3 Snap for 8069058 from 73d6b4c99e to tm-release
Change-Id: Id99b96282b903a54c8e7648b3332ffe9d86f2620
2022-01-12 02:09:31 +00:00
Jerry Chang 5360c00c85 Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev am: f6086e74e3 am: 0e22f9947b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598402

Change-Id: I7cd1665d8bc22aecfa9feb39261087656be7facf
2022-01-12 01:58:10 +00:00
Jerry Chang 0e22f9947b Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev am: f6086e74e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16598402

Change-Id: I9d66b3cb98ba5540e417c2acc7084d4edaa62e9f
2022-01-12 01:41:13 +00:00
Jerry Chang f6086e74e3 Merge "Fix NPE when consuming snapshots for recent animation" into sc-v2-dev 2022-01-12 01:21:14 +00:00
Android Build Coastguard Worker 6490826f97 Snap for 8068644 from 2c97c4ab19 to sc-v2-release
Change-Id: Ibfc3804b0267933cab0fda58aa4360cf441fde49
2022-01-12 00:09:00 +00:00
Winson Chung 08126d915c Revert "Add logs for null task list"
This reverts commit a46d36240b.

Reason for revert: Reverting logs for release

Change-Id: I65ae1ea691d5fb3d70a2db4beba08d7460b99e2b
2022-01-11 20:06:16 +00:00
Iris Yang 55f74d675c Set launch display id to an action performed on BaseQuickStepLauncher
Without this change, tapping all apps of work profile wouldn't bring
the work profile app back to phone.
Add ActivityOptions#setLaunchDisplayId to the display that the given
view is currently on. So the activity will be launched to the display
as the user is interacting with.

This change also modified BaseDraggingActivity which is the parent
class of BaseQuickstepLauncher. And the RecentsActivity is extending
BaseDraggingActivity.

Bug: 204164763
Test: Manually tested using Exo. Open work appliction(e.g.Calendar)
on Exo virtual display, and tapping on the phone's Calendar on work
profile to bring the application back to phone.
Demo video: https://drive.google.com/file/d/18LWMyDz5kYj8IwAwu5EOsBk3PsjEx1zf/view?usp=sharing&resourcekey=0-7eGtqiWZDciSCfFce29MtA

Change-Id: I31d822f6df7222939413f13da850230f46ba8001
2022-01-11 11:04:05 +00:00
Vinit Nayak 73d6b4c99e Remove code that assumes single GroupedTaskView am: 2c97c4ab19 am: b0786109bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208

Change-Id: I690c2f7740c94df5ae2b4ccf75e5a9c8ee8ffc37
2022-01-11 03:14:59 +00:00
Vinit Nayak b0786109bd Remove code that assumes single GroupedTaskView am: 2c97c4ab19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208

Change-Id: Ibe46da27964fb09aab5815ab871edd544b7410c3
2022-01-11 02:52:12 +00:00
Treehugger Robot 6acb02b231 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours am: 0fcf808f11 -s ours am: b30a81f82b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4b668157eada42728add602b81d338da4e20e94c
2022-01-11 02:29:54 +00:00
Treehugger Robot ab8b28bdb9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: f28414562e -s ours am: ca186a1cf5 -s ours am: 4659c68218 -s ours am: 3abf818f4e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9a3c509132c8cbc75a6ae8ed8b63ac89e407ad7e
2022-01-11 02:29:22 +00:00
Treehugger Robot 25b1b4f8df [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 8ca8a317cb -s ours am: 4672ef9217 -s ours am: 4ba5628acd -s ours am: 7738633a4b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I09dd6933437b6c06790dca7ff03fd332415ee682
2022-01-11 02:24:48 +00:00
Android Build Coastguard Worker 565070a1a0 Snap for 8061476 from 7b597375bd to tm-release
Change-Id: Ib22710d9a15d84fc2d36e702f86a3ee8b361eaea
2022-01-11 02:11:25 +00:00
TreeHugger Robot d5dc2060b5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: cf5bbf67f7 -s ours am: 8e0ee25cbf -s ours am: e0a4aeb6d0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I199d0b96293e4a4a9b6676f5ddd7c7335a535d7d
2022-01-11 02:10:00 +00:00
TreeHugger Robot 9f174833ec [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0d585d86b8 -s ours am: aeac8e51f8 -s ours am: efac365fd4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iace126eb059010607c827d2e886e0626c07fe035
2022-01-11 02:02:26 +00:00
Ling Wo 7802ec4f25 Merge "Uninstall an app from workspace via TAPL" 2022-01-11 01:57:50 +00:00
Bill Yi 979c84b914 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b8b61348cc -s ours am: 59b3732da8 -s ours am: 78389ee4e9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1ecd2e835d613b62bb3de3a978b3973c2b5e394f
2022-01-11 01:56:16 +00:00
Treehugger Robot b30a81f82b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: fd43233281 -s ours am: add2ff2d43 -s ours am: 0fcf808f11 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I319fc55c0f527fe308026a60755fd8fbe6a2d720
2022-01-11 01:43:57 +00:00