Loading packages/SystemUI/res-keyguard/layout/keyguard_password_motion_layout.xml +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" androidprv:layout_maxWidth="@dimen/keyguard_security_width" android:layout_gravity="center_horizontal|bottom" android:gravity="bottom"> Loading @@ -36,6 +35,7 @@ android:id="@+id/password_container" android:layout_width="match_parent" android:layout_height="match_parent" android:maxWidth="@dimen/keyguard_security_width" android:layout_gravity="center_horizontal" android:clipChildren="false" android:clipToPadding="false" Loading packages/SystemUI/res-keyguard/layout/keyguard_pin_motion_layout.xml +1 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ android:id="@+id/pin_container" android:layout_width="match_parent" android:layout_height="match_parent" android:maxWidth="@dimen/keyguard_security_width" android:clipChildren="false" android:clipToPadding="false" android:layoutDirection="ltr" Loading packages/SystemUI/res-keyguard/xml/keyguard_pin_scene.xml +3 −5 Original line number Diff line number Diff line Loading @@ -26,12 +26,10 @@ motion:constraintSetStart="@id/single_constraints" motion:constraintSetEnd="@+id/split_constraints" motion:duration="0" motion:autoTransition="none"> </Transition> motion:autoTransition="none"/> <ConstraintSet android:id="@+id/single_constraints"> <!-- No changes to default layout --> </ConstraintSet> <ConstraintSet android:id="@+id/single_constraints"/> <ConstraintSet android:id="@+id/split_constraints"> Loading packages/SystemUI/src/com/android/keyguard/KeyguardInputViewController.java +0 −4 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package com.android.keyguard; import static com.android.systemui.flags.Flags.LOCKSCREEN_ENABLE_LANDSCAPE; import android.annotation.CallSuper; import android.annotation.NonNull; import android.annotation.Nullable; Loading Loading @@ -259,8 +257,6 @@ public abstract class KeyguardInputViewController<T extends KeyguardInputView> mFalsingCollector, mKeyguardViewController, mDevicePostureController, mFeatureFlags); } else if (keyguardInputView instanceof KeyguardPINView) { ((KeyguardPINView) keyguardInputView).setIsLockScreenLandscapeEnabled( mFeatureFlags.isEnabled(LOCKSCREEN_ENABLE_LANDSCAPE)); return new KeyguardPinViewController((KeyguardPINView) keyguardInputView, mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, keyguardSecurityCallback, mMessageAreaControllerFactory, mLatencyTracker, Loading packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java +12 −11 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.keyguard; import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_APPEAR; import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR; import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED; Loading Loading @@ -105,13 +106,14 @@ public class KeyguardPINView extends KeyguardPinBasedInputView { } void onDevicePostureChanged(@DevicePostureInt int posture) { if (mLastDevicePosture != posture) { if (mLastDevicePosture == posture) return; mLastDevicePosture = posture; if (mIsLockScreenLandscapeEnabled) { boolean useSplitBouncerAfterFold = mLastDevicePosture == DEVICE_POSTURE_CLOSED && getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE; && getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE && getResources().getBoolean(R.bool.update_bouncer_constraints); if (mAlreadyUsingSplitBouncer != useSplitBouncerAfterFold) { updateConstraints(useSplitBouncerAfterFold); Loading @@ -120,7 +122,6 @@ public class KeyguardPINView extends KeyguardPinBasedInputView { updateMargins(); } } @Override protected void resetState() { Loading Loading
packages/SystemUI/res-keyguard/layout/keyguard_password_motion_layout.xml +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" androidprv:layout_maxWidth="@dimen/keyguard_security_width" android:layout_gravity="center_horizontal|bottom" android:gravity="bottom"> Loading @@ -36,6 +35,7 @@ android:id="@+id/password_container" android:layout_width="match_parent" android:layout_height="match_parent" android:maxWidth="@dimen/keyguard_security_width" android:layout_gravity="center_horizontal" android:clipChildren="false" android:clipToPadding="false" Loading
packages/SystemUI/res-keyguard/layout/keyguard_pin_motion_layout.xml +1 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ android:id="@+id/pin_container" android:layout_width="match_parent" android:layout_height="match_parent" android:maxWidth="@dimen/keyguard_security_width" android:clipChildren="false" android:clipToPadding="false" android:layoutDirection="ltr" Loading
packages/SystemUI/res-keyguard/xml/keyguard_pin_scene.xml +3 −5 Original line number Diff line number Diff line Loading @@ -26,12 +26,10 @@ motion:constraintSetStart="@id/single_constraints" motion:constraintSetEnd="@+id/split_constraints" motion:duration="0" motion:autoTransition="none"> </Transition> motion:autoTransition="none"/> <ConstraintSet android:id="@+id/single_constraints"> <!-- No changes to default layout --> </ConstraintSet> <ConstraintSet android:id="@+id/single_constraints"/> <ConstraintSet android:id="@+id/split_constraints"> Loading
packages/SystemUI/src/com/android/keyguard/KeyguardInputViewController.java +0 −4 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package com.android.keyguard; import static com.android.systemui.flags.Flags.LOCKSCREEN_ENABLE_LANDSCAPE; import android.annotation.CallSuper; import android.annotation.NonNull; import android.annotation.Nullable; Loading Loading @@ -259,8 +257,6 @@ public abstract class KeyguardInputViewController<T extends KeyguardInputView> mFalsingCollector, mKeyguardViewController, mDevicePostureController, mFeatureFlags); } else if (keyguardInputView instanceof KeyguardPINView) { ((KeyguardPINView) keyguardInputView).setIsLockScreenLandscapeEnabled( mFeatureFlags.isEnabled(LOCKSCREEN_ENABLE_LANDSCAPE)); return new KeyguardPinViewController((KeyguardPINView) keyguardInputView, mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, keyguardSecurityCallback, mMessageAreaControllerFactory, mLatencyTracker, Loading
packages/SystemUI/src/com/android/keyguard/KeyguardPINView.java +12 −11 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.keyguard; import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_APPEAR; import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR; import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED; Loading Loading @@ -105,13 +106,14 @@ public class KeyguardPINView extends KeyguardPinBasedInputView { } void onDevicePostureChanged(@DevicePostureInt int posture) { if (mLastDevicePosture != posture) { if (mLastDevicePosture == posture) return; mLastDevicePosture = posture; if (mIsLockScreenLandscapeEnabled) { boolean useSplitBouncerAfterFold = mLastDevicePosture == DEVICE_POSTURE_CLOSED && getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE; && getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE && getResources().getBoolean(R.bool.update_bouncer_constraints); if (mAlreadyUsingSplitBouncer != useSplitBouncerAfterFold) { updateConstraints(useSplitBouncerAfterFold); Loading @@ -120,7 +122,6 @@ public class KeyguardPINView extends KeyguardPinBasedInputView { updateMargins(); } } @Override protected void resetState() { Loading