Commit Graph

778049 Commits

Author SHA1 Message Date
Beverly Tai
b64614fc29 Merge "Add historical logs to AnimatableClockView" into tm-qpr-dev 2022-10-24 20:05:44 +00:00
Austin Delgado
f079495a35 Merge "Move UdfpsDisplayMode to AOSP" into tm-qpr-dev 2022-10-24 19:37:07 +00:00
Omar Miatello
46b33d3f81 Merge "Add support for rounded notification in groups" into tm-qpr-dev 2022-10-24 18:51:07 +00:00
Lucas Dupin
6117424fe3 Merge "Keep clock below other UI elements" into tm-qpr-dev 2022-10-24 18:21:50 +00:00
Chandru S
b24b559ceb Merge "Delete FACE_SCANNING_ANIM flag from sys-ui and config" into tm-qpr-dev 2022-10-24 18:07:46 +00:00
Fabian Kozynski
513d000b0b Merge "Add exclusion rect to the BrightnessDialog slider" into tm-qpr-dev 2022-10-24 18:02:34 +00:00
Michael Mikhail
fd544fa64a Merge "Update chipbar text view in new events" into tm-qpr-dev 2022-10-24 18:02:04 +00:00
Austin Delgado
61db48b37e Move UdfpsDisplayMode to AOSP
Bug: 246580842
Test: N/A
Change-Id: Ibf209f10e608814d1035b15299380b5eaa7632ee
Merged-In: Ibf209f10e608814d1035b15299380b5eaa7632ee
2022-10-24 10:49:23 -07:00
Rahul Banerjee
23161303be Merge "Migrate RemoteInputView to Predictive Back." into tm-qpr-dev 2022-10-24 17:15:39 +00:00
Ats Jenk
da0d26e567 Merge "Limit freeform to front for freeform task launches" into tm-qpr-dev 2022-10-24 16:58:08 +00:00
Aurélien Pomini
eca2762da7 Move canvas WallpaperEngine to droidFood
Bug: 243402530
Test: no new logic is added
Change-Id: I945b56a0a83df3c180aecf26a915e11fdd30c774
2022-10-24 16:26:17 +00:00
Mady Mellor
731095e5cf Merge "Track visible tasks in DesktopModeController and add a listener" into tm-qpr-dev 2022-10-24 16:04:59 +00:00
Miranda Kephart
584274c3a7 Merge "Clean up ClipboardOverlayController after tests" into tm-qpr-dev 2022-10-24 15:58:03 +00:00
Miranda Kephart
7cacb22ac4 Merge "Fix shared transitions from work profile" into tm-qpr-dev 2022-10-24 15:57:42 +00:00
Miranda Kephart
1aef4a20e6 Fix shared transitions from work profile
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
2022-10-24 15:56:49 +00:00
Caitlin Shkuratov
fd6c30921f Merge "[SB Refactor] Create an airplane mode repo/interactor/view model and use it to determine when to show the wifi<->airplane spacer." into tm-qpr-dev 2022-10-24 14:10:24 +00:00
TreeHugger Robot
3344823769 Merge "Change KeyguardUpdateMonitorLogger to accept nullable params" into tm-qpr-dev 2022-10-24 13:54:51 +00:00
Beverly
9b7626dec6 Add historical logs to AnimatableClockView
adb shell dumpsys activity service com.android.systemui/.SystemUIService
dependency DumpController KeyguardClockLog

Test: see logs in sysui dumpsys
Bug: 222260948
Change-Id: Ie668c7d85ad4278500253d20567eccaf64b78d92
2022-10-24 13:46:44 +00:00
Beverly Tai
2995484c7f Merge "Migrate DozeSensor logcat logging to LogBuffer" into tm-qpr-dev 2022-10-24 12:51:22 +00:00
Chandru
23fd1ada4f Delete FACE_SCANNING_ANIM flag from sys-ui and config
Fixes: 254512694
Test: NA, flag deletion
Test: manually verified that build and face scanning anim work
Change-Id: Idbc1a941e189bf65a4c2e0a16a9645f3b51c04c2
2022-10-24 11:39:28 +00:00
Chandru
a604b5ab61 Change KeyguardUpdateMonitorLogger to accept nullable params
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
2022-10-24 11:20:07 +00:00
omarmt
ecf8e840eb Add support for rounded notification in groups
- 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
2022-10-24 10:07:20 +00:00
Jernej Virag
a52c75387d Add view walking to notification memory monitor
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
2022-10-24 09:35:40 +02:00
Chandru S
b0d018239d Merge changes If4e2ba62,Iefd7e8e8 into tm-qpr-dev
* changes:
  Move private methods together below overriden public methods.
  Refactor deeply nested rim animator into three cases for scanning, success, not successful
2022-10-23 23:11:04 +00:00
Mateusz Cicheński
00c35a0533 Merge "Make fling-to-dismiss disabled by default for PiP." into tm-qpr-dev 2022-10-23 17:49:59 +00:00
Chandru
2b784144a4 Move private methods together below overriden public methods.
Bug: 254814998
Test: NA
Change-Id: If4e2ba62d16a74d4e4aba86dd2de67535685111c
2022-10-23 13:46:41 +00:00
Chandru
5c85bb936a 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
2022-10-23 13:46:34 +00:00
Chandru
08241b1e6a BouncerKeyguardMessage doesn't always get cleared when being set to null.
Hypothesis: textAboutToShow == msg check can potentially skip such invocations.

Bug: 249475000
Test: atest BouncerKeyguardMessageAreaTest

Change-Id: I5d198c0e693fd96c9ad5d5528452206bf871eccc
2022-10-23 13:32:15 +00:00
Chandru
1b45430325 Hide message on bouncer only if face auth actually runs
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
2022-10-23 13:31:31 +00:00
Chandru S
8e1af25720 Merge changes I7be92814,If0bef656 into tm-qpr-dev
* changes:
  Use single animator with reverse repeats for the face scanning pulse
  Extract duplicated code into methods in FaceScanningOverlay
2022-10-23 13:28:17 +00:00
Chandru S
ec30c5a903 Merge "Remove duplicated path scaling of camera protection and scanning rim." into tm-qpr-dev 2022-10-23 13:17:34 +00:00
Dave Mankoff
8c0ea7ee86 Merge "Convert Flags.java to Flags.kt" into tm-qpr-dev 2022-10-23 00:46:28 +00:00
Dave Mankoff
968ac900c3 Convert Flags.java to Flags.kt
Bug: 249121873
Test: manual
Change-Id: I187d4eb8fbf6834eaafeaf465ff07d2f94122f2b
Merged-In: I187d4eb8fbf6834eaafeaf465ff07d2f94122f2b
2022-10-22 18:08:32 +00:00
Beth Thibodeau
0d8858f204 Format media control files
- Run ktfmt for Kotlin files that were moved, to follow current style guide
- Add missing copyright headers

Test: build
Bug: 241485754
Change-Id: Icc2a9246dfaea8352824a5a181b4c06d3bcb4a46
2022-10-22 13:33:22 +00:00
Beth Thibodeau
6e74a44107 Merge "Organize media control classes" into tm-qpr-dev 2022-10-22 13:33:07 +00:00
TreeHugger Robot
ea523a0c22 Merge "Fix labels loading regression" into tm-qpr-dev 2022-10-22 12:11:12 +00:00
TreeHugger Robot
f932a2974e Merge "Smooth transition when switching dreaming." into tm-qpr-dev 2022-10-22 06:24:15 +00:00
Michael Mikhail
922e19de8d Merge "[Media TTT] Adding Haptics" into tm-qpr-dev 2022-10-21 23:58:51 +00:00
Shan Huang
92d7e3329f Merge "DO NOT MERGE Spring controlled back progress API" into tm-qpr-dev 2022-10-21 23:54:12 +00:00
Aaron Liu
c55617e3c3 Merge "[User Switcher] Change copy for phone dialog." into tm-qpr-dev 2022-10-21 23:47:12 +00:00
Aaron Liu
d0249dc5db Merge "[User Switcher] Change layout of menu." into tm-qpr-dev 2022-10-21 23:47:00 +00:00
Aaron Liu
8cd565414d Merge "[Bouncer] Fix MODERN BOUNCER issues." into tm-qpr-dev 2022-10-21 23:46:47 +00:00
TreeHugger Robot
16d3fd1fee Merge "Move more initialization logic into NotificationsControllerImpl." into tm-qpr-dev 2022-10-21 23:30:34 +00:00
Darrell Shi
9c5f155e14 Merge "Revert "Add dream overlay open animation."" into tm-qpr-dev 2022-10-21 22:58:30 +00:00
Darrell Shi
d89d7159de Revert "Add dream overlay open animation."
This reverts commit 9a868a7d7f.

Reason for revert: b/254918073

Change-Id: I9cc743a3ce12f95b3106486cd0e7789a1594074c
2022-10-21 22:45:54 +00:00
Shan Huang
188dee2b3b DO NOT MERGE Spring controlled back progress API
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
2022-10-21 22:12:53 +00:00
Chandru
98818a8e8b Use single animator with reverse repeats for the face scanning pulse
Bug: 254814998
Test: verified manually, face scanning animation pulses 6 times on keyguard.
Change-Id: I7be92814ef4840f141365c9e1081d0e08b5b4762
2022-10-21 22:06:10 +00:00
Chandru
1dd959d68f Remove duplicated path scaling of camera protection and scanning rim.
Bug: 254814998
Test: NA
Test: verified manually, both camera protection and face scanning overlay drawn correctly on keyguard.
Change-Id: I7ba717c567afbf3a54e87aeefe76db7c7b570684
2022-10-21 22:06:10 +00:00
Chandru
6a9ede7507 Extract duplicated code into methods in FaceScanningOverlay
Bug: 254814998
Test: NA
Test: verified manually, camera protection ring and face scanning overlay drawn correctly on keyguard.
Change-Id: If0bef65653394169a05b5633f8706a7707900c52
2022-10-21 22:06:10 +00:00
Chandru S
c40394f19e Merge "Remove duplicate method in KeyguardUpdateMonitor" into tm-qpr-dev 2022-10-21 21:51:51 +00:00