Commit Graph

47938 Commits

Author SHA1 Message Date
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
Android Build Coastguard Worker ec4fe03e53 Snap for 7665009 from 12bfd96432 to sc-v2-release
Change-Id: Ia30dab902088cf2192e625fc6009ea5a91f5a9a7
2021-08-22 21:08:23 +00:00
TreeHugger Robot 20fb207863 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 12bfd96432 -s ours am: 9086989bc4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I033288531f4d99d02f15ca1d2d9756a68be7ab79
2021-08-22 18:17:10 +00:00
TreeHugger Robot 9086989bc4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 12bfd96432 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3c81a7299cfa03f14d81665597b6fad65be197cd
2021-08-22 18:02:15 +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
Android Build Coastguard Worker a80a26ddd9 Snap for 7662841 from 47fde77687 to sc-v2-release
Change-Id: Ice2c74aa07d54958fe6f15f5f746abbcc3548003
2021-08-21 01:07:54 +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
Android Build Coastguard Worker 789039d297 Snap for 7658240 from a71426811e to sc-v2-release
Change-Id: I6d7d6245176acdb82ac084f92ee5dbeac809b11b
2021-08-19 23:12:40 +00:00
TreeHugger Robot 7472298151 Merge "Fixing crash when the adapter is no longer available" into sc-v2-dev am: a71426811e am: acf5d25977
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15625882

Change-Id: I395880f9e51ab71f14b9de6ef2529d6620fae2d0
2021-08-19 19:39:41 +00:00
TreeHugger Robot acf5d25977 Merge "Fixing crash when the adapter is no longer available" into sc-v2-dev am: a71426811e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15625882

Change-Id: I45f56251781d569ffda3d19f1a1db73b7004885d
2021-08-19 19:16:47 +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 a71426811e Merge "Fixing crash when the adapter is no longer available" into sc-v2-dev 2021-08-19 19:00:39 +00: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
Sunny Goyal 8e3a60648a Fixing crash when the adapter is no longer available
Bug: 197176748
Test: trivial change
Change-Id: Ie55a248c1998168c45bfa346186d61d7456ff7fb
2021-08-19 10:26:35 -07:00
TreeHugger Robot 57b2a9a6e0 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85 am: 46db057249 am: 2a3c1321f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: Ia2286f2f63dce45f0ac3199260ddefa50e7541f1
2021-08-19 16:01:40 +00:00
TreeHugger Robot 9c43f97783 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85 am: 5980159f00 am: d6578da299
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: Ieb58469aea095eb4fa154297a91be4a081c24165
2021-08-19 16:00:49 +00:00
TreeHugger Robot 2a3c1321f8 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85 am: 46db057249
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: I1ad5dc4cc140498529b940b35a1b40988a3e1946
2021-08-19 15:56:19 +00:00
TreeHugger Robot d6578da299 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85 am: 5980159f00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: If0b63751d63e33b402152c6953bb4125f0c62597
2021-08-19 15:51:12 +00:00
TreeHugger Robot 5980159f00 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: I436611efcf40cb7e5311a1ff4b0ed79635114e29
2021-08-19 15:43:06 +00:00
TreeHugger Robot 46db057249 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev am: 70dd01be85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15583988

Change-Id: Ie6d11b74141ff777b10f05919b9a61f7af809900
2021-08-19 15:43:06 +00:00
TreeHugger Robot 70dd01be85 Merge "Fix NPE when converting final screen to empty screen." into sc-qpr1-dev 2021-08-19 15:30:20 +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
TreeHugger Robot 0d25ed8ac0 Merge "Logging for artifacts not being created" into sc-v2-dev am: a7929aff08 am: 8afdad4230
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619037

Change-Id: I468a02f937db19133dc02478c58d141ef65c4f9a
2021-08-19 11:09:43 +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
TreeHugger Robot 8afdad4230 Merge "Logging for artifacts not being created" into sc-v2-dev am: a7929aff08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619037

Change-Id: I810b8672a9f2b6cdc8c2ec1c854211f8f8e684eb
2021-08-19 11:00:35 +00:00
Nick Chameyev 88cd9aaa6b Merge "Update unfold transition package name" into sc-v2-dev 2021-08-19 10:53:44 +00:00