Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDevicePostureController.java115 void onDevicePostureChanged(int devicePosture) { in onDevicePostureChanged() argument
116 if (devicePosture == mDevicePosture) return; in onDevicePostureChanged()
117 mDevicePosture = devicePosture; in onDevicePostureChanged()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DDevicePostureRepository.kt57 sendPostureUpdate(postureController.devicePosture) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapperTest.kt50 whenever(devicePostureController.devicePosture) in setup()
139 whenever(devicePostureController.devicePosture) in deviceFoldableAndNotClosed_secondaryLabelIsFoldableSpecific()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPatternViewControllerTest.kt123 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onViewAttached_deviceHalfFolded_propagatedToPatternView()
133 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onDevicePostureChanged_deviceOpened_propagatedToPatternView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DBiometricMessageInteractor.kt139 devicePostureInteractor.posture.map { devicePosture -> in <lambda>() method
140 when (devicePosture) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDevicePostureRepositoryTest.kt64 whenever(devicePostureController.devicePosture) in postureChangesArePropagated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt82 devicePostureController.devicePosture == in getSecondaryLabelWithPosture()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPinViewControllerTest.kt160 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onViewAttached_deviceHalfFolded_propagatedToPatternView()
172 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED) in onDevicePostureChanged_deviceOpened_propagatedToPatternView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java378 public boolean singleTapUsesProx(@DevicePostureController.DevicePostureInt int devicePosture) { in singleTapUsesProx() argument
382 devicePosture in singleTapUsesProx()