/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | DeviceStateRotationLockSettingControllerTest.java | 124 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/ |
D | DeviceStateRotationLockSettingController.java | 107 .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()
|
D | RotationLockControllerImpl.java | 88 public boolean isRotationLocked() { in isRotationLocked() method in RotationLockControllerImpl 89 return mRotationPolicy.isRotationLocked(); in isRotationLocked() 128 callback.onRotationLockStateChanged(mRotationPolicy.isRotationLocked(), in notifyChanged()
|
D | DeviceStateRotationLockSettingControllerLogger.kt | 66 fun logSaveNewRotationLockSetting(isRotationLocked: Boolean, state: Int) { in logSaveNewRotationLockSetting() 71 bool1 = isRotationLocked in logSaveNewRotationLockSetting()
|
D | RotationLockController.java | 25 boolean isRotationLocked(); in isRotationLocked() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wrapper/ |
D | RotationPolicyWrapper.kt | 35 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/ |
D | RotationLockTileUserActionInteractorTest.kt | 55 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>() 65 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>()
|
D | RotationLockTileDataInteractorTest.kt | 108 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/ |
D | RotationLockTileModel.kt | 21 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/ |
D | RotationLockControllerExt.kt | 34 .onStart { emit(isRotationLocked) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeRotationLockController.java | 60 public boolean isRotationLocked() { in isRotationLocked() method in FakeRotationLockController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/ |
D | RotationLockTileUserActionInteractor.kt | 41 controller.setRotationLocked(!data.isRotationLocked, CALLER) in handleInput()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | RotationButtonController.java | 285 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/ |
D | RotationLockTileTest.java | 270 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/ |
D | RotationLockTileMapper.kt | 44 if (data.isRotationLocked) { in map()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 100 public static boolean isRotationLocked(Context context) { in isRotationLocked() method in RotationPolicy
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | RotationLockTile.java | 147 final boolean rotationLocked = mController.isRotationLocked(); in handleUpdateState()
|
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/ |
D | DeviceStateRotationLockSettingsManager.java | 186 public boolean isRotationLocked(int deviceState) { in isRotationLocked() method in DeviceStateRotationLockSettingsManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBar.java | 822 if (display != null && rotationButtonController.isRotationLocked()) { in onViewAttached()
|