Jeremy Sim
635815666c
Fix 2 bugs involving split staging task translation am: 978b0021a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20087546
Change-Id: Iffca62d17d40b168ff53c5624dc09dda2fbe4fec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-01 01:23:06 +00:00
Jeremy Sim
978b0021a9
Fix 2 bugs involving split staging task translation
...
This patch fixes two bugs related to the way tiles slide in when a split is staged. Previously, translations were not being completely reset, so on repeated splits, the thumbnails would retain their old translation setting and cause awkward movements to occur during the slide-in animation.
Fixed by adding setTaskViewsPrimarySplitTranslation() and setTaskViewsSecondarySplitTranslation() in resetFromSplitSelectionState().
Fixes: 249154347
Fixes: 249824716
Test: Manual on grid and non-grid Overview, in a variety of conditions
Change-Id: I2d9aa621a17f178ff8216740d76429d2ac484b39
2022-09-30 14:30:04 -07:00
Thales Lima
517cafff18
Check for view measurement before animating
...
Sometimes the view is there but it was not measured yet, and that was making the animation run with wrong icon position values.
Fix: 233247401
Test: manual
Change-Id: Ibcce24391e99b02ecdb492191c39b62d332abe4f
2022-09-30 16:04:42 +01:00
Vinit Nayak
7523b94105
Hide back button if IME shows in SUW
...
Fixes: 230830643
Test: Visually see no back button when IME
shows up on enter pin screen
Change-Id: Icdde92d39962c3891a56bb07de5b16a22635729e
2022-09-29 15:47:15 -07:00
Vinit Nayak
c7295ee37a
Add margin to SUW back button
...
* navButtonsLayoutParams marginEnd was removed, and
SUW was relying on that value to add margins to
SUW back button, but was returning 0.
Fixes: 242999939
Test: Visually observed in SUW test activity
adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity
Change-Id: I5ffc421e9b731b0d9c7b7c48eab807d4419721b1
2022-09-29 15:47:15 -07:00
Brian Isganitis
222efcd6ff
Merge "Avoid syncing voice interaction background window for skipAnim=true." into tm-qpr-dev am: f733a716fd am: 00f9389e4e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20068647
Change-Id: I3bc1c036de3d27af1113b118e13236c913dcca33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 22:13:43 +00:00
Brian Isganitis
00f9389e4e
Merge "Avoid syncing voice interaction background window for skipAnim=true." into tm-qpr-dev am: f733a716fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20068647
Change-Id: Ie484ca3d0918573c7e706ddea23823ea82cc9f1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-29 21:41:47 +00:00
Brian Isganitis
f733a716fd
Merge "Avoid syncing voice interaction background window for skipAnim=true." into tm-qpr-dev
2022-09-29 21:13:59 +00:00
Tracy Zhou
c0095e81ae
Remove ENABLE_QUICKSTEP_LIVE_TILE flag
...
Fixes: 249627137
Test: manual - (1) swipe up from app (2) swipe home (3) quick switch (4) split in overview
Change-Id: Ibe56ba3824b379b20fb3f0aa09be4d6bdb5abaa1
2022-09-29 04:58:52 +00:00
Vinit Nayak
5317efb7fc
Merge "Update animations for phones: Overview > OverviewSplitSelect transition" into tm-qpr-dev am: 888f745490 am: 64e8d014a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20056375
Change-Id: I7984e13e5169750ba8aedffdbf4bc485dc4a00ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-28 19:41:32 +00:00
Vinit Nayak
64e8d014a0
Merge "Update animations for phones: Overview > OverviewSplitSelect transition" into tm-qpr-dev am: 888f745490
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20056375
Change-Id: I897b8dde1e1691f4fc2c9ca632dcf7579f186b3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-28 18:58:35 +00:00
Vinit Nayak
888f745490
Merge "Update animations for phones: Overview > OverviewSplitSelect transition" into tm-qpr-dev
2022-09-28 18:30:16 +00:00
Arthur Hung
401b9b6614
Refactor back navigation animtion (2/2)
...
Use IBackAnimationRunner to receive the animation leashes.
Use IRemoteAnimationFinishedCallback to callback when animation finished.
Bug: 241808055
Test: atest BackNavigationControllerTests BackAnimationControllerTest
Change-Id: I315df5079b30159fc0f6da2b568af334d14b32a0
2022-09-28 02:27:23 +00:00
Brian Isganitis
c7c2e8d7e6
Avoid syncing voice interaction background window for skipAnim=true.
...
Test: Manual
Fix: 236924161
Change-Id: Iaf95221678d36f9b5782fd8c4bda626b946565a9
2022-09-27 23:36:24 +00:00
Saumya Prakash
96bed75d9f
Updated overview exit animation for 3 button navigation
...
Changed overview exit animation so that tiles don't slide off and only fade/scale in place for 3 button navigation. Previously, tiles would slide off when exiting for both gesture navigation and 3 button navigation. Now 3 button navigation exits with tiles staying in place.
Test: Manual
Fix: 245745939
Change-Id: I4144ed7e3ff29419df7fb13b6417ccc0a1f9dd45
2022-09-27 15:46:05 +00:00
Jeremy Sim
ba7324e2b8
Update animations for phones: Overview > OverviewSplitSelect transition
...
This change updates the animation for initiating a split from the Overview screen on phones. Includes new timings and interpolators, and extends timing data classes related to SplitAnimationTimings.
Fixes a noticeable issue where the split animation appeared slow on phones.
Outstanding issues (fixes in progress):
- Repeated invocations of split on phones cause an erroneous animation to play. (b/249154347)
- Thumbnail corners do not match placeholder corners; the transition between the two is slightly janky. (b/236761794)
- Placeholder icons should be 72dp. (b/236761794)
Bug: 236761794
Test: Manual
Change-Id: Ibb97ef54498b0aa9556df531d8084799259c06e2
2022-09-27 11:45:02 -04:00
Ats Jenk
bcf93ab762
Merge "Set up a place holder tile for desktop" into tm-qpr-dev am: aeea6768e6 am: 98b79c3e11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19914914
Change-Id: I6b3003aa4b61ff76dfc68bd2a10607b5bb27e9a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-27 00:34:20 +00:00
Ats Jenk
98b79c3e11
Merge "Set up a place holder tile for desktop" into tm-qpr-dev am: aeea6768e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19914914
Change-Id: I97e4df052f43d0b6dfef5b3a04c0013c5133adca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-27 00:10:20 +00:00
Ats Jenk
aeea6768e6
Merge "Set up a place holder tile for desktop" into tm-qpr-dev
2022-09-26 23:43:19 +00:00
Brian Isganitis
80014b118a
Merge "Properly color taskbar nav buttons when slide-in view is shown." into tm-qpr-dev am: 815018be9a am: 7fc8bf0c25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040590
Change-Id: I4b1e3d676569c0f06f4963b3c83727d534fd40f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-26 23:31:49 +00:00
Brian Isganitis
7fc8bf0c25
Merge "Properly color taskbar nav buttons when slide-in view is shown." into tm-qpr-dev am: 815018be9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040590
Change-Id: I8a55315e04ee588298f13c3b053a906bffd5e9c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-26 23:07:12 +00:00
Brian Isganitis
815018be9a
Merge "Properly color taskbar nav buttons when slide-in view is shown." into tm-qpr-dev
2022-09-26 22:56:06 +00:00
Brian Isganitis
731ef0c301
Properly color taskbar nav buttons when slide-in view is shown.
...
Supports overriding the current nav bar color with one that would be
visible over a slide-in view.
Demo:
https://drive.google.com/file/d/1MB26QM5qeeyVB6Bj14IGoPCWVT_P7K-3/view?usp=sharing&resourcekey=0-wnMgciNrUXC_l7gI3JFm8A
Test: Manually with light and dark themes, as well as All Apps and EDU
views.
Fix: 248359789
Change-Id: I134ae719b10f3de78ea18220a835de56a82ecb02
2022-09-26 11:41:38 -07:00
Tony Wickham
b2f95fc310
Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev am: 34461ba303 am: 7092878a57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040404
Change-Id: I1bec67413cc4e502f5721181912e9d46760a9d1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 07:41:57 +00:00
Tony Wickham
7092878a57
Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev am: 34461ba303
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040404
Change-Id: Ifc7d9c45214c3f79a1c19a031741a3ab2a48ed86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 07:09:33 +00:00
Tony Wickham
34461ba303
Merge "Don't moveToRestState from onTaskAppeared" into tm-qpr-dev
2022-09-24 06:44:17 +00:00
Ats Jenk
919ddf19f3
Set up a place holder tile for desktop
...
Create a placeholder tile in recents for desktop.
It is based on launcher task information. With extra flag indicating it
is for desktop.
When it is clicked, it will call sysui to show apps on desktop.
Test: manually verify that desktop tasks do not show up separately in
recents
Bug: 244348395
Change-Id: I8535a54e1545841cd988d4770e6fc5e857277cda
2022-09-23 16:28:48 -07:00
Tony Wickham
017bbc098a
Don't moveToRestState from onTaskAppeared
...
There's a possible race here where we call moveToRestState before
Launcher is actually stopped, so it starts to animate the state
change, causing a visual jump before it gets stopped. We already call
moveToRestState in StatefulActivity#onStop, so this one shouldn't be
necessary anyway.
Test: Enable Winscope tracing, quick switch from app A to app B; before
this change, 9/10 times it would repro the jump in the bug, 0/10 times
after this fix. (Also verified through debug logging.)
Fixes: 244583136
Change-Id: I656b028f26a64f872960cb3fe87c39b097431511
2022-09-23 14:14:52 -07:00
Mady Mellor
decbdfdd80
Merge "Set package name on the floating intent" into tm-qpr-dev am: dea0a2466b am: bfd21f48a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20027851
Change-Id: I4fd14e90a76a7dee682a316c859792042de0955d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 18:51:49 +00:00
Mady Mellor
bfd21f48a9
Merge "Set package name on the floating intent" into tm-qpr-dev am: dea0a2466b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20027851
Change-Id: I6800ea518cd6af0194eeda4f89908428f25fb29e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 18:20:56 +00:00
Mady Mellor
dea0a2466b
Merge "Set package name on the floating intent" into tm-qpr-dev
2022-09-23 17:50:53 +00:00
Sebastián Franco
c14bdbaa82
Merge "Check for null when calling getCreatedActivity which is marked as Nullable" into tm-qpr-dev am: 8c158770d7 am: f5ff31ab74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20025053
Change-Id: I0e11c6600525923fe1054da5bc70dc3e97c96bc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 17:08:47 +00:00
Sebastián Franco
f5ff31ab74
Merge "Check for null when calling getCreatedActivity which is marked as Nullable" into tm-qpr-dev am: 8c158770d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20025053
Change-Id: I0424bb93fff149dc5ac168caed4a1974b319970a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 15:51:31 +00:00
Sebastián Franco
8c158770d7
Merge "Check for null when calling getCreatedActivity which is marked as Nullable" into tm-qpr-dev
2022-09-23 15:19:43 +00:00
Johannes Gallmann
d79a87bf16
Disable split button instead of hiding it
...
The split button remains visible when there is only a single task present, but in a disabled state.
Test: Manual
Bug: 227600027
Change-Id: I36e8904bf342021db210cea7355a3806c783f235
2022-09-23 08:05:26 +00:00
Winson Chung
090a9fc219
Merge "Revert "Fix case of gesture being stuck when the Launcher is stopped mid-gesture"" into tm-qpr-dev am: d859a20086 am: 47104adfd6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20028589
Change-Id: I6a947e2b02cdb58b863a120345999594fd983624
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 07:46:51 +00:00
Vinit Nayak
1f65b9d8d4
Merge "Prevent taps on initial TaskView animated into split select" into tm-qpr-dev am: 061e6f5dd5 am: d563e886a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20015839
Change-Id: Iaa1845bce0558d18c3814802e68909c3f25bdcca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 07:45:39 +00:00
Schneider Victor-tulias
dcbd4917e3
Merge "Allow Taskbar stashing for external tests" into tm-qpr-dev am: 418b1f8e82 am: d496c3d20d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19611434
Change-Id: Ic6677741689b4c609ef2fd86aa2832730dd479f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 06:27:32 +00:00
Mady Mellor
443407fd2d
Merge "Add a button for floating tasks to taskbar (behind a flag)" into tm-qpr-dev am: 13b7e00fff am: 6d37424c94
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19874561
Change-Id: I7ca43d2d6c8f6fbc7015d95061c30d6160daf0f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 05:43:24 +00:00
Winson Chung
47104adfd6
Merge "Revert "Fix case of gesture being stuck when the Launcher is stopped mid-gesture"" into tm-qpr-dev am: d859a20086
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20028589
Change-Id: Iede5e3cd5e207b0ca4ee688a8ae4660726d6b0c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 05:01:06 +00:00
Winson Chung
d859a20086
Merge "Revert "Fix case of gesture being stuck when the Launcher is stopped mid-gesture"" into tm-qpr-dev
2022-09-23 04:33:22 +00:00
Vinit Nayak
26fee57f37
Null out mSplitHiddenTaskView when resetting split selection state
...
* May have accidentally been removed in ag/19984439
Fixes: 248153819
Test: Repro in bug doesn't occur
Change-Id: Icdc04de84c28963d36368f9672baf5993cd87d8a
2022-09-22 16:27:47 -07:00
Vinit Nayak
d563e886a1
Merge "Prevent taps on initial TaskView animated into split select" into tm-qpr-dev am: 061e6f5dd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20015839
Change-Id: Iaa19f2123c9b549152fc5237439301793badb273
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 22:36:09 +00:00
Winson Chung
8ae6b852d7
Revert "Fix case of gesture being stuck when the Launcher is stopped mid-gesture"
...
This reverts commit 240b064cdb .
Reason for revert: b/248344141
Change-Id: I559e583ddea4a68b4291ceb8ba119500d051ed36
2022-09-22 22:10:20 +00:00
Vinit Nayak
061e6f5dd5
Merge "Prevent taps on initial TaskView animated into split select" into tm-qpr-dev
2022-09-22 21:56:55 +00:00
Mady Mellor
ceff6537ee
Set package name on the floating intent
...
Test: treehugger
Bug: 237678727
Change-Id: I70923e62893cd6578fa3fa21e025cd5cf5e15edf
2022-09-22 12:08:41 -07:00
Thales Lima
c9a317c7a2
Change taskbar edu size to wrap around icons
...
Bug: 217262479
Test: manual
Change-Id: I766394f4f64d5ba76c1bf50de9d06526376e6662
2022-09-22 14:36:10 -04:00
Sebastian Franco
e7c222cdb5
Check for null when calling getCreatedActivity which is marked as Nullable
...
Fix: 243508135
Test: compiles
Change-Id: Id1ff2cf68fa10690a1bbec60a0c17cceab9db8d1
2022-09-22 13:03:15 -05:00
Schneider Victor-tulias
d496c3d20d
Merge "Allow Taskbar stashing for external tests" into tm-qpr-dev am: 418b1f8e82
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19611434
Change-Id: If0c7eef8169237721cc4d62885d10f23d19d11e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 17:51:38 +00:00
Schneider Victor-tulias
418b1f8e82
Merge "Allow Taskbar stashing for external tests" into tm-qpr-dev
2022-09-22 17:25:24 +00:00