Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java124 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenNoSavedValueForDeviceState_assumeIgnored()
129 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenNoSavedValueForDeviceState_assumeIgnored()
139 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitched_loadCorrectSetting()
142 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitched_loadCorrectSetting()
153 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitched_settingIsIgnored_loadsDefaultFallbackSetting()
167 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()
178 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenUserChangesSetting_saveSettingForCurrentState()
194 assertThat(mFakeRotationPolicy.isRotationLocked()).isTrue(); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()
197 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitchedToIgnoredState_useFallbackSetting()
207 assertThat(mFakeRotationPolicy.isRotationLocked()).isFalse(); in whenDeviceStateSwitchedToIgnoredState_noFallback_newSettingsSaveForPreviousState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingController.java107 .isRotationLocked(deviceState); in onRotationLockStateChanged()
118 private void saveNewRotationLockSetting(boolean isRotationLocked) { in saveNewRotationLockSetting() argument
120 mLogger.logSaveNewRotationLockSetting(isRotationLocked, deviceState); in saveNewRotationLockSetting()
121 mDeviceStateRotationLockSettingsManager.updateSetting(deviceState, isRotationLocked); in saveNewRotationLockSetting()
145 boolean isLocked = mRotationPolicyWrapper.isRotationLocked(); in readPersistedSetting()
DRotationLockControllerImpl.java88 public boolean isRotationLocked() { in isRotationLocked() method in RotationLockControllerImpl
89 return mRotationPolicy.isRotationLocked(); in isRotationLocked()
128 callback.onRotationLockStateChanged(mRotationPolicy.isRotationLocked(), in notifyChanged()
DDeviceStateRotationLockSettingControllerLogger.kt66 fun logSaveNewRotationLockSetting(isRotationLocked: Boolean, state: Int) { in logSaveNewRotationLockSetting()
71 bool1 = isRotationLocked in logSaveNewRotationLockSetting()
DRotationLockController.java25 boolean isRotationLocked(); in isRotationLocked() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wrapper/
DRotationPolicyWrapper.kt35 fun isRotationLocked(): Boolean in setRotationLock() method
63 override fun isRotationLocked(): Boolean = in setRotationLock() method in com.android.systemui.util.wrapper.RotationPolicyWrapperImpl
64 RotationPolicy.isRotationLocked(context) in setRotationLock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
DRotationLockTileUserActionInteractorTest.kt55 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>()
65 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>()
DRotationLockTileDataInteractorTest.kt108 assertThat(data!!.isRotationLocked).isEqualTo(false) in tileData_isRotationLockedMatchesRotationController()
112 assertThat(data!!.isRotationLocked).isEqualTo(true) in tileData_isRotationLockedMatchesRotationController()
116 assertThat(data!!.isRotationLocked).isEqualTo(false) in tileData_isRotationLockedMatchesRotationController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/domain/model/
DRotationLockTileModel.kt21 val isRotationLocked: Boolean, constant in com.android.systemui.qs.tiles.impl.rotation.domain.model.RotationLockTileModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DRotationLockControllerExt.kt34 .onStart { emit(isRotationLocked) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeRotationLockController.java60 public boolean isRotationLocked() { in isRotationLocked() method in FakeRotationLockController
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
DRotationLockTileUserActionInteractor.kt41 controller.setRotationLocked(!data.isRotationLocked, CALLER) in handleInput()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DRotationButtonController.java285 final Boolean isLocked = isRotationLocked(); in setRotationLockedAtAngle()
298 public Boolean isRotationLocked() { in isRotationLocked() method in RotationButtonController
300 return RotationPolicy.isRotationLocked(mContext); in isRotationLocked()
480 Boolean rotationLocked = isRotationLocked(); in onRotationWatcherChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java270 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(false); in enableAutoRotation()
274 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(true); in disableAutoRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt44 if (data.isRotationLocked) { in map()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java100 public static boolean isRotationLocked(Context context) { in isRotationLocked() method in RotationPolicy
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DRotationLockTile.java147 final boolean rotationLocked = mController.isRotationLocked(); in handleUpdateState()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java186 public boolean isRotationLocked(int deviceState) { in isRotationLocked() method in DeviceStateRotationLockSettingsManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java822 if (display != null && rotationButtonController.isRotationLocked()) { in onViewAttached()