Commit Graph

10816 Commits

Author SHA1 Message Date
Lucas Dupin f52fb6f632 Act on scrim visibility am: a8382dc052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15655786

Change-Id: I40626071bdaadd997cc1479118224847b78229d3
2021-08-23 21:34:23 +00:00
Lucas Dupin 053a182ad0 Act on scrim visibility am: a8382dc052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15655786

Change-Id: Ieb1701d2ffc70e47c9443565212a4b094c3d22b7
2021-08-23 21:33:39 +00:00
TreeHugger Robot 886adad609 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev am: c817d2a633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619053

Change-Id: I2a95246ee86cd94cb8ba972a88e84c4d97f44ba9
2021-08-23 21:22:55 +00:00
TreeHugger Robot c817d2a633 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev 2021-08-23 21:08:51 +00:00
vadimt bea7e2ee6e More logging for for Nexus home activity appearing after to-home gesture in L3
Bug: 192018189
Test: presubmit
Change-Id: I92cfa9e40f71773e636c700ab7f84df1d9feac19
2021-08-23 13:57:51 -07:00
Vinit Nayak e07bab8c7f Null out RemoteTargetHandles as soon as finishing recents is requested
* Instead of waiting for recents animation to be complete
before we stop manipulating remote leashes, stop it as soon
as RecentsView gets the request.

Bug: 197232424
Change-Id: I7f3cb6d2fc389d502e57054f60f28e7967212194
2021-08-23 13:56:30 -07:00
Schneider Victor-tulias 33277fcf8a Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f am: 8cb3df4896
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ida8739d4e792f82ce9c64772756d1e21f4449df9
2021-08-23 20:17:37 +00:00
Schneider Victor-tulias 8cb3df4896 Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ib5cdc82f2747a6c1beaf86d86139bf7585798713
2021-08-23 20:00:40 +00:00
Schneider Victor-tulias f4f6c0fd4f Merge changes I3e7d3c61,I1cba811c into sc-v2-dev
* changes:
  Convert gesture navigation feedback videos to animations with real callbacks.
  Convert gesture navigation tutorial still image vector drawables to layout files
2021-08-23 19:49:30 +00:00
Sunny Goyal 455ba62b5d Migrating all model tests to Instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: Iebd46eb41eb46c187d569197f4b97b4fddc0f6f7
2021-08-23 12:34:44 -07:00
Lucas Dupin a8382dc052 Act on scrim visibility
The scrim visibility drives whether the launcher window is opaque or
not. We should track it and apply the flag instead of trying to catch it
through other Launcher life cycles.

Fixes: 195365607
Bug: 196403152
Test: tap on home button while launching app from overview
Change-Id: I2a00b86b602b5dd12c901433b92adcf0170be15e
(cherry picked from commit e4a9469156)
2021-08-23 19:22:02 +00:00
Schneider Victor-tulias 69c4b54dce Convert gesture navigation feedback videos to animations with real callbacks.
Fixes: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I3e7d3c6153eeff6273e4b7ebc8cdb8328df7facc
2021-08-23 11:14:53 -07:00
Schneider Victor-tulias ff322310a3 Convert gesture navigation tutorial still image vector drawables to layout files
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Alex Chau 6f67e076bf Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev am: c8295216d5 am: 56a328c6ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612008

Change-Id: I1964b8c3bd82b22396340d2352833b2aee73a6fc
2021-08-23 11:46:49 +00:00
Alex Chau 56a328c6ca Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev am: c8295216d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612008

Change-Id: I0a36e0f35c64f771632a274c1bd411d8b10f5d71
2021-08-23 11:30:34 +00:00
Alex Chau c8295216d5 Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev 2021-08-23 11:18:49 +00:00
TreeHugger Robot 29bc05f7da Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-08-22 17:46:43 +00:00
TreeHugger Robot 12bfd96432 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-22 17:45:42 +00:00
Bill Yi 82ef77230a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie936b99ba3fe92a887e36633a731edb9d7820ff9
2021-08-21 02:35:19 +00:00
Bill Yi cd493170fa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibfa4e4ffc8a72e59edbd24cd28473647b5b9bd89
2021-08-21 02:31:33 +00:00
TreeHugger Robot e46e09469e Merge "Allow clipping individual direction of TaskView" into sc-v2-dev am: 47fde77687 am: 05e80c0b43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602537

Change-Id: If87770f3b136e8874fcba50bd1916d450eee1c53
2021-08-20 19:49:51 +00:00
TreeHugger Robot 05e80c0b43 Merge "Allow clipping individual direction of TaskView" into sc-v2-dev am: 47fde77687
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602537

Change-Id: Ie0e95974ccfcaca476839b0ea0def55dd22b9f6c
2021-08-20 19:35:19 +00:00
TreeHugger Robot 47fde77687 Merge "Allow clipping individual direction of TaskView" into sc-v2-dev 2021-08-20 19:22:19 +00:00
TreeHugger Robot 7fc8bf586d Merge "Snap to current page's relative position after dismissal." into sc-v2-dev am: 35e09fe019 am: c762676cfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596523

Change-Id: Ic9c0551bc65df436009295ec1980b38eab9992fc
2021-08-20 13:19:26 +00:00
TreeHugger Robot c762676cfd Merge "Snap to current page's relative position after dismissal." into sc-v2-dev am: 35e09fe019
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596523

Change-Id: I2ef2edffd73acaa4b9a8ce99d664b19661bd7dab
2021-08-20 13:06:26 +00:00
TreeHugger Robot 35e09fe019 Merge "Snap to current page's relative position after dismissal." into sc-v2-dev 2021-08-20 12:54:10 +00:00
Alex Chau 8ebd11af14 Fix animation problem when swipeing up app to screen edge and release
- Consider scroll diff between currentPage and primary scroll when calculating adjacent page offset
- Removed setEnableFreeScroll call in onPrepareGestureAnimation that calls setCurrentPage and causes jumping

Fixes: 197012570
Fixes: 195740577
Test: Swipe up from app to end of screen, adjacent task should come from screen edge, and app should snap smoothly to position
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Test: Swipe up immediately after quick switch, task thumbnails are loaded
Change-Id: Id88266634183dfcb18d5ba8a803883b7d6f50ab4
2021-08-20 12:07:08 +00:00
Pat Manning 0abfe4e7be Snap to current page's relative position after dismissal.
Test: manual
Fix: 196200215
Change-Id: Ic65313e2082ca2248e5860b77c438615c62b5581
2021-08-20 11:10:26 +00:00
shawnlin 7b4ab1213e Update QuickStepContract.getWindowCornerRadius API
Update from getWindowCornerRadius(Resources) to
getWindowCornerRadius(Context)

Bug: 131221697
Test: make
Change-Id: Ia5f10e9292e205dab7e69d97dfc82d17690816fb
2021-08-20 05:50:41 +00:00
Sunny Goyal 39aa2e0f1d Moving OrientationTouchTransformerTest to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: Ifb0b00f789214a8dde246ab13703211d536364af
2021-08-19 12:03:26 -07:00
TreeHugger Robot 2d19e0e0a3 Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev am: a35786c9c5 am: 7c90a47f5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616976

Change-Id: I5fb894f8a356ef51528c6c291371e7ef0fb95b5f
2021-08-19 18:12:24 +00:00
TreeHugger Robot 7c90a47f5e Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev am: a35786c9c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616976

Change-Id: I7eed65e591c88638eb02c53b71c23a31ccc86867
2021-08-19 17:58:07 +00:00
TreeHugger Robot a35786c9c5 Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev 2021-08-19 17:39:17 +00:00
Prabir Pradhan 4fbd2f2252 Revert^2 "Enable input window rotation flag"
Reland the per-window-input-rotation flag. It was reverted because it
broke touch on foldables. The issue is now fix, so attempt to reland
this.

312a44adba

Bug: 179274888
Test: presubmit
Test: manual using foldable

Change-Id: Icb18baf81875e32535e277f9c4246be669013a03
2021-08-19 15:00:40 +00:00
Nick Chameyev 7791e400ff Merge "Update unfold transition package name" into sc-v2-dev am: 88cd9aaa6b am: 3ed2933399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612007

Change-Id: I9ce14d7b70ebf61757aa145925ce339cdfdf98b5
2021-08-19 11:15:08 +00:00
Nick Chameyev 3ed2933399 Merge "Update unfold transition package name" into sc-v2-dev am: 88cd9aaa6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612007

Change-Id: Ie5c9f712b8b440eb5e39ca5113c435a9cfd53aab
2021-08-19 11:09:18 +00:00
Nick Chameyev 88cd9aaa6b Merge "Update unfold transition package name" into sc-v2-dev 2021-08-19 10:53:44 +00:00
IRIS YANG 543cf3ea95 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev am: 829264a650 am: 2be95b5759
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15604010

Change-Id: Ia325cd8c74103d2d950a5fd359325fd5b1cf3316
2021-08-19 09:19:18 +00:00
IRIS YANG 2be95b5759 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev am: 829264a650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15604010

Change-Id: I63978fe327047d10a3199f2ead78d366656bda13
2021-08-19 09:09:37 +00:00
IRIS YANG 829264a650 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev 2021-08-19 08:58:13 +00:00
shawnlin 4e15fe0726 [DO NOT MERGE] Update QuickStepContract.getWindowCornerRadius API
Update from getWindowCornerRadius(Resources) to
getWindowCornerRadius(Context)

Bug: 131221697
Test: make
Change-Id: Ia5f10e9292e205dab7e69d97dfc82d17690816fb
2021-08-19 15:52:10 +08:00
TreeHugger Robot 4535d2bd79 Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd am: d4e7420c52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: I811c983b2eab6ace95057f894e37cacd3b320bab
2021-08-19 01:24:36 +00:00
TreeHugger Robot d4e7420c52 Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: I9cc84e593c3a4520468a29d0196d29e635704ea6
2021-08-19 01:11:41 +00:00
TreeHugger Robot fe5ce7334a Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: If21b096b1d5ac025ffb4116c805d31acba6cc662
2021-08-19 00:57:46 +00:00
TreeHugger Robot 7e5f1003bd Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: Id4f261c686f2cd9ad8748211bfc2aa1b99a6f210
2021-08-19 00:56:44 +00:00
TreeHugger Robot 686d42a1d4 Merge "New app animation specs." into sc-qpr1-dev 2021-08-19 00:45:05 +00:00
TreeHugger Robot d60afc224c Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev am: c799b9d239 am: 8e8f5020de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616247

Change-Id: I0bc14ea91b16adb33dfbbcdea4256765d2c1f0ac
2021-08-19 00:28:58 +00:00
TreeHugger Robot 8e8f5020de Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev am: c799b9d239
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616247

Change-Id: Ie1ad2f596ec639e2a0748998edf4b6f4dd365be2
2021-08-19 00:09:48 +00:00
TreeHugger Robot c799b9d239 Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev 2021-08-18 23:52:19 +00:00
Vinit Nayak b5a4e05e2a Null out reference to RemoteAnimationTargets when animation finishes
Bug: 195430732
Test: Re-ran FallbackRecentsTest#testOverview, passes
Change-Id: If9be3429516caface998561fbcc8223e256d0fdf
2021-08-18 16:37:14 -07:00