Commit Graph

14323 Commits

Author SHA1 Message Date
Pun Butrach
605dab2626 Resolve Lawnchair/LC-TODO
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-08-16 22:43:36 +07:00
Pun Butrach
673ec02ad8 Use interpolators from NOT androidx variant
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-08-16 22:33:15 +07:00
Pun Butrach
efa4c99d72 Merge R from wmshell and wmshell:shared
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-08-16 21:53:17 +07:00
Pun Butrach
7f9947d16e Copybara! (Lawnchair) v2
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-08-12 19:23:45 +07:00
Pun Butrach
00eef5806a Fix lawn + l3 source
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-27 14:57:21 +07:00
Pun Butrach
b1a0e99ca7 Some fixes in lawn/l3
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-23 00:26:39 +07:00
Pun Butrach
e72711e553 Fix stuff in Lawnchair source side
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-20 01:48:36 +07:00
Pun Butrach
acee7d8538 Manual repetitive work fixup
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-19 23:47:12 +07:00
Pun Butrach
ea1cb1314e Theme slot plate colour
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:17:55 +07:00
Pun Butrach
07de1dc04f Replace settingslib with res
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:17:53 +07:00
Pun Butrach
80327afa33 Fix accessibility on Pie
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:17:52 +07:00
Pun Butrach
030a2327ef Fix conflict with wmshell and Lawnchair's PhysicsAnimator
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:17:49 +07:00
Pun Butrach
646ada565e (Kapt + Dagger)'s Bizarre Adventure (Chapter 1)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:16:30 +07:00
Pun Butrach
4100470f30 android.animation import
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:16:28 +07:00
CollisionBot
20b3d9c888 fix: FileHistory Rollback 12072025
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:16:27 +07:00
Pun Butrach
9cfbaaee99 Merge wmshell/shared into Lawnchair
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-17 21:16:26 +07:00
Pun Butrach
c649f3d3d6 Merge tag 'android-16.0.0_r2' into 15-dev
Android 16.0.0 release 2

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-06-12 19:29:33 +07:00
Saumya Prakash
3829c887d3 Don't translate the back button if home button is showing for lockscreen
The back button would get translated to the edge of the screen in
lockscreen apps. This was fine but now that the home button is shown in
these apps, they would overlap. This change prevents the back button
from translating to the edge of the screen when the home button is shown
in certain screens when the device is locked.

Fix: 406104663
Test: Enable 3 button nav and open lock screen apps/ emergency page on
large screen device. Observe that the buttons don't overlap anymore.
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b2e46eafc8fe76b0ffd57d0c3f72db5bd236587d)
Merged-In: Ibb963c1a62de80a990f223797d37a0a5ee294a90
Change-Id: Ibb963c1a62de80a990f223797d37a0a5ee294a90
2025-04-09 18:27:29 -07:00
Fengjiang Li
a88c057874 [Memory Leak] Fix leak of Launcher activity from recent view's input consumer
Ensure we always clear the consumer, which has strong ref to RecentsView and launcher activity, once gesture is ended

Fix: 407823225
Test: presubmit
Flag: NONE - released code
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:222fb581bda7f16b8f44c41aae489a025507ef51)
Merged-In: I90f2212247965697a4077890404bb577943efa37
Change-Id: I90f2212247965697a4077890404bb577943efa37
2025-04-04 21:39:56 -07:00
Brian Isganitis
03dd831d1f Disable LayoutTransitions for transient taskbar.
Taskbar stashes once an app is launched from taskbar, or remains stashed if you launch something from All Apps. The layout transitions therefore are unlikely to be seen by the user. Disabling them means when the user unstashes, they will see the end result of the transition immediately. The problem with them being enabled for transient taskbar is we set icon alpha to 0 if Taskbar is stashed, which conflicts with the alpha layout transition animation.

Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Fix: 406809935
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c0af778af1bf99e3536450c6ecc054d1d8d44953)
Merged-In: Ibcfc04e5c9af104725a69c8cceccef49544d7bd3
Change-Id: Ibcfc04e5c9af104725a69c8cceccef49544d7bd3
2025-04-04 21:39:43 -07:00
Jagrut Desai
9b53a188f4 Fix Taskbar offset in launcher
This cl includes: adding support to stash controller to get device locked state. Use different taskbar offset before and after lock screen.

Test: Manual
Bug: 407589216
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cef287164f798e3daef35d9a77a679df2cd8a09d)
Merged-In: I55b27d39049458c741efc9bec365cdbc27d4e012
Change-Id: I55b27d39049458c741efc9bec365cdbc27d4e012
2025-04-03 18:24:07 -07:00
Johannes Gallmann
c88baf38bf Play haptic on ACTION_DOWN for 3-button-nav buttons
Bug: 393959400
Test: Manual, i.e. verified that haptic happens on ACTION_DOWN and on
      long press (except for back button which doesn't have a haptic on
      long press). Also verified that Talkback works.
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:528bf70f61a6c161ec231d7447ac69dd4d97d1c8)
Merged-In: Ieb1892d69268d0bfba0ead9ec38c8ee9843addef
Change-Id: Ieb1892d69268d0bfba0ead9ec38c8ee9843addef
2025-04-02 19:36:59 -07:00
Schneider Victor-Tulias
7bccee01cb Forcefully finish recents animations when launcher is detroyed
If launcher is destroyed while the recents animation start is pending, then the taskanimationmanager and absswipeuphandler states are not properly cleaned up. Adding a new cleanup flow to handle this case.

Flag: EXEMPT bug fix
Fixes: 405642423
Test: adb shell cmd uimode night yes/no while TaskAnimationManager.mRecentsAnimationStartPending == true
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d72503263e8108aa78a527dde1487eb60c867f6)
Merged-In: I7bf1fc4fc07859f92d7aec6cd78deafa1214dd17
Change-Id: I7bf1fc4fc07859f92d7aec6cd78deafa1214dd17
2025-03-30 15:22:31 -07:00
Treehugger Robot
44552dc98f Merge "Stay in the current task when a new desk is created" into main 2025-03-24 13:23:22 -07:00
Vinit Nayak
16210fa129 Merge changes I48079ecb,Ifda20367 into main
* changes:
  Revert "Re-use existing method to get split root"
  Revert "Reset leashes before starting taskbar app pair launch animation"
2025-03-24 13:14:22 -07:00
Min Chen
d5aa8031b1 Merge "Pass displayId to CachedTaskInfo when needed" into main 2025-03-24 13:10:29 -07:00
Shamali Patwa
bb04b1135f Merge "Revert "Improve reliability of cleanup done in onDestroy."" into main 2025-03-24 13:06:27 -07:00
Min Chen
0599eaa522 Merge "Make sure the correct input consumer is created" into main 2025-03-24 12:34:44 -07:00
Treehugger Robot
69998a8c77 Merge "Using Choreographer for getting refreshrate instead of display manager" into main 2025-03-24 11:10:42 -07:00
Suhua Lei
77481d611b Stay in the current task when a new desk is created
Bug: 401002178
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manual create new desks
Change-Id: Iaa29c557a421d5c51b90aa808188d3cabec89143
2025-03-24 17:19:17 +00:00
minch
e7a054ae2b Make sure the correct input consumer is created
Let `isGestureBlockedTask` return false directly if
`mGestureBlockingTaskId` is not valid. This can avoid
the caller go to create incorrect InputConsumer when
the chekcing `taskId` is also invalid.

Bug: 402218420
Flag: EXEMPT bug fix
Test: m
Change-Id: Ia0cde8ee2b97fc92028458d01487d958f2e87a80
2025-03-24 17:00:28 +00:00
minch
956a9e0abb Pass displayId to CachedTaskInfo when needed
Bug: 401582344
Flag: EXEMPT refactor
Test: m
Change-Id: Id930db727dd0072ab5be04ae4272dc68c8b6dcb3
2025-03-24 16:18:09 +00:00
Sunny Goyal
836a832bfe Using Choreographer for getting refreshrate instead of display manager
Bug: 404582684
Flag: EXEMPT bugfix
Test: Manually verified that values are same as before even after changing refresh rate `adb shell settings put system peak_refresh_rate [30/60/90/120]`
Change-Id: I5d5468d8ab81a9a5e8d8cd67a9097423b750edb3
2025-03-24 08:51:53 -07:00
Shamali Patwa
cfcb27aa9d Revert "Improve reliability of cleanup done in onDestroy."
This reverts commit 9cf28d1772.

Reason for revert: Fix in ag/32425180

Change-Id: I714665944384db6f68634de529272e618bccdad9
2025-03-24 08:46:36 -07:00
Treehugger Robot
f67f97ade2 Merge "Fix action buttons visibility in handheld devices with blur enabled(1/n)" into main 2025-03-24 08:05:04 -07:00
Treehugger Robot
1d5064b8dc Merge "Add debug logging for task view touch controllers." into main 2025-03-24 06:17:26 -07:00
vinayjoglekar
7d27140a59 Fix action buttons visibility in handheld devices with blur enabled(1/n)
Added scrim in overview over blur.

Bug: 404479758
Test: Manual. Enter overview from home with and without tasks in handheld devices.
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: If8cb37099f2e2b1fa8bed1611ed359b49f255d64
2025-03-24 18:10:18 +05:30
Treehugger Robot
69461b2d75 Merge "Add "change aspect ratio" to Recents/Overview" into main 2025-03-24 01:04:31 -07:00
Robin Lee
116eafb95c Add "change aspect ratio" to Recents/Overview
This shows up if the launcher is in a sw600dp-or-greater configuration.

Test: AspectRatioSystemShortcutTests
Test: OverviewMenuImageTest
Test: Manual check on phone, tablet, and inner/outer fold screens.
Flag: com.android.window.flags.universal_resizable_by_default
Bug: 357141415
Change-Id: I1bcbf9299d28ce68cccd636d92ed7195d64736eb
2025-03-24 06:56:05 +01:00
Wei Sheng Shih
7e4fa0f833 Merge "Revert^2 "Remove DepartingAnimationTarget from BackMotionEvent(2/2)"" into main 2025-03-23 21:51:51 -07:00
Treehugger Robot
88b2f23a83 Merge changes from topic "ttt-refactor" into main
* changes:
  Migrate to TopTaskTracker.getPlaceholderGroupedTaskInfo
  Introduce TopTaskTracker.getPlaceholderGroupedTaskInfo
2025-03-22 08:35:44 -07:00
Treehugger Robot
43b4273e91 Merge "[Memory Leak] Avoid spamming DragLayer's run queue" into main 2025-03-21 22:54:24 -07:00
minch
13e1445773 Migrate to TopTaskTracker.getPlaceholderGroupedTaskInfo
Migrate all the call sites of `TopTaskTracker.getPlaceholderTasks`
and `getSplitPlaceholderTask`s to the new API
`getPlaceholderGroupedTaskInfo`

Bug: 401582344
Flag: EXEMPT refactor
Test: m
Change-Id: I0d71508f4dd9633fea025ed842c4c048d0e70462
2025-03-22 05:23:06 +00:00
minch
fba9726258 Introduce TopTaskTracker.getPlaceholderGroupedTaskInfo
This CL just introduces an API inside TopTaskTracker to return
a GroupedTaskInfo, no existing logic being migrated to it yet.

It will be used to replace `getPlaceholderTasks` and
`getSplitPlaceholderTasks` in the follow-up cls.

Bug: 401582344
Flag: EXEMPT, introduce a new API without usage
Test: m
Change-Id: Ic12003833605582d191c4abfd4a0878c266dd30f
2025-03-22 05:22:05 +00:00
Sukesh Ram
54f23ff654 Fix Pinning Animation
Fix Pinning Animation.

Flag: EXEMPT not adding new behavior
Bug: 405469510
Test: m
Change-Id: Iabc580031495f39902cb4d718ab12a7362c07d13
2025-03-21 17:18:45 -07:00
Fengjiang Li
8c7805b67a [Memory Leak] Avoid spamming DragLayer's run queue
Avoid adding duplicated ViewTreeObserver#addOnDrawListener from DepthController

Fix: 405158421
Flag: NONE - released code
Test: manual - presubmit
Change-Id: Ib59c130667c5c0a012de3205d11c8de1d6de3903
2025-03-21 13:40:17 -07:00
Treehugger Robot
500698152c Merge "Hide scroll arrows from Alt+Tab UI" into main 2025-03-21 11:41:55 -07:00
Saumya Prakash
cfe62a68d2 Merge "Ensure back button shows up in Simple View for SUW" into main 2025-03-21 10:41:59 -07:00
Saumya Prakash
91a081f26c Merge "Shift to using SUW System property flag for expressive theme" into main 2025-03-21 09:10:33 -07:00
Alex Chau
df6dc455a7 Merge changes from topic "revert_task_content_view" into main
* changes:
  Revert "Add TaskContentView parent to TaskThumbnailViewHeader and TTV"
  Revert "Remove redundant FrameLayout from task_header_view.xml"
2025-03-21 04:14:36 -07:00