Home
last modified time | relevance | path

Searched refs:devicePosture (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDevicePostureController.java115 void onDevicePostureChanged(int devicePosture) { in onDevicePostureChanged() argument
116 if (devicePosture == mDevicePosture) return; in onDevicePostureChanged()
117 mDevicePosture = devicePosture; in onDevicePostureChanged()
/aosp14/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
H A DDeviceStateRotationLockSettingsManager.java164 int devicePosture = mPosturesHelper.deviceStateToPosture(deviceState); in getRotationLockSetting() local
166 devicePosture, /* valueIfKeyNotFound= */ DEVICE_STATE_ROTATION_LOCK_IGNORED); in getRotationLockSetting()
168 rotationLockSetting = getFallbackRotationLockSetting(devicePosture); in getRotationLockSetting()
173 private int getFallbackRotationLockSetting(int devicePosture) { in getFallbackRotationLockSetting() argument
174 int indexOfFallback = mPostureRotationLockFallbackSettings.indexOfKey(devicePosture); in getFallbackRotationLockSetting()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardPatternViewControllerTest.kt118 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
128 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
H A DKeyguardPinViewControllerTest.kt143 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
155 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DDevicePostureRepository.kt50 sendPostureUpdate(postureController.devicePosture)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DDevicePostureRepositoryTest.kt60 whenever(devicePostureController.devicePosture)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeParameters.java378 public boolean singleTapUsesProx(@DevicePostureController.DevicePostureInt int devicePosture) { in singleTapUsesProx() argument
382 devicePosture in singleTapUsesProx()