Commit Graph

77993 Commits

Author SHA1 Message Date
Treehugger Robot 41d2d507a3 Merge "Revert "Add screen recording to TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet"" into main 2024-09-13 23:57:50 +00:00
Ats Jenk 61d45eb8d2 Merge changes I3cfdb715,Ic194afdb into main
* changes:
  Fix initial alpha when unstashing bubble bar
  Set additional bubble translation during stash
2024-09-13 22:38:24 +00:00
Schneider Victor-tulias ef404a786e Revert "Add screen recording to TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet"
This reverts commit 600c508569.

Reason for revert: test no longer fails
Fixes: 358607191

Change-Id: Ie944a7d79dab03fcb61ca62926929b0b462c1ba6
2024-09-13 21:49:24 +00:00
Treehugger Robot eb269053ba Merge "Remove unecessary uses of LauncherActivityInterface.INSTANCE" into main 2024-09-13 21:47:40 +00:00
Ats Jenk 9639315baa Fix initial alpha when unstashing bubble bar
For the stash and unstash animation we use separate timings for the
Bubble views and background. In other animations we animate the entire
bubble bar alpha as one.
To achieve this during unstash animation we set the bubble views and
background alpha to 0. And then set the bar alpha to 1.
Since alpha animation has a delay during unstash, we need to set the
initial values as the start of the entire animation and not just the
alpha part. Otherwise there are flickers in the animation.

We also need to set initial values for the alpha animator that the
AnimatedFloat creates. AnimatedFloat uses the current values as the
start value. If we update it later, the animator was already created and
it won't have an effect. To fix this, we set the start and end values
for the alpha animators created by AnimatedFloat.

Bug: 345488489
Flag: com.android.wm.shell.enable_bubble_bar
Test: slow down animations and unstash bubble bar, check that bubbles
  alpha slowly animates in

Change-Id: I3cfdb715e1703bd2195c809fd77751a216558176
2024-09-13 10:51:11 -07:00
Anushree Ganjam b41def0366 Merge "Add LauncherAppSingleton & LauncherActivityScope to dagger graph (3/n)" into main 2024-09-13 00:45:28 +00:00
Treehugger Robot ec5d7a0924 Merge "Cleaning up some enabled features" into main 2024-09-13 00:26:54 +00:00
Sunny Goyal 5ee3d98641 Cleaning up some enabled features
Flag: EXEMPT LEGACY
		CONTINUOUS_VIEW_TREE_CAPTURE
		ALL_APPS_GONE_VISIBILITY
		ENABLE_BACK_SWIPE_HOME_ANIMATION
		ENABLE_DYNAMIC_TASKBAR_THRESHOLDS
		PREEMPTIVE_UNFOLD_ANIMATION_START
		ENABLE_NEW_GESTURE_NAV_TUTORIAL
		ENABLE_ENFORCED_ROUNDED_CORNERS
		ENABLE_TRACKPAD_GESTURE
		ENABLE_KEYBOARD_QUICK_SWITCH
		ENABLE_KEYBOARD_TASKBAR_TOGGLE
		ENABLE_ALL_APPS_RV_PREINFLATION
Test: Presubmit
Bug: 270395171, 291651514, 270393426, 294252473,
     270397209, 270396257, 270393258, 271010401,
     270396844, 281726846, 288161355

Change-Id: I6ef1e12dfc2203a4cca8e91aa291485f1ff24c42
2024-09-12 15:12:08 -07:00
Kevin Lim f1b5855af7 [Testing] Renamed incorrectly named FloatingHeaderViewTest
FloatingHeaderviewTest was named with ...Tests (plural), preventing it from
being excluded from launcher-testing-helpers-robo and getting included
in some unintended tests.

Bug: b/341795751
Flag: EXEMPT test renaming.
Test: Running FloatingHeaderViewTest
Change-Id: I8149f0a5548e77674bb2a23a34bd7671e0a3b371
2024-09-12 20:57:14 +00:00
Alex Chau 98af6a906e Merge "Revert "Separate desktop and fullscreen carousel"" into main 2024-09-12 15:50:41 +00:00
Chaitanya Cheemala (xWF) a555f4ca1b Revert "Separate desktop and fullscreen carousel"
This reverts commit 9420ba7515.

Reason for revert: Likely culprit for b/366196741 and b/366191730

Bug: 353950224
Fix: 366196741
Fix: 366191730
Change-Id: Icc84aaaae1a6bd8b21f059331715fb25163793b8
2024-09-12 15:48:28 +00:00
Treehugger Robot b6332b9947 Merge "Fixing back animation for container views" into main 2024-09-12 13:57:02 +00:00
Liran Binyamin 6138138d99 Merge "Initial screenshot tests for bubble bar view" into main 2024-09-12 13:33:50 +00:00
Alex Chau 9420ba7515 Separate desktop and fullscreen carousel
- setRunningTaskHidden now changes attachAlpha only, stableAlpha is untouched as part of the attach animation, so both alpha can be set independently without interferring with each other
- During swipe up, hide task of differnt type (fullscreen/desktop) from the carousel, apply unhide when the gesture settles
- Update the min/max alpha calculation when a type of task is hidden from the carousel

Fix: 353950224
Test: Quick switch, swipe up, and scroll in Overview with and without Desktop tile, on phone and tablet
Test: presubmit test on quickswitch and swipe up
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Change-Id: I0a63da3ee3e55f4d1edbc53b2a4c5fccda2af387
2024-09-12 09:30:46 +00:00
Vinay Joglekar b3189d8404 Merge "Add keyboard navigation for all large tiles" into main 2024-09-12 09:09:02 +00:00
Sunny Goyal b55d9ca407 Fixing back animation for container views
> Looking up views during back instead of holding the reference
  This allows back animation even if Launcher restarts
> Fixing back animation not working with progressive back
> Fixing container animation overriding Launcher cookie used be gestureNav

Bug: 365866488
Test: Verified manually by enabling flag
Flag: com.android.launcher3.enable_container_return_animations
Change-Id: Ic235b238cca6a31e9a5502200ff6b07c72b4e4d7
2024-09-12 00:51:07 -07:00
Treehugger Robot f60ebdfa9d Merge "Add logs for 4x4 to 4x5 missing row bug" into main 2024-09-12 06:34:37 +00:00
Treehugger Robot 206e15b286 Merge "Move DesktopVisibilityController to TouchInteractionService" into main 2024-09-12 02:32:00 +00:00
Treehugger Robot 05b0bef386 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: b5731e2512 -s ours
am skip reason: contains skip directive

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

Change-Id: I3b6d3925ea9a6676a7c964a2a7b37887f4a0fa2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:43:01 +00:00
Bill Yi 7145283a37 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f5e39634c2 -s ours
am skip reason: contains skip directive

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

Change-Id: Icfb50432306d36842755e39d525be5c15cc85b7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:42:52 +00:00
Treehugger Robot d5cd32ce75 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: 3824e75ad6 -s ours
am skip reason: contains skip directive

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

Change-Id: I801fbc9a57b99526c7408f8cbbea16c0537820bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:42:38 +00:00
Bill Yi a4aa05cc0c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f9c2203273 -s ours
am skip reason: contains skip directive

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

Change-Id: Idf14d45239b291aad139d6a030187d3bad1d114e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:42:28 +00:00
Bill Yi 9ca15828a9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 623b65e92c -s ours am: aa8735496d -s ours
am skip reason: contains skip directive

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

Change-Id: I3aa4a375cabf434011d9256c27db00f988f70fa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:41:29 +00:00
Bill Yi 953b0ff39e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4413d38d51 -s ours am: 2b7881e5ee -s ours
am skip reason: contains skip directive

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

Change-Id: I59c18c8f85eb66172d268a4b7308f96085f4dfb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:41:24 +00:00
Bill Yi 83787b2415 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 0dbc1f13db -s ours am: 79ef2096e6 -s ours
am skip reason: contains skip directive

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

Change-Id: Ied27a7d077142d957e821318abb8b83b54655d73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:41:15 +00:00
Bill Yi c016cde239 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2de9e6b125 -s ours am: 9cd5a8c06a -s ours
am skip reason: contains skip directive

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

Change-Id: I75dac05e001c68bc67a38fb3e283bd97ba5b9216
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:41:06 +00:00
Ats Jenk aad71bc532 Set additional bubble translation during stash
Fixes bubbles stash translation not getting cleared up after stash
animation finishes.

Bubbles are clipped using an outline animator during the stash
animation. They need separate translation applied to keep them within
the bounds of the bubble bar that is also shrinking and moving.

Set the translation for the bubbles in the stash controller so we can
reset the translation after the animation has finished.

Bug: 365829293
Flag: com.android.wm.shell.enable_bubble_bar
Test: TransientBubbleStashControllerTest
Test: have bubbles in bubble bar, trigger a new auto expanding bubble,
  check translation for bubbles
Change-Id: Ic194afdb4d650fcd525355d8bae08dd651d1ea05
2024-09-11 16:29:22 -07:00
Treehugger Robot b5731e2512 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-09-11 23:07:17 +00:00
Treehugger Robot 3824e75ad6 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-09-11 23:07:17 +00:00
Bill Yi aa8735496d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 623b65e92c -s ours
am skip reason: contains skip directive

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

Change-Id: Ib694807cdea419bd67798ac8376c1390b3eb9938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:00:22 +00:00
Bill Yi 2b7881e5ee [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4413d38d51 -s ours
am skip reason: contains skip directive

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

Change-Id: Ib439518743ade2fb529f6f451338ef58ce803d80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:00:15 +00:00
Bill Yi 79ef2096e6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into main am: 0dbc1f13db -s ours
am skip reason: contains skip directive

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

Change-Id: I6d701b9179c79aa68471e96e8a890b3a15bdc86d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 23:00:07 +00:00
Bill Yi 9cd5a8c06a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2de9e6b125 -s ours
am skip reason: contains skip directive

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

Change-Id: I103ce9717dcbeda42c91594de606f5dd9ce675b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-11 22:59:56 +00:00
fbaron 3c4c975d74 Add logs for 4x4 to 4x5 missing row bug
Flag: EXEMPT adding logs
Test: EXEMPT adding logs
Bug: 360462379
Change-Id: Icb56209a4a12c935dd97bd01d53b8fb6e4371c34
2024-09-11 15:52:01 -07:00
Bill Yi 623b65e92c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 22:30:22 +00:00
Bill Yi 0dbc1f13db Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 22:30:22 +00:00
Treehugger Robot 072d2e46b6 Merge "Cancel the stash animation if the stash controller is destroyed before then" into main 2024-09-11 21:01:36 +00:00
Anushree Ganjam fbc0f97410 Add LauncherAppSingleton & LauncherActivityScope to dagger graph (3/n)
* Add ApplicationContext qualifier and binding the application context instance so
that this context is available across dagger graph.

* Add QuickStepModule and LoggingModule
* Provide SettingsChangeLogger in dagger way. We are depending on
  MainThreadInitializedObject for cleanup. We need to define a way
  explicitly see how we can destroy singleton objects.

Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: Ia10cc500edb1d88adcca540119651f59b9bc8dc8
2024-09-11 13:56:23 -07:00
Sunny Goyal 8f8932b0f8 Merge "Adding open/close animartion when launching app-info target" into main 2024-09-11 20:31:34 +00:00
Treehugger Robot c912c8fb8b Merge "Improving regex for detecting a local platform build" into main 2024-09-11 19:48:47 +00:00
Mady Mellor f12caec1d0 Merge "Fix the overflow not being added sometimes" into main 2024-09-11 19:21:53 +00:00
Bill Yi 2de9e6b125 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I138cb1c3216831f911834b0b9d969b0787f87a21
2024-09-11 12:10:38 -07:00
Bill Yi 4413d38d51 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a7f247044692b91fe94ff74305c7e48f1873ae5
2024-09-11 12:09:53 -07:00
Treehugger Robot e698c7237a Merge "Disallow long click on taskbar icons while animating home." into main 2024-09-11 19:08:24 +00:00
Bill Yi f5e39634c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iece2882f4aca3a83feb153b764d05f1e5f5235c9
2024-09-11 11:51:45 -07:00
Bill Yi f9c2203273 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8dc4f5eb9cd2d9880fa0ddb0b6e22a296d43cd5d
2024-09-11 11:51:01 -07:00
Vadim Tryshev 460192588f Improving regex for detecting a local platform build
Platform build can now have versions line "eng.himans"

Bug: 187761685
Test: online regex verifier
Flag: NONE test change
Change-Id: I86b9324dfbbc36272215eae58af836e9a3741d70
2024-09-11 10:39:31 -07:00
Treehugger Robot 7c9d8f9451 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-09-11 17:32:13 +00:00
Mady Mellor bd446142ae Fix the overflow not being added sometimes
The runnable to add the overflow was only being run when the view
was animated (i.e. while expanded); not when it was collapsed.

Flag: com.android.wm.shell.enable_bubble_bar
Bug: 358304168
Test: manual - add more than 5 bubbles while collapsed
Change-Id: Ibdea61eaf8ecb1d2e3f9ea4fced679b2826d3f9b
2024-09-11 10:24:31 -07:00
Schneider Victor-Tulias 2b46c945a7 Move DesktopVisibilityController to TouchInteractionService
Moved DesktopVisibilityController to TIS for 3P launcher support.

Flag: EXEMPT bug fix
Fixes: 338063030
Fixes: 357859025
Test: Launched overview and resumed desktop task from desktop mode on 1P and 3P launchers
Change-Id: I64e99a32ed13bcb6e4a81a18c29df2643373dc35
2024-09-11 09:56:35 -07:00