Searched refs:devicePosture (Results 1 – 7 of 7) sorted by relevance
115 void onDevicePostureChanged(int devicePosture) { in onDevicePostureChanged() argument116 if (devicePosture == mDevicePosture) return; in onDevicePostureChanged()117 mDevicePosture = devicePosture; in onDevicePostureChanged()
164 int devicePosture = mPosturesHelper.deviceStateToPosture(deviceState); in getRotationLockSetting() local166 devicePosture, /* valueIfKeyNotFound= */ DEVICE_STATE_ROTATION_LOCK_IGNORED); in getRotationLockSetting()168 rotationLockSetting = getFallbackRotationLockSetting(devicePosture); in getRotationLockSetting()173 private int getFallbackRotationLockSetting(int devicePosture) { in getFallbackRotationLockSetting() argument174 int indexOfFallback = mPostureRotationLockFallbackSettings.indexOfKey(devicePosture); in getFallbackRotationLockSetting()
118 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)128 whenever(mPostureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
143 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)155 whenever(postureController.devicePosture).thenReturn(DEVICE_POSTURE_HALF_OPENED)
50 sendPostureUpdate(postureController.devicePosture)
60 whenever(devicePostureController.devicePosture)
378 public boolean singleTapUsesProx(@DevicePostureController.DevicePostureInt int devicePosture) { in singleTapUsesProx() argument382 devicePosture in singleTapUsesProx()