CheckLongPressHelper: Cancelling view longpress which inturn also cancels self
This ensures that long press is properly cancelled if the default timeout for system longpress is same as ours
Bug: 379777736
Bug: 379807782
Bug: 379805363
Bug: 379805788
Bug: 379777734
Bug: 379774350
Flag: EXEMPT bugfix
Test: Presubmit
Change-Id: Ic4d9d6c4f79325a5d7ab98eafa1c86db4c2e67a5
In b/297952359 we are seeing that widgets with clipped outline
elements end up showing shadows below their drag view. Which
due to not maintaining clipping looks further bad.
It seems like, we don't really need the elevation for drag
view anymore - and presumably it was added for older android
versions for shadow for folders. But, they don't have them
anymore, so, removing elevation now.
Note: The issue that during drag and drop, the dragged preview
not showing clip to outline or shadows within widget's views is
a separate issue related to the Picture API usage during drag
and drop.
Bug: 297952359
Test: Screen record in comments
Flag: EXEMPT Bugfix
Change-Id: If31a0275938afe374d269a46cc950970033323f9
This CL updates the methods and APIs to match the updated API from DesktopTasksController in WM Shell.
We've introduced RemoteTransition to be used for animating a task when it's moved into a desktop task.
Bug: 333524374
Fix: 379620787
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: TaplTestsOverviewDesktop
Test: OverviewDesktopTaskImageTest
Change-Id: I63cd094b3956ebe8fe7acda7da30ca73e1098ea0
- Moved RUNTIME_STATE_RECREATE_TO_UPDATE_THEME to StatefulActivity
- Handle uiMode in RecentsActivity
- When RecentsActivity is recreated due to theme changes, restore previous state
Fix: 382072029
Test: Manual: Change light/dark them from QuickSettings while in fallback Overview, Overview stay open
Flag: EXEMPT bugfix
Change-Id: Ia596150afa1436c4a25e94fd2b6930a8ded0b0d4
Use regular function instead of expression functions for Unit return
types.
go/kotlin/practices/expression-functions#unit-functions
Flag: com.android.wm.shell.enable_bubble_bar
Bug: 281083629
Test: no-op change. just verify this builds
Change-Id: Ie13fdad5f33bb4cda9e5e85e2fb4394131d3c63f
Flicker occurs due to calling fade for 0 to 1 twice which needed to be corrected.
Also renamed confusing terms for updating alpha of app icons.
Test: Manual. Install 3P launcher, 3 button navigation enabled, go to Overview.
Fix: 378419654
Flag: EXEMPT bug fix.
Change-Id: I46ff564712f5fd217c5992042ee441242159fe99
Every object that needs its own instance for an instance of a new display-specific taskbar needs its own creation method.
Flag: EXEMPT not adding new behavior
Bug: 381105283
Test: Manual
Change-Id: I24794fefbf2a64f38795eca970cf30eb63c51e66
When animating the bubble bar in an app with a stashed handle,
the flyout might not be displayed entirely.
Fix the calculation of the amount of space needed to fully display
the bubble bar and flyout views.
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 382513856
Test: manual
- remove all bubbles
- launch app
- send a bubble with a 2-line message
- observe flyout is fully visible
Change-Id: I7953cb7f619f2c00b04bb4cb08c57a8195ff79fe
When turning off DND all the previous bubbles get reposted and
the bubble bar background scale is set for stashed state incorrectly.
This change sets the background scale correctly.
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 377597242
Test: manual
- send some bubbles in the bubble bar
- go to settings -> do not disturb -> turn on
- observe bubbles are hidden
- turn do not disturb off
- observe bubbles animate in correctly
Change-Id: I50c07248fb95cf3ae92c86090838c40901918220
- Per android design folks, "outline" is the right token to use
- They've also verified with material design folks that its the
recommended value.
Bug: 378424549
Test: WIM contrast checker
Flag: EXEMPT BUGFIX
Change-Id: I3b45860da9405469600771d6ff5d1adea1e4ea4c