Searched refs:postureToDeviceState (Results 1 – 3 of 3) sorted by relevance
95 .that(posturesHelper.postureToDeviceState(DEVICE_STATE_ROTATION_KEY_FOLDED)) in postureToDeviceState_mapsCorrectly()98 .that(posturesHelper.postureToDeviceState(DEVICE_STATE_ROTATION_KEY_HALF_FOLDED)) in postureToDeviceState_mapsCorrectly()101 .that(posturesHelper.postureToDeviceState(DEVICE_STATE_ROTATION_KEY_UNFOLDED)) in postureToDeviceState_mapsCorrectly()104 .that(posturesHelper.postureToDeviceState(DEVICE_STATE_ROTATION_KEY_REAR_DISPLAY)) in postureToDeviceState_mapsCorrectly()106 expect.that(posturesHelper.postureToDeviceState(DEVICE_STATE_ROTATION_KEY_UNKNOWN)).isNull() in postureToDeviceState_mapsCorrectly()
51 fun postureToDeviceState(@DeviceStateRotationLockKey posture: Int): Int? { in postureToDeviceState() method
331 Integer deviceState = mPosturesHelper.postureToDeviceState(posture); in loadDefaults()