Commit Graph

49755 Commits

Author SHA1 Message Date
Alex Chau d9b6543a04 Merge "Sort hotseat items in migration to preserve position" into tm-dev 2022-05-09 10:35:49 +00:00
kholoud mohamed d5a4d60483 update enterprise strings on ACTION_DEVICE_POLICY_RESOURCE_UPDATED
Also updated work folder name provider to retrieve it from dpm

Bug: 218322904
Test: manual
Change-Id: Id80a9e90806f3a07f132b5cc1e9871bb35df42b0
2022-05-09 10:01:10 +01:00
Bill Yi 0fcb04c1a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f9e3707b09452fd688a505554871d836c02b973
2022-05-08 17:47:44 +00:00
Bill Yi 41c62117b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4b1b7365779c609748cf8d4268e17a77e411da02
2022-05-08 17:47:05 +00:00
Bill Yi 3536421d1d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idaab73d947e0284d981847659b2ec2daa5c83f3c
2022-05-08 17:44:29 +00:00
Bill Yi 9ae01ab24b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45e1fd1a97f9e153116ea9371cf1d5ff268cb24f
2022-05-08 17:43:52 +00:00
The Android Open Source Project 23dcc290b0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibaec1f87cbd2eb8bb704317d7dcfe125dfeb515d
2022-05-08 10:47:03 +00:00
The Android Open Source Project 92b1c3965e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6320b11af2d33a1040a16afd1cf9dfb145ca0f41
2022-05-08 10:46:03 +00:00
TreeHugger Robot 891694abd4 Merge "Finish mIconAlignmentForLauncherState animation before animating to new value" into tm-dev am: 062d96721c am: 0d37d70e21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198384

Change-Id: Ibaf38b0610fdd6101c88bcfca2c23548aa9fb0bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-07 16:26:44 +00:00
TreeHugger Robot 0d37d70e21 Merge "Finish mIconAlignmentForLauncherState animation before animating to new value" into tm-dev am: 062d96721c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198384

Change-Id: I907e703da6706a669a7dd0a15d988a798b1db116
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-07 16:11:07 +00:00
TreeHugger Robot 062d96721c Merge "Finish mIconAlignmentForLauncherState animation before animating to new value" into tm-dev 2022-05-07 15:39:42 +00:00
Becky Qiu 1f285a594a Fix the IndexOutOfBoundsException in AllAppsGridAdapter.
Bug: 231552223
Test: no need to test
Change-Id: I2d32f0ca973e6e9d5e97d9c69b5c76d26d91c254
2022-05-06 21:48:54 -07:00
Vinit Nayak b1436b0ae7 Extend recents button hitbox on tablet
* Extends hitbox when recents is tapped
when going from taskbar to overview.
* Extended region lasts for 400ms after
the animation ends.

Fixes: 225885714
Test: Manual, added unit test
Change-Id: I8766279c1a5bf6867f8d69ddd3af2aa3565deec2
2022-05-06 17:04:47 -07:00
Sunny Goyal 7a4f8e595e Merge "Preventing widget preview from getting accessibility focus on internal content" into tm-dev am: f27d6c0dc7 am: 40002b9340
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198385

Change-Id: I14ed72285428e43318639309406a700b9e9da23f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:44:56 +00:00
Abhilasha Chahal 1cb2bcb5f6 Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev am: 43d68e9f6b am: d26a37da66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185510

Change-Id: I330d6d5144c309f1b92852dde1eebc9ad2aec4dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:44:29 +00:00
Sunny Goyal 40002b9340 Merge "Preventing widget preview from getting accessibility focus on internal content" into tm-dev am: f27d6c0dc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198385

Change-Id: I732eff02b330a7086b2bdef92d2d6c22904322e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:19:45 +00:00
Abhilasha Chahal d26a37da66 Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev am: 43d68e9f6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185510

Change-Id: Ia97488016f5f8710fa337ed8d690acb461dcd1e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:19:23 +00:00
Sunny Goyal 2a84e378b7 Adding feature to automatically show keyboard in all-apps
Bug: 227659010
Test: Manual
Change-Id: Id0a295d343aa895a2f672319ae1ccb3a975d41ce
2022-05-06 15:16:08 -07:00
Sunny Goyal f27d6c0dc7 Merge "Preventing widget preview from getting accessibility focus on internal content" into tm-dev 2022-05-06 22:15:04 +00:00
Abhilasha Chahal 43d68e9f6b Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev 2022-05-06 21:58:36 +00:00
TreeHugger Robot d657f09129 Merge "Add DisplayController in PreviewContext's allowed objects" into tm-dev am: c1ea2da7f3 am: 750624728b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198386

Change-Id: I025b12ad67a1b1da4878019ea693c2452e24de55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 21:39:14 +00:00
Brandon Dayauon 8e1d5c5cdb Merge "changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon.." into tm-dev am: 5a726787db am: 2641cdbd8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727851

Change-Id: Ifbaaade49c7e2e3c305c29d5034736ec6c5f6aaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 21:39:03 +00:00
TreeHugger Robot 750624728b Merge "Add DisplayController in PreviewContext's allowed objects" into tm-dev am: c1ea2da7f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198386

Change-Id: Ie63a951f0b06f0fa84cd078a3fdb68d67549f582
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 21:32:00 +00:00
TreeHugger Robot c1ea2da7f3 Merge "Add DisplayController in PreviewContext's allowed objects" into tm-dev 2022-05-06 21:27:45 +00:00
Brandon Dayauon 2641cdbd8a Merge "changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon.." into tm-dev am: 5a726787db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727851

Change-Id: I39fad88e269f97c93fe27a5b0e8c0ac224e50801
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 21:24:29 +00:00
Brandon Dayauon 5a726787db Merge "changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon.." into tm-dev 2022-05-06 21:00:08 +00:00
Alex Chau 2dc8874bcd Merge "Fix overview and quickswitch gesture logging" into tm-dev am: 950437ce26 am: b485f37edb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140263

Change-Id: Ic44e2ef1fa339107cd99220bec97b2237f1530d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:29:17 +00:00
Schneider Victor-tulias fa360fb48d Merge changes from topic "presubmit-am-1224af9ca3f341a895e4bc19976e2bb8" into tm-dev am: a78e070a2e am: 08a01f5c41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18010518

Change-Id: Ib68de44dfef9ee8c0652e2e86d6b90ade71d5198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:28:36 +00:00
Alex Chau 1145722685 Add DisplayController in PreviewContext's allowed objects
Fix: 231526132
Test: switch grids
Change-Id: Ie43c54c5fbbea51ee3b795be6baa9c2eaf5e15e4
2022-05-06 20:17:57 +01:00
Alex Chau b485f37edb Merge "Fix overview and quickswitch gesture logging" into tm-dev am: 950437ce26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140263

Change-Id: I22e1a0ce462a176166b4e5a0e1731227bd5c3171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:10:57 +00:00
Alex Chau 950437ce26 Merge "Fix overview and quickswitch gesture logging" into tm-dev 2022-05-06 19:05:43 +00:00
Schneider Victor-tulias 08a01f5c41 Merge changes from topic "presubmit-am-1224af9ca3f341a895e4bc19976e2bb8" into tm-dev am: a78e070a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18010518

Change-Id: I2ecce75e1249b22eea7653c6fb4a2179316cd64b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:03:00 +00:00
Schneider Victor-tulias a78e070a2e Merge changes from topic "presubmit-am-1224af9ca3f341a895e4bc19976e2bb8" into tm-dev
* changes:
  Fix recents animation flicker
  Fix janky overview animation.
2022-05-06 18:48:29 +00:00
Josh Tsuji fdb36543f7 Merge "Actually interpolate the time value." into tm-dev am: 8217fce33e am: bec5a29fa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18125441

Change-Id: I9189ce24821189554ffebea0403d9dbdc6789f41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 18:31:22 +00:00
Josh Tsuji bec5a29fa1 Merge "Actually interpolate the time value." into tm-dev am: 8217fce33e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18125441

Change-Id: I6fa858c90244056ab6b2da7782ff1c66dea235d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 18:13:16 +00:00
Sunny Goyal d4cb76ebf0 Preventing widget preview from getting accessibility focus on internal content
Bug: 209579561
Bug: 209579521
Bug: 209579162
Test: Manual
Change-Id: If65a74acf021b19438cdc37b07ac508985f8909a
2022-05-06 11:10:41 -07:00
Josh Tsuji 8217fce33e Merge "Actually interpolate the time value." into tm-dev 2022-05-06 17:51:09 +00:00
Brandon Dayauon e5142c5c53 changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon..
Fixed padding issue (tightness) between Personal/WorkTabs/EduDialog
Aligned Work Toggle button to be the same with the workTabs/eduCard
raised button up 20dp to align with specs

Fixed issue where allApps apps invade the tabs. Fixed RTL issues where it wasn't going RTL.
Fixed RTL issue for the workfab button where there was no margin on the left side of the button
Added DeviceProfile to constructor

Bug: 200810328
Bug: 224731300
Test:
	Before: https://screenshot.googleplex.com/6sRgNZQz4wKYn5n
	After: https://screenshot.googleplex.com/8hBLyDiMbMH9tn2
	After(showingLayoutBounds): https://screenshot.googleplex.com/MuVUXCegukAMzSr

Change-Id: Ibac3f5b8fe7d877c2f54a2c87f4393c1a91dc806
2022-05-06 09:52:05 -07:00
Alex Chau 78357f7979 Finish mIconAlignmentForLauncherState animation before animating to new value
Fix: 230630665
Test: Launch app and return home, taskbar animation should be smooth
Change-Id: Ie6c7daac7f185a51476a9d076dde628d57ff77eb
2022-05-06 17:34:07 +01:00
Abhilasha Chahal 997a757661 Check if launcher has touch interaction service when registering touch events
Bug: 228014625
Test: Refactoring change

Change-Id: I3b94f4f7fabf7cb2964eefd5cf1e099d2bb80ca6
2022-05-06 16:21:48 +00:00
Luca Zuccarini ef006c7603 Update the NORMAL->ALL_APPS transition when tapping on QSB on phones.
- New interpolators
- New duration
- Removed workspace translation
- Removed overlapping fades -- are now sequential

See video in the bug.

Bug: 227745955
Test: manual
Change-Id: I19fa19a3806e963a04c5e694a52d3c1b921cf51f
2022-05-06 16:07:17 +00:00
Josh Tsuji d2ae944a43 Actually interpolate the time value.
This was broken and always linear.

Bug: 229890190
Test: atest SystemUITests
Change-Id: I7db6f5025c0fc70c9899c97ee23e486ede61a085
2022-05-06 15:15:27 +00:00
Alex Chau 664c1c18e7 Sort hotseat items in migration to preserve position
Fix: 231601760
Test: manual with local backup/restore
Change-Id: Ie89f0134485296c3cd252cf6b86bb3f88a0f90de
2022-05-06 15:47:11 +01:00
Becky Qiu 879f0bc412 [Toast] Create one search tapl tests for opening qsb and calculator app. am: 6183c4dd74 am: a1a86bb5b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727848

Change-Id: I559ec957cdcda3139aa9d37f259e457ba4e196f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 05:43:08 +00:00
Becky Qiu a1a86bb5b7 [Toast] Create one search tapl tests for opening qsb and calculator app. am: 6183c4dd74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727848

Change-Id: I9563c9741de482a89c75fb0c26619f884f787e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 05:25:46 +00:00
Becky Qiu 6183c4dd74 [Toast] Create one search tapl tests for opening qsb and calculator app.
Test design doc: https://docs.google.com/document/d/1aPtMvegzn4hdwC0CNuIkfkalqG7v0FNCfyoO7qIOfN4/edit?usp=sharing&resourcekey=0-71oNHp1KKOdDKxr7Vd4dGQ

Bug: 225935921
Bug: 225935929
Test: ran test in android studio
Change-Id: I74197a9d81fc75a44269ab3bc1bba910de5e17fe
2022-05-05 18:47:34 -07:00
Alex Chau 67e641d90f Allow BaseState.getTransitionDuration to read DeviceProfile am: a717d1621d am: 9b7e242e05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185502

Change-Id: I2a45c6f6fb1933333bab6a8ffa813a3f153fd608
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 18:49:09 +00:00
Alex Chau 9b7e242e05 Allow BaseState.getTransitionDuration to read DeviceProfile am: a717d1621d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185502

Change-Id: I3634028c5a4870e1e755a310954f630af4bbc404
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 18:31:48 +00:00
Alex Chau a717d1621d Allow BaseState.getTransitionDuration to read DeviceProfile
- Changed handheld duration to AllApps to 600

Bug: 227745955
Test: manual
Change-Id: I6f6642440dda3e39947231c2d38e8b60d152e08f
2022-05-05 14:44:00 +01:00
Alex Chau a70e23384f Fix overview and quickswitch gesture logging
- Log Home -> Overview gesture
- Log Home -> quickswitch as LAUNCHER_QUICKSWITCH_RIGHT

Bug: 219686410
Test: Local log in StatsLogCompatManager
Change-Id: Ic88fefd5af58dc03779f77b12611843c40706b1c
2022-05-05 14:33:27 +01:00