Commit Graph

10816 Commits

Author SHA1 Message Date
Sunny Goyal 9227721d72 Merge "AllSet page fixes" into sc-dev am: 50f43df36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: I70d67df56f081297722bbe761a7c0eda933aaae4
2021-06-30 04:41:39 +00:00
Sunny Goyal 895dd1cb87 Merge "AllSet page fixes" into sc-dev am: 50f43df36e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147340

Change-Id: Ibcebfcd6fa76e425bcc7c371a30ca6b5bba9df94
2021-06-30 04:40:41 +00:00
Sunny Goyal 50f43df36e Merge "AllSet page fixes" into sc-dev 2021-06-30 04:31:34 +00:00
Lucas Dupin 3d681be573 Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af am: d1ae89019b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: Iac08951b119a35de22119e72bb84d04e8b6fede4
2021-06-30 00:36:50 +00:00
Lucas Dupin 4992eab5c4 Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af am: b9ac946e06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: I82b1ecbc83f12cf085c2cde593eaa5150cda3f40
2021-06-30 00:35:56 +00:00
Lucas Dupin 3fb19d41b6 Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: Idadf9a85d4de92e584a524ff48856cca5c81d664
2021-06-30 00:25:43 +00:00
Lucas Dupin b9ac946e06 Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: Ie66c9069b08c2d066e09ca8fa18b4872e3f3bde3
2021-06-30 00:24:50 +00:00
Lucas Dupin d1ae89019b Merge "Decouple zooms and blurs on app launch" into sc-dev am: c2ef0363af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15145970

Change-Id: I29c18988d3a03cc0255b42e74c75a92fac601f06
2021-06-30 00:24:31 +00:00
Tony Wickham 8ae56bd4e3 Fully null check mRecentsAnimationController
It's already null checked everywhere else it's used.

Test: none
Fixes: 187354606
Change-Id: I50913c38b2653fe292d84fabe111ff3a3e10736d
2021-06-29 17:18:33 -07:00
Sunny Goyal ce50b9ed83 AllSet page fixes
> Updating background color
> Updating activity theme to not be transparent
> Updating default accent color
> Adding an accessible target to exit

Bug: 190447132
Bug: 190136972
Bug: 190454597
Test: Manual
Change-Id: Ia8ef67ed429c062a8d1109d7f444343ec4ca09cf
2021-06-29 16:32:37 -07:00
Lucas Dupin 0f00c35268 Decouple zooms and blurs on app launch
We'd like to be able to disable blurs during app launch, but without
disabling zooms as well. The previous sysprop would set the depth of
BackgroundAppState to 0, when what we want is to conserve wallpaper
zoom.

Bug: 191969790
Test: adb shell setprop ro.launcher.blur.appLaunch false
Change-Id: Ie4b26096f6ac723c3981bba2829557e6cc6c733b
2021-06-29 13:02:12 -07:00
Alex Chau ba61b98fca Snap to relative position to snappd task when dismissing
- Calculate the diff to snapped page scroll and apply in onLayout, so tasks won't jump after dismiss when not in snapped position
- In grid, always keep the relateive snapped page unchanged to avoid jump

Bug: 188793333
Test: manual
Change-Id: Id11c2d700dc55440de39cc7409d06a712cedc9bc
2021-06-29 19:54:21 +01:00
Hongwei Wang 338bdd1f94 Polish auto-enter-pip from landscape and split-screen
- Use Builder for constructing SwipePipToHomeAnimator since the
  parameter list grows
- Use mHomeToWindowPositionMap to adjust the position, this is to fix
  the position issue when auto-enter-pip from split-screen
- The position map and its inverse does not seem to fit the case when
  auto-enter-pip from landscape, leave it as it is
- Setup the SwipePipToHomeAnimator the same way in
  createWindowAnimationToHome

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/b1j4eK7BU18sOGfuDlKMFR
Bug: 190749305
Bug: 190855091
Test: manual, see video
Change-Id: Ica9ca9f43b8fd5f1898fef4c6d173502dd897872
2021-06-28 16:04:34 -07:00
Lucas Dupin 030ada9545 Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e am: 820b0987bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116

Change-Id: I96dfdbbc80774201f129bd3712b80611fb646620
2021-06-28 22:39:03 +00:00
Lucas Dupin e7f8c8343a Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e am: 0bf6de0d5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116

Change-Id: I570b17fbd9055017f11bb25a881ce003624bd6b8
2021-06-28 22:38:31 +00:00
Lucas Dupin 820b0987bd Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116

Change-Id: I5d4b3c70bf2201831ed25405083eaf6de1bdf92f
2021-06-28 22:28:34 +00:00
Lucas Dupin 0bf6de0d5c Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116

Change-Id: I01ca7da221bee368e8502ccf08d8327f7c5291a8
2021-06-28 22:27:45 +00:00
Lucas Dupin 996c32b10f Merge "Reset DEPTH at the end of launch animations" into sc-dev am: 789f01af7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15130116

Change-Id: I917bc0ff4bc97da1a32a673605332a824cdda07f
2021-06-28 22:27:40 +00:00
Lucas Dupin 789f01af7e Merge "Reset DEPTH at the end of launch animations" into sc-dev 2021-06-28 22:15:21 +00:00
Lucas Dupin 9d8580bd2a Reset DEPTH at the end of launch animations
This way the wallpaper won't be zoomed out if an app crashes.

Test: adb am crash <some test app>
Fixes: 191979512
Change-Id: I7576798f736d63c3e46bbac1b983b9d1a437647d
2021-06-28 11:45:14 -07:00
Alex Chau 44beff4e7f Merge "Hide overview on fold/unfold when live tile is active." into sc-v2-dev am: ed4db64369 am: be23976a6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15092851

Change-Id: I52b6c3bce54148d950486b87a09c6d4d4769f12d
2021-06-28 11:09:31 +00:00
Alex Chau be23976a6e Merge "Hide overview on fold/unfold when live tile is active." into sc-v2-dev am: ed4db64369
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15092851

Change-Id: Ia04f39c7604debf2c3ccd2d86f7db6ab1157a115
2021-06-28 10:51:44 +00:00
Alex Chau ed4db64369 Merge "Hide overview on fold/unfold when live tile is active." into sc-v2-dev 2021-06-28 10:38:15 +00:00
Tracy Zhou 10966ba3de Merge "Wallpaper and non-app targets are not necessary" into sc-dev am: 540723bd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15085898

Change-Id: Iea021cdcc976f3ebf1b9160b833ba0bd3e4e8b5d
2021-06-26 15:10:09 +00:00
Tracy Zhou 89b0a538b4 Merge "Wallpaper and non-app targets are not necessary" into sc-dev am: 540723bd05 am: 0785671ceb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15085898

Change-Id: I8882e5517ba1939e04f351d3b20383cc6c3498a2
2021-06-26 15:10:07 +00:00
Vadim Tryshev e3f02c4de6 Merge "Postponing CUJ start by 1 frame" into sc-dev am: e70e6a3b0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096971

Change-Id: Iaedc20bb98781ad97b8f72e064cb47e77e7f2975
2021-06-26 15:10:04 +00:00
Vadim Tryshev 7fd5a1d160 Merge "Postponing CUJ start by 1 frame" into sc-dev am: e70e6a3b0b am: 5877fc876a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096971

Change-Id: Ia63b51c06983c06e851ea36c414b5c3e32e35a6c
2021-06-26 15:10:01 +00:00
Tracy Zhou 7bfde1b635 Merge "Wallpaper and non-app targets are not necessary" into sc-dev am: 540723bd05 am: 5157fc7750
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15085898

Change-Id: I6e37a9bf294f49acc08397bc5fd6f210727505a1
2021-06-25 19:38:07 +00:00
Tracy Zhou 5157fc7750 Merge "Wallpaper and non-app targets are not necessary" into sc-dev am: 540723bd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15085898

Change-Id: I2edc7d49688a9b29490c4777524e48248bc8071e
2021-06-25 19:27:52 +00:00
Tracy Zhou 0785671ceb Merge "Wallpaper and non-app targets are not necessary" into sc-dev am: 540723bd05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15085898

Change-Id: I6268548f20cd19204b9016e5fa8406738d52c658
2021-06-25 19:27:44 +00:00
Tracy Zhou 540723bd05 Merge "Wallpaper and non-app targets are not necessary" into sc-dev 2021-06-25 19:11:57 +00:00
Vadim Tryshev 324ecf9f91 Merge "Postponing CUJ start by 1 frame" into sc-dev am: e70e6a3b0b am: 841e8c56d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096971

Change-Id: Ic6b8afd15635b5dd30a5f1285855c17c3b5e09dc
2021-06-25 18:36:22 +00:00
Vadim Tryshev 841e8c56d6 Merge "Postponing CUJ start by 1 frame" into sc-dev am: e70e6a3b0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096971

Change-Id: I36b5757716c0d326cda42877149a8e13726233a5
2021-06-25 18:21:47 +00:00
Vadim Tryshev 5877fc876a Merge "Postponing CUJ start by 1 frame" into sc-dev am: e70e6a3b0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15096971

Change-Id: Ieef68819c6fb2ff2f96f256818a2b38bbfe7dce3
2021-06-25 18:21:21 +00:00
Vadim Tryshev e70e6a3b0b Merge "Postponing CUJ start by 1 frame" into sc-dev 2021-06-25 17:56:34 +00:00
Tracy Zhou 936f06e02c Wallpaper and non-app targets are not necessary
Fixes: 191773356
Test: Swipe up to overview, launch another app, and make sure it works
Change-Id: I3f71d90687e18f38ddb17876bf7c56861bc61932
2021-06-25 10:17:50 -07:00
Winson Chung 95e819d572 Merge "Tweak live tile rotation handling" into sc-dev am: 694734f133
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15023837

Change-Id: Iae13638ac9a4a5275f6bcba51da24ee550d1a424
2021-06-25 16:21:53 +00:00
TreeHugger Robot 81b70eaed2 Merge "Update gesture navigation intent tutorial steps handling" into sc-dev am: c20f6b52ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082876

Change-Id: Ic171072979dd5865f63cd46d2221dba27bf51243
2021-06-25 16:21:01 +00:00
Schneider Victor-tulias 5c68d6e064 Merge "Update Gesture navigation tutorial activity permissions" into sc-dev am: a217d6fccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15083216

Change-Id: Iec5d8c3625f7898d66e40aaad200342eb017d1a9
2021-06-25 16:20:55 +00:00
TreeHugger Robot 6a00bf853b Merge "Revert "Fix some touch issues during gesture nav transition"" into sc-dev am: c48d40475b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15092224

Change-Id: I5b2bb3dcb078d77bccaa1c328be81f5bfae7b565
2021-06-25 16:19:25 +00:00
Winson Chung 3a9d18372c Merge "Tweak live tile rotation handling" into sc-dev am: 694734f133 am: 68d222d294
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15023837

Change-Id: I87cd64a01be7507ea75fa5226cf4aecd4a0f0fc5
2021-06-25 16:16:43 +00:00
TreeHugger Robot 6b22845f58 Merge "Update gesture navigation intent tutorial steps handling" into sc-dev am: c20f6b52ab am: cd34f3db33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082876

Change-Id: I97ed868c6e0306402611ae46a87d02ded509f292
2021-06-25 16:16:34 +00:00
Schneider Victor-tulias 6f23cf0ceb Merge "Update Gesture navigation tutorial activity permissions" into sc-dev am: a217d6fccd am: 5f4261c585
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15083216

Change-Id: Ib2834b4e597ff856e2f98f68be1caa22148249e3
2021-06-25 16:16:30 +00:00
TreeHugger Robot 5560978f64 Merge "Revert "Fix some touch issues during gesture nav transition"" into sc-dev am: c48d40475b am: e14ba668cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15092224

Change-Id: Ied3804c8d5c467782711af5131f3caeaddf93c2a
2021-06-25 16:16:26 +00:00
Alex Chau 493e849010 Merge "Add touch event of on taskbar for various cases" into sc-v2-dev am: 595893c33d am: 3a3375b0d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095554

Change-Id: Ia8aa7e5af42681336122bf201c205ee286d41af2
2021-06-25 09:16:35 +00:00
Alex Chau 3a3375b0d2 Merge "Add touch event of on taskbar for various cases" into sc-v2-dev am: 595893c33d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095554

Change-Id: I475747b3a9836e305c2a1a44efcb3e828c3e5432
2021-06-25 08:58:43 +00:00
Alex Chau 595893c33d Merge "Add touch event of on taskbar for various cases" into sc-v2-dev 2021-06-25 08:47:57 +00:00
Vinit Nayak ef360b72b8 Show back and IME switcher for gesture nav (1/2)
This shows back and IME switcher when in app taskbar
and IME is visible.
This doesn't remove the system bar just yet (will
show overlap). Next CL will remove the system IME buttons
so only launcher IME buttons show.

Bug: 191612881
Test: Used IME in gesture + 3 button with taskbar.
Change-Id: If39382c4d01f26a9350f7460d9e769ca9b57828c
2021-06-24 21:12:21 -07:00
TreeHugger Robot d3b7fd1c63 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-25 01:54:00 +00:00
TreeHugger Robot 00e3efc034 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-25 01:10:56 +00:00