Searched refs:devicePosture (Results 1 – 10 of 10) 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()
57 sendPostureUpdate(postureController.devicePosture) in <lambda>()
50 whenever(devicePostureController.devicePosture) in setup()139 whenever(devicePostureController.devicePosture) in deviceFoldableAndNotClosed_secondaryLabelIsFoldableSpecific()
123 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()
139 devicePostureInteractor.posture.map { devicePosture -> in <lambda>() method140 when (devicePosture) { in <lambda>()
64 whenever(devicePostureController.devicePosture) in postureChangesArePropagated()
82 devicePostureController.devicePosture == in getSecondaryLabelWithPosture()
160 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()
378 public boolean singleTapUsesProx(@DevicePostureController.DevicePostureInt int devicePosture) { in singleTapUsesProx() argument382 devicePosture in singleTapUsesProx()