Searched refs:TYPE_PROXIMITY (Results 1 – 15 of 15) sorted by relevance
154 public static final int TYPE_PROXIMITY = 8; field in Sensor1187 case TYPE_PROXIMITY: in setType()
497 if (type == Sensor.TYPE_PROXIMITY || type == Sensor.TYPE_SIGNIFICANT_MOTION in getDefaultSensor()
44 if (event.sensor.getType() == Sensor.TYPE_PROXIMITY) { in onSensorChanged()
60 Sensor.TYPE_PROXIMITY,66 Sensor.TYPE_PROXIMITY,
59 .getDefaultSensor(Sensor.TYPE_PROXIMITY); in FakeSensorManager()62 proxSensor = createSensor(Sensor.TYPE_PROXIMITY); in FakeSensorManager()
101 if (sensorEvent.sensor.getType() == Sensor.TYPE_PROXIMITY) { in onSensorEvent()
82 Sensor s = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in registerSensors()
52 TYPE_PROXIMITY = ASENSOR_TYPE_PROXIMITY enumerator
145 when(sensor.getType()).thenReturn(Sensor.TYPE_PROXIMITY); in createSensorEvent()
163 final Sensor proxSensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in createWithProxSensor()
271 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in ProxSensor()300 mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY), in setRegistered()
401 final Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in check()
519 mProximitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in DisplayPowerController()
12421 field public static final int TYPE_PROXIMITY = 8; // 0x8
16392 field public static final int TYPE_PROXIMITY = 8; // 0x8