Home
last modified time | relevance | path

Searched refs:getDefaultSensor (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSensorManagerTest.java63 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in registerListener()
72 …sensorManager.unregisterListener(listener, sensorManager.getDefaultSensor(SensorManager.SENSOR_ACC… in shouldReturnHasNoListenerAfterUnregisterListener()
95 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldSendSensorEventToSingleRegisteredListener()
110 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldSendSensorEventToMultipleRegisteredListeners()
125 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER); in shouldNotSendSensorEventIfNoRegisteredListeners()
158 assertThat(sensor).isSameInstanceAs(sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER)); in getSensor_shouldBeConfigurable()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSphericalGLSurfaceView.java96 orientationSensor = sensorManager.getDefaultSensor(Sensor.TYPE_GAME_ROTATION_VECTOR); in SphericalGLSurfaceView()
99 orientationSensor = sensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); in SphericalGLSurfaceView()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSensorManager.java52 protected Sensor getDefaultSensor(int type) { in getDefaultSensor() method in ShadowSensorManager
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCProximitySensor.java132 proximitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in initDefaultSensor()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAccelerometerFragment.java214 accelerometer = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in onCreateView()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java322 Sensor orientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in onResume()