summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/statusbar/NotificationShadeWindowController.java
Commit message (Collapse)AuthorAgeFilesLines
* Publish dream state to OverviewProxyService.Bryce Lee2023-01-251-0/+3
| | | | | | | | | | | | | This change pipes the current dream state to OverviewProxyService, similar to how doze information is shared. A condition has been added to monitor the dream state, and a callback relays this information to the StatusBarStateController. A new CoreStartable maintains the monitor for this interaction. Test: atest StatusBarStateControllerImplTest#testSetDreamState_invokesCallback Bug: 265755700 Change-Id: Ic927a7e55864453da026c14cd1c87e6a7cf22489 Merged-In: Ic927a7e55864453da026c14cd1c87e6a7cf22489
* Replaced setPanelExpanded with listener in NPVC/Central SurfacesShawn Lee2022-11-091-3/+0
| | | | | | | | | | Removed direct calls from NotificationPanelViewController and CentralSurfaces to update several classes to reduce reversed dependencies, and moved the related logic to use an existing listener instead. Test: manual Bug: 237811427 Change-Id: I1691066a51292aa95bc906e4b433faaec4a0b993
* Replaced setQsExpanded calls in NPVC with listenerShawn Lee2022-10-201-3/+0
| | | | | | | | | | Removed direct call from NotificationPanelViewController to update 6 classes to reduce reversed dependencies, moved the related logic to use an existing listener instead. Test: manual Bug: 251173295, Bug: 249277686 Change-Id: I8ecac6e01f23ea438b806e74ca1962eddadba473
* Window LayoutParams optimizationsLucas Dupin2022-05-031-7/+0
| | | | | | | Bug: 225004500 Test: manual Test: atest NotificationShadeWindowControllerImplTest Change-Id: Ia60a5f7ec88d6ff961db0da04891afd9e3e139d6
* Group window relayout requestsLucas Dupin2022-01-251-0/+9
| | | | | | | | | | | | | | | | Various places in sysui might call into NotificationShadeWindowController. Some of these calls can lead to relayoutWindow(), which is quite expensive. We should group these calls, and execute them in batch. Test: manual Test: perfetto trace Test: atest NotificationPanelViewControllerTest Test: atest NotificationShadeWindowControllerImplTest Fixes: 190382751 Bug: 210432290 Change-Id: Ib08f7ba66048eb023ee2d5e9c09461381c390f0d
* Exclude CommunalSurfaceView tap region from keyguard.Bryce Lee2021-08-301-0/+4
| | | | | | | | | | | | | | | | | This changelist excludes the fullscreen tap region (minus header and footer margin) when communal is visible. This allows touches to pass through the notification shade window to the CommunalSurfaceView underneath. Note that this currently has no effect on the CommunalSurfaceView as it is on top of the z-order. However, subsequent changes will move the CommunalSurfaceView into the correct z-order. Test: CommunalSurfaceViewControllerTest#testTapExclusion Bug: 197026983 Change-Id: Ib80bdbb788e20756c18646833c23f844273af82c
* Fixed an issue where the statusbar was made opaque even though it wasntSelim Cinek2021-08-161-3/+3
| | | | | | | | | | | | | | | Because on Pixel 4 and other devices, the light reveal scrim doesn't have full alpha, the notification panel was marked opaque which removed the wallpaper. This could lead to the wallpaper not being visible in a couple of situations where it should have been, leaving AOD exposed. Because of a separate bug (b/196306312), whenever the wallpaper is hidden, we'd see a color layer, which would lead to the screen becoming flickery and awake on AOD. Fixes: 194760238 Test: atest SystemUITests Merged-In: I5a7e80e2ced8f15f1b215549d0c051f1d61d2953 Change-Id: I5a7e80e2ced8f15f1b215549d0c051f1d61d2953
* Fix wallpaper showing on AODLucas Dupin2021-07-011-0/+6
| | | | | | | | | | - light scrim flag needed to be enabled - window layout params should respect light scrim amount Fixes: 191622213 Test: manual Test: atest NotificationShadeWindowControllerImplTest Change-Id: I53144f6159422399fb2deac0f8255f9432009c9d
* Add unregisterCallback method to NotificationShadeWindowControllerSteve Elliott2021-05-251-0/+6
| | | | | | | Test: manual, atest Bug: 189276056 Change-Id: Ia09c4c2baa0b59504c74edf4b865ee2c06440e85
* Merge changes from topics "face_auth_ripple", "udfps_falsing" into sc-devTreeHugger Robot2021-04-071-1/+1
|\ | | | | | | | | | | * changes: Add falsing checks to udfps affordance Support face auth ripple animation
| * Support face auth ripple animationBeverly2021-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Initialize AuthRipple as part of the notification shade in the StatusBarModule instead of adding the view later. First take face auth ripple. Test: atest AuthRippleControllerTest Bug: 182316496 Bug: 175717712 Change-Id: Iafeb5b1ff95a8e27e849c775b42fb6e9940b842d
* | Extract ActivityLaunchAnimator into a reusable class.Jordan Demeulenaere2021-04-061-1/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL removes all logic specific to notifications in ActivityLaunchAnimator, so that it can be reused for other launch animations. I would suggest to look at ag/14057092 in parallel to make more sense of the abstractions added in this CL. For the sake of not making this CL even bigger than it already is, a few things still need to be done in follow-up CLs: - Show the status bar icons at the right time, instead of at the end of the animation, when using the StatusBarLaunchAnimatorController. - Move the animation/ package outside of the SystemUIPluginLib library and instead have it in its own reusable library. - Replace the animation durations and interpolator to the latest designs. - Improve split screen by retrieving the final window bounds and prevent the clipping of the window during the animation. - Handle animations in the lock screen. For review, I would recommend to review in order: 1. ActivityLaunchAnimator.kt 2. StatusBarLaunchAnimatorController.kt 3. NotificationLaunchAnimatorController.kt 4. GhostedViewLaunchAnimatorController.kt 5. Everything else. Bug: 184121838 Bug: 181654098 Test: Tap a notification when the shade is open and unlocked. Change-Id: If4c3c64fcd153bb8e89111f56332013ca6dff156
* Face auth low-light mitigationLucas Dupin2020-08-191-0/+7
| | | | | | | | | Parameterized brightness and scrim changes when running RGB face auth. Test: manual Test: atest FaceAuthScreenBrightnessControllerTest Change-Id: I73d96dde6a20fad1e808fd1d1997c8ce8d2efb46
* Separate UI and StatusBar from BiometricUnlockControllerHeemin Seog2020-08-131-0/+184
Bug: 162744974 Bug: 155711562 Test: manual, atest SystemUITests, atest :carsysui-presubmit Change-Id: I1a8b6a31e6d965f849d678af0e4c46f236641aac