We need to start the fade animation (and prevent the initial
ACTION_CLOSE_SYSTEM_DIALOGS broadcast from dismissing the
screenshot UI).
Flag: SCREENSHOT_WORK_PROFILE_POLICY
Bug: 254518387
Test: manual (visual change; observed that UI fades out as expected
when SCREENSHOT_WORK_PROFILE_POLICY flag is on)
Change-Id: I69e7cd94bf621a28ec2ceb3586db0b80a65278e3
Fixes: 254512694
Test: NA, flag deletion
Test: manually verified that build and face scanning anim work
Change-Id: Idbc1a941e189bf65a4c2e0a16a9645f3b51c04c2
Being conservative to avoid any other breakages due to null value in non-primitive Java types.
Adds @NonNull to some Java params.
Fixes: 254860286
Test: atest KeyguardUpdateMonitorTest
Change-Id: Ie0cfc5c45c8b8384ba01409af2d2bf974d1af730
- Added `NotificationTargetsHelper` helps to find viewBefore/viewAfter for notifications inside of a group
- Added `Roundable` interface could be applied to Views and ViewWrappers
Interface that allows to request/retrieve top and bottom roundness (a value between 0f and 1f).
To request a roundness value, an `SourceType` must be specified.
In case more origins require different roundness, for the same property, the maximum value will always be chosen.
It also returns the current radius for all corners (`updatedRadii`).
Test: atest NotificationTargetsHelperTest
Test: Manual tests (phone and large screens)
Bug: 184682172
Change-Id: I39b96f79a00fa358b80e62dbb090f01f60b8d718
This adds monitor for bitmap memory usage of Notification views
- public and private versions for now. It counts both existing templates and custom views.
The code is still flag guarded.
Bug: 235451049
Test: atest com.android.systemui.statusbar.notification
Change-Id: Ibdc8caaa002622ed51303e24b7d57e225465357c
* changes:
Move private methods together below overriden public methods.
Refactor deeply nested rim animator into three cases for scanning, success, not successful
Bug: 254814998
Test: verified manually, face scanning rim pulses 6 times, face scanning rim success animation identical, face scanning failure/not success animation identical to build without change.
Change-Id: Iefd7e8e82c2eebb5f50ace7ab66931a43258e8ac
Other changes:
- Also change NotificationPanelViewController to use the same API.
Bug: 20164843
Fixes: 249475000
Test: atest NotificationPanelViewControllerTest
Test: atest KeyguardSecurityContainerControllerTest
Test: atest KeyguardUpdateMonitorTest
Change-Id: I90cc46f8bba03b9d34f96cf6b902180ac5e8f8be
- Run ktfmt for Kotlin files that were moved, to follow current style guide
- Add missing copyright headers
Test: build
Bug: 241485754
Change-Id: Icc2a9246dfaea8352824a5a181b4c06d3bcb4a46
This CL introduces BackProgressAnimator which runs in app's main thread.
It receives target progress values from SysUI and drives the actual
progress value passed to the app with a high stiffness, no bounce
spring.
Bug: 238475284
Test: atest WindowOnBackDispatcherTest
Test: atest BackAnimationControllerTest
Test: atest TouchTrackerTest
Change-Id: Ib0d3ebe43929c405b10681000fb4e7ef8bccce34
Bug: 254814998
Test: NA
Test: verified manually, both camera protection and face scanning overlay drawn correctly on keyguard.
Change-Id: I7ba717c567afbf3a54e87aeefe76db7c7b570684
Bug: 254814998
Test: NA
Test: verified manually, camera protection ring and face scanning overlay drawn correctly on keyguard.
Change-Id: If0bef65653394169a05b5633f8706a7707900c52