Age | Commit message (Collapse) | Author |
|
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4620
Change-Id: I2735028472aa46bad412c69948936fb30c5fa36c
|
|
Bug: 220074017
Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
|
|
Bug: 184121838
Test: Manual
Change-Id: Ib979fed2f59d9dbf5f0696edb5fcb4956600e6e0
|
|
5f65ded5af704ad6f41716a635649e79b557bab8
Change-Id: I2e83420b119858930489f2a74756c64f953a4a8c
|
|
Previously, the view would be set to GONE at the incorrect time.
KeyguardQsUserSwitchController has no need for knowing the doze amount
at all since it does not need to update text color, so remove the
listener entirely.
Also, add javadoc and update variable names in KeyguardSliceView's
setDarkAmount to better reflect their meaning.
Test: Build and flash blueline-userdebug with QS user switcher enabled
(config_keyguard_user_switch_opens_qs_details), switch between
device owner and guest repeatedly. Turn screen off and on.
Bug: 181776379
Change-Id: I772612d49f2e3bcbd6aba334afee17fcb1c84c57
|
|
Remove manual padding in favor of lineHeight. Generally decrease spacing
and font sizes to reduce amount of vertical space being consumed.
Bug: 172360102
Test: manual
Change-Id: I53d2205b2a31c862e1bcb5cdbf7f6c4bd266bec9
|
|
Revert submission 13536242-b179775696-depenency-get-keyguard
Reason for revert: Candidate reversion for broken tests: b/180440298
Reverted Changes:
I6d0271692:Add ViewController to CarrierText.
I4d9a4a21f:Add Controller for Emergency Button.
I4c76d99f9:Remove Dependency.get from KeyguardSliceTextView.
I730593fcf:Add injection to ClockProvider.
Ifbb93e624:Remove Dependency.get from KeyguardStatusView.
I237215456:Remove final calls to Dependency.get from keyguard...
Change-Id: Ic2fb8e0b25a280ac7d1f76d537a9ecfdc0f9fbab
|
|
Moved the related code into the containing class's controller.
Bug: 179775696
Test: atest SystemUITests
Change-Id: I4c76d99f988233dd4fd51b7a6ff7606c77e73087
|
|
Some icons use slight insets by default, which causes alignment issues
with left/right aligned keyguard slice content. Access the wrapped
drawable to remove the inset.
Fixes: 175953174
Test: manual (go/hsv to check alignment)
Change-Id: Iaf5115d771e7aa6bf4f8f6a7434d0a2a0d05da21
|
|
Slightly update large clock size. Fix smartspace text alignment for
RTL languages and use relative alignment for images within the text.
Bug: 172360102
Test: manual
Change-Id: I8fdf1ac8789a8ca75ed97f369bdbd5de40a616d7
|
|
- Only use the burn-in offsets on AOD. This means the clock will be in a
different position on LS compared to AOD.
- Align the top of the KeyguardSliceView (smart space) with the top of
the text of the clock (as opposed dto the top of the clock's view)
- Decrease bottom padding on KeyguardSliceTextView so that the DND icon
doesn't get cutoff when there's a large smart space info
Test: atest SystemUITests, manual
Bug: 170228350
Change-Id: I332300616e4218b6fcd24f837127a7eee487d4e7
|
|
Also updates "new lockscreen" smart space layout.
Currently TimeBasedColorsClockController will change the TextClock's
colors based on hardcoded times.
To toggle on the new lockscreen:
adb shell settings put global show_new_lockscreen 1
Test: atest KeyguardSliceViewTest
Test: manual
Bug: 170228350
Change-Id: Ib72b45aad34fe4483538a9094154d6c473910612
|
|
This removes the reference that the view has to its controller,
moving click handling up to the controller.
Fixes: 162525274
Test: atest SystemUITEsts
Change-Id: Ia99ff4e643fa84fa138720cc5c01c51597f1169d
|
|
This removes view injection from KeyguardSliceView.
It also creates a KeyguardStatusView Dagger Subcomponent should be
initilialized whenever a KeyguardStatusView is inflated. From that
subcomponent, KeyguardClockSwitchController and
KeyguardSliceViewController can both be created and initialized,
passing their related views into their constructor.
This fixes a bug introduced earlier where a
KeyguardClockSwitchController was not being created in one place
where it was needed.
Bug: 162525274
Test: atest SystemUITests
Change-Id: Ie571cb0ca2b793c363e3c8ab397828f0ee939763
|
|
Fixes: 148159743
Test: Verified manually
Change-Id: I1dbcdb795c6872053e3f71503c3e52eba019d7bd
|
|
We're ellipsing text views unnecessarily, because of smaller fields
that only contain icons.
Test: visual
Fixes: 148448106
Change-Id: Ifba8096b44ca8a0db466bececd41caa0d71e67dd
|
|
Tunable and slice listener was not being unregistered correctly.
Fixes: 150595377
Test: atest KeyguardSliceViewTest
Change-Id: I28afb56b732de2c3bffded031a6fc7731b72d36d
|
|
Otherwise Talkback would announce it as a button,
even though it doesn't have any action.
Fixes: 148990123
Test: visual
Test: talkback
Test: KeyguardSliceViewTest
Change-Id: Ie95d1541bc01fcc89397269effbaf07c21f65b7b
|
|
For now just inflates a second copy with no fancy handoff
(technically or visually). Eventually this logic will be
part of the shared SmartspaceView and accompanying API.
Test: Manually with the necessary Launcher flag enabled/disabled.
Bug: 141701658
Change-Id: I94bb7f9ba1f9e72e48e9681437a76b5d59bb0795
|
|
BREAK_STRATEGY_BALANCED will try to keep the lines with similar
lengths. Which will look much better
Test: play music, look at AOD
Change-Id: Ie87cb5fd47f5258fafc4b1b50d51be52ad28ccfd
|
|
This change stops the animation because there isn't a
transition from the no-header state to the music header
state when turning the screen off (to AOD). Since there
isn't a transition, there isn't an animation.
This assumes that there isn't a transition from unlocked to
lock screen. If there is, then there would be an animation
of the music going away while arriving at the lock screen.
Fixes: 137383007
Test: Checked repro steps in bug, clock doesn't animate.
Test: Also checked repro steps when audio is paused, clock doesn't
animate.
Test: atest KeyguardSliceProviderTest.java
Change-Id: If39777340b72bc623d6690bc4f784c7f5c26ea8d
|
|
Bug: 130223602
Test: visual
Change-Id: I09f6dff826d6ef297a4babdc9aa70b7f138dbeed
|
|
Bug: 129877485
Test: manual with caldendar event
Change-Id: I413f9c92541f7b7d8ee8a766a43f3086b88aa7f8
|
|
Fixes: 127345346
Test: manual
Test: adb shell dumpsys activity service com.android.systemui
Change-Id: Icfd7b659e8ee1b088fbca5bd9c4a7d99c1e2b6d9
|
|
Fixes: 123340905
Fixes: 123958307
Test: atest KeyguardSliceViewTest
Test: manual, playing media
This reverts commit ed00262486e5c4b6ae9ef902633eca8958ddf80f.
Change-Id: I1cc60346f9176b913ee0404b2b31981f736664ce
|
|
Test: wake up with power
Test: look at shelf on lock screen
Test: lock device w/ notifications from home screen
Test: receive notification on AOD
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest NotificationRoundnessManagerTest
Test: atest ScrimControllerTest
Test: atest NotificationContentViewTest
Bug: 111405682
Change-Id: I9b4f2febd56a62256124567bffebc9f5f8255847
|
|
Change-Id: Ie429cbb3e03674522bdc465cc630f44f12073983
Fixes: 121457418
Test: manual
|
|
Change-Id: I96ed7f3a0ce8bd9fb8ce8c05280a2950d0efac5f
Test: Manual (using HotDogOverlay)
Bug: 121124205
|
|
Test: make
Change-Id: I28630df52fc8f5dc939c2e232599d33ed70ec2c9
|
|
Support show keyguard presentation on all public displays when Keyguard
is show.
Modify API ActivityTaskManager#setLockScreenShown, extends to multi-displayIds.
bug: 111955725
Test: Manual test with chromecast.
Test: atest SystemUITests
Test: atest ActivityManagerMultiDisplayTests
Test: atest ActivityManagerDisplayKeyguardTests
Change-Id: I9967e1b1adcb796593332b46853a10101e206013
|
|
Removes obsolete KeyguardSliceView title area and adds doze callbacks
necessary to support new lock screen design.
Bug: 111405682
Test: manual
Test: atest KeyguardSliceViewTest
Change-Id: I07e96dbde68d4e5e38e1371526bedf59fc925b86
|
|
* changes:
Move PrintRecommendationService from using @hide Preconditions class in AndroidX.
Fix KeyguardSliceView after slices api changes.
|
|
Test: make -j SystemUIGoogle
atest KeyguardSliceViewTest
atest KeyguardSliceProviderTest
Change-Id: I04fe4bd2a285237d03b4415f7cdc8fbff7970011
|
|
The ContentProvider will make unecessary binder calls when
trying to bind the Slice. We can call directly into the
provider and grab the slice in these cases.
Bug: 112563822
Test: systrace
Change-Id: Ia761afccd7d28cf5e41b7c1420715fd9446ac8e8
|
|
am: 0d6753d1ed
Change-Id: I855e9dcc604514322b2f817f03759ca2b6593fe8
|
|
We could end up presenting the wrong state if a non-animated
layout arrives while we're still animating.
Bug: 109678321
Bug: 86710763
Test: manual, change active users repeatedly
Change-Id: I63a73e966c5e7bcfec89e6e4d5f7fc9ce35dfa80
|
|
pi-dev am: 1031bf5f76
am: 6f4f0da87e
Change-Id: I0a9c0243b87bad281776b5560c8c57945934f855
|
|
|
|
am: 382b2d612c
Change-Id: I0a49a82ac3757f4840ef10b448e9df8cb8548a9c
|
|
|
|
We'll be enforcing requiring a primary action on slices.
There isn't a clear action that makes sense for these
slices... which is unfortunate but add a dummy one for now.
Test: atest KeyguardSliceProviderTest
Bug: 77855834
Change-Id: Ic37f9a8eba463654b3b2b93c1df9cb97d6d688a2
|
|
3116918bf0
am: 5bf2a5de6f
Change-Id: I5247d66f300187728af4b0d6dbd837a021733794
|
|
|
|
Test: make
Bug: 78898947
Change-Id: Ibb2bdc62798d7e0ee93dc0609a8871041abba108
|
|
It's not correct to always animate if there is a layout transition.
The transition might not be triggered when the view is invisible
for example. It's necessary to check if we have pending/running
animations.
Change-Id: I75dbc9f8a152a162a3c77c9b316f653e665b8842
Fixes: 79773596
Test: manual
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
|
|
am: c320298e81
Change-Id: I4822d26b1cf5667ae67131422d8f41da6b2ad28b
|
|
|
|
Test: manual
Change-Id: Ic478e8a6fcd2088d198b2cee2e70ab8376b4709d
Fixes: 79686343
|
|
am: fe5aa5bb54
Change-Id: I94d426f443d2b5adde0b96b9c55a71025f5f4e39
|
|
Before we were setting the text again using setText, and this
would trigger a second measure/layout pass, which is unnecessary.
Now we're using the same mesure pass to calculate the view's
best line break.
Fixes: 79714443
Test: manual. set various meeting names animated or static
Change-Id: Ia911fae8f820b703ca385a10211073bae37f3258
|