Searched refs:mOrientationSensorListener (Results 1 – 1 of 1) sorted by relevance
137 private SensorEventListener mOrientationSensorListener; field in DisplayRotationTests359 mOrientationSensorListener = listenerCaptor.getValue(); in verifyOrientationListenerRegistration()511 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed()529 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReverseRotation()537 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testReverseRotation()585 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed()600 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testNotifiesChoiceWhenSensorUpdates_RotationLocked()684 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testAllowAllRotations_allowAllRotationsBecomesDisabled_forbidsUpsideDownSuggestion()842 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testProposedRotationListener()860 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testUpdatesRotationWhenSensorUpdates_RotationLocked_HalfFolded()[all …]