Commit Graph

11392 Commits

Author SHA1 Message Date
Alex Chau 6dd7241400 Merge "Increase motion pause timeout for tests" into sc-v2-dev am: 974635127b am: a2b4e128f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455154

Change-Id: I8047595ab7c363ae24d8de5bfaf4f7d065302181
2021-08-04 22:22:36 +00:00
Bill Yi 03609d13e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia286e83ca0209375454ef6fc71b234aad3d9f70e
2021-08-04 22:18:06 +00:00
Bill Yi 16ed5b8391 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I576aa7ad9e9de9f4305f821ea5d7954b1d7d9c41
2021-08-04 22:15:00 +00:00
Bill Yi ff049aae0f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8da912b3e7ec23e63a5c1436773cd86b8cb8dffc
2021-08-04 22:14:26 +00:00
Alex Chau a2b4e128f6 Merge "Increase motion pause timeout for tests" into sc-v2-dev am: 974635127b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455154

Change-Id: Ie601fcf2361a17a4e29c39f2a88b9f3d8dd6402b
2021-08-04 22:11:33 +00:00
Alex Chau 974635127b Merge "Increase motion pause timeout for tests" into sc-v2-dev 2021-08-04 21:59:53 +00:00
TreeHugger Robot 699668e7ff Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581 am: 707b1d8e66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311

Change-Id: I9f2a9c6e72a0243a030259efff372ca93d6beecc
2021-08-04 20:12:40 +00:00
TreeHugger Robot 707b1d8e66 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311

Change-Id: Ib03d851a34a31d8d7a5722a6308b4d8e66d69621
2021-08-04 19:59:57 +00:00
TreeHugger Robot b78e77f581 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev 2021-08-04 19:12:10 +00:00
Alex Chau 0dfe56cff1 Increase motion pause timeout for tests
- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
2021-08-04 20:09:06 +01:00
Sunny Goyal 68031ca3f9 Storing form factor as part of backup and disabling restore if form-factor is different
Bug: 195301649
Test: Manual
Change-Id: I9a9c4bc9246f40af2209cb914b3966319bc78bff
2021-08-04 09:51:04 -07:00
Prabir Pradhan 9bb59427bf Merge "Enable input window rotation flag" into sc-v2-dev am: d573948424 am: f889109cdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669176

Change-Id: I697fff1ec3f6b6b3e2f1a7f171cf235a6d9dd161
2021-08-04 14:18:58 +00:00
Prabir Pradhan f889109cdf Merge "Enable input window rotation flag" into sc-v2-dev am: d573948424
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669176

Change-Id: I291e74cf589b8a66641a42e770a53f2215580c19
2021-08-04 14:09:36 +00:00
Prabir Pradhan d573948424 Merge "Enable input window rotation flag" into sc-v2-dev 2021-08-04 14:03:24 +00:00
Alex Chau 630562210e Only refresh DISABLED_NO_THUMBNAIL when thumbnail changes
- Avoid refreshing all overlay content which happens too frequently

Bug: 193125090
Test: atest NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testOverviewActions
Change-Id: Idcfe19a518e621c55574baae3bbe1378b7f3d08f
2021-08-04 12:14:46 +01:00
Thales Lima adda271d6f navigation: don't run gesture animation if gestures are not enabled am: 8d49c4bb29 am: ccdc7b47a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410551

Change-Id: I4d2fa2b3b955a8c438d385f374a592a7e8aeb229
2021-08-04 09:47:24 +00:00
Thales Lima ccdc7b47a4 navigation: don't run gesture animation if gestures are not enabled am: 8d49c4bb29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410551

Change-Id: I1661cae65ac6a27f6ae373017d364369776a38f9
2021-08-04 09:34:56 +00:00
Thales Lima 8d49c4bb29 navigation: don't run gesture animation if gestures are not enabled
Makes the animation when using 3 button navigation be closer to what we
have in non fallback mode, also fixing the problem when fallback recents
just started and don't have any views.

Fix 194487871
Test: manual with gestures, 2 button and 3 button nav

Change-Id: If3925d6bef1d14f51b86169d06607786972f5f1f
2021-08-04 09:24:12 +00:00
Tracy Zhou 7b173d0996 [DO NOT MERGE] Disable live tile in split mode for S am: 145bd74749
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331686

Change-Id: Ia4d3214495f8948d9518bc04710e6cc9c58e8f29
2021-08-03 22:02:35 +00:00
Tracy Zhou 6c262c5f94 [DO NOT MERGE] Disable live tile in split mode for S am: 145bd74749
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331686

Change-Id: I65674551091fde62193325a3f5676c5becde7334
2021-08-03 22:02:31 +00:00
Tracy Zhou 145bd74749 [DO NOT MERGE] Disable live tile in split mode for S
Recall link: https://recall.googleplex.com/projects/debb8388-5e38-42c5-99ab-20bdfb92d25e/sessions/655af962-b4bd-4dc4-93aa-178852c0d701

Bug: 193991436
Test: enter split screen and swipe up
Change-Id: I7adffcdefb12d225db207542716a436f29df0377
2021-08-03 20:50:27 +00:00
Alex Chau ac9df38e9f Make icon drawable for non-focused grid tasks smaller
- Center the icon drawable in center of IconView with and allow a smlaler size to be set

Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01:00
TreeHugger Robot b77c857600 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev am: f5c3dab525 am: bf3221b5a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15407110

Change-Id: I8476f63caadbc53b2b1e12fd792c50f5bf8f8fb7
2021-08-03 04:45:56 +00:00
TreeHugger Robot bf3221b5a8 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev am: f5c3dab525
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15407110

Change-Id: Ia05b3af05c11145827e9e5b813658bc21e71d65d
2021-08-03 04:32:32 +00:00
TreeHugger Robot f5c3dab525 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev 2021-08-03 04:20:42 +00:00
TreeHugger Robot 1e8579f7c2 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1 am: 1ce9633815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: I77468fbfc1194afb0b74363ec5511ba0b695737e
2021-08-02 19:57:16 +00:00
TreeHugger Robot 1ce9633815 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: Iebe3db372b4ce470e7ee53d3695cb3c6c5483faa
2021-08-02 19:37:51 +00:00
TreeHugger Robot 144b16bbb1 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev 2021-08-02 19:20:01 +00:00
vadimt 42a7d1af83 Band-aid for getHomeActivities returning null
It can return null immediately after android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED
notification.

Test: local
Bug: 187080582
Change-Id: I8625fdfc0add57fed832bdca4713747a005bf08c
2021-08-02 10:38:12 -07:00
Hongwei Wang abd74b94fa Merge "Check PiP permission before entering auto pip" into sc-v2-dev am: b999186b9e am: 28e8b2c84a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376471

Change-Id: Ibf5b4bcc9bb2d651a268a874a64df951138776cd
2021-07-31 03:44:39 +00:00
Hongwei Wang 28e8b2c84a Merge "Check PiP permission before entering auto pip" into sc-v2-dev am: b999186b9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376471

Change-Id: Iceef5384ac7eb7337ce29c1d80584a14c49a9e84
2021-07-31 03:28:56 +00:00
Hongwei Wang b999186b9e Merge "Check PiP permission before entering auto pip" into sc-v2-dev 2021-07-31 03:14:11 +00:00
Vinit Nayak 51a6c92174 Migrate from using taskIDs to taskViewIDs in RecentsView
* Follow up CL coming to introduce a TaskView that
can have multiple Tasks, so a taskID won't be particularly useful
in that scenario.

Bug: 192292305
Test: Manual, w/ and w/o live tile
Change-Id: I1900b999ac51aa99923239f2af400c90c71c3dae
2021-07-30 11:02:26 -07:00
Alex Chau 82ea0cb8cf Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I188cf528513b1788e342b69c62f78d952e5f1ea2
2021-07-30 18:01:52 +00:00
Alex Chau 49f3a41c78 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I63897bebddbc836c4265bff67c2248c9d132fbe0
2021-07-30 18:01:28 +00:00
Alex Chau fb5ae9060d Always treat FallbackRecentsView as visible if isInLiveTileMode is true
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well

Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
(cherry picked from commit 455718e842)
2021-07-30 08:22:03 +00:00
Alex Chau 59a7e6b040 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev am: 2095731650 am: b922ac8534
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410554

Change-Id: I134f2be3860bfae899a801b206f4d2fc1fb79c99
2021-07-29 23:04:37 +00:00
Alex Chau b922ac8534 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev am: 2095731650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410554

Change-Id: I81bcd447d2281df56f23cca29dd9619a300b2d00
2021-07-29 22:55:23 +00:00
Alex Chau 2095731650 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev 2021-07-29 22:44:30 +00:00
Tracy Zhou ca37d02584 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15416225

Change-Id: Idba4e4cef4113053db90c5152ae8c663d7551b1e
2021-07-29 21:49:50 +00:00
Tracy Zhou d95465cc59 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-dev am: dec3330a83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15416225

Change-Id: I605ffc7cd56f9407ed4aeff55a50db8021f69612
2021-07-29 21:48:37 +00:00
Tracy Zhou 6cafb0d5e4 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev am: 64231c8db1 am: 4a1bfd97c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420889

Change-Id: I4ef3252c00a5af23203269567fd266a06630bb87
2021-07-29 19:36:46 +00:00
Tracy Zhou 4a1bfd97c3 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev am: 64231c8db1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420889

Change-Id: Ib592ca43eec42e27c4b5a11b43e7866a9e54c651
2021-07-29 19:25:41 +00:00
Tracy Zhou 6842315605 Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Alex Chau 5811d24064 Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90 am: 7a8e2a259a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: I5d14cfb56736864f468be3d4974b6033681293ff
2021-07-29 17:24:26 +00:00
Tracy Zhou 86bd1dce8d Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 17:23:01 +00:00
Alex Chau 7a8e2a259a Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: Ic90766ea48cc757dd968e35a6e88938186fc5296
2021-07-29 17:12:30 +00:00
Alex Chau bf89b27f90 Merge "Clean up screen record for tests" into sc-v2-dev 2021-07-29 17:00:12 +00:00
Evan Rosky ee75a0f8be Enable input window rotation flag
Bug: 179274888
Test: no-changes, all existing tests pass
Change-Id: Ib0699449cf87fbf0c5e1b76fff57fab7bf1ffb8b
2021-07-29 16:33:22 +00:00
Thales Lima f37ef77cf3 Merge "launcher: change default state for RecentsActivity" into sc-v2-dev am: 3c1a1195b4 am: 7bd0203a0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371935

Change-Id: I7e57666461570f0a092af90cc33f3fdb873af8b6
2021-07-29 12:44:03 +00:00