Home
last modified time | relevance | path

Searched refs:isRotationLocked (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DDeviceStateRotationLockSettingControllerTest.java123 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenNoSavedValueForDeviceState_assumeIgnored()
128 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenNoSavedValueForDeviceState_assumeIgnored()
138 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitched_loadCorrectSetting()
141 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitched_loadCorrectSetting()
152 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitched_settingIsIgnored_loadsDefaultFallbackSetting()
166 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()
177 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenUserChangesSetting_saveSettingForCurrentState()
193 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()
196 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()
236 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenSettingsChangedExternally_updateRotationPolicy()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceStateRotationLockSettingController.java106 .isRotationLocked(deviceState); in onRotationLockStateChanged()
117 private void saveNewRotationLockSetting(boolean isRotationLocked) { in saveNewRotationLockSetting() argument
119 mLogger.logSaveNewRotationLockSetting(isRotationLocked, deviceState); in saveNewRotationLockSetting()
120 mDeviceStateRotationLockSettingsManager.updateSetting(deviceState, isRotationLocked); in saveNewRotationLockSetting()
144 boolean isLocked = mRotationPolicyWrapper.isRotationLocked(); in readPersistedSetting()
H A DRotationLockControllerImpl.java88 public boolean isRotationLocked() { in isRotationLocked() method in RotationLockControllerImpl
89 return mRotationPolicy.isRotationLocked(); in isRotationLocked()
128 callback.onRotationLockStateChanged(mRotationPolicy.isRotationLocked(), in notifyChanged()
H A DDeviceStateRotationLockSettingControllerLogger.kt66 fun logSaveNewRotationLockSetting(isRotationLocked: Boolean, state: Int) {
71 bool1 = isRotationLocked
H A DRotationLockController.java25 boolean isRotationLocked(); in isRotationLocked() method
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wrapper/
H A DRotationPolicyWrapper.kt35 fun isRotationLocked(): Boolean regex
63 override fun isRotationLocked(): Boolean =
64 RotationPolicy.isRotationLocked(context)
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeRotationLockController.java44 public boolean isRotationLocked() { in isRotationLocked() method in FakeRotationLockController
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
H A DRotationButtonController.java286 final Boolean isLocked = isRotationLocked(); in setRotationLockedAtAngle()
299 public Boolean isRotationLocked() { in isRotationLocked() method in RotationButtonController
301 return RotationPolicy.isRotationLocked(mContext); in isRotationLocked()
481 Boolean rotationLocked = isRotationLocked(); in onRotationWatcherChanged()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DRotationLockTileTest.java270 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(false); in enableAutoRotation()
274 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(true); in disableAutoRotation()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java100 public static boolean isRotationLocked(Context context) { in isRotationLocked() method in RotationPolicy
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java147 final boolean rotationLocked = mController.isRotationLocked(); in handleUpdateState()
/aosp14/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
H A DDeviceStateRotationLockSettingsManager.java186 public boolean isRotationLocked(int deviceState) { in isRotationLocked() method in DeviceStateRotationLockSettingsManager
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBar.java797 if (display != null && rotationButtonController.isRotationLocked()) { in onViewAttached()