Searched refs:sensorEvent (Results 1 – 5 of 5) sorted by relevance
100 public void onSensorEvent(SensorEvent sensorEvent) { in onSensorEvent() argument101 if (sensorEvent.sensor.getType() == Sensor.TYPE_PROXIMITY) { in onSensorEvent()102 logDebug("Sensor is: " + (sensorEvent.values[0] < sensorEvent.sensor.getMaximumRange()) in onSensorEvent()103 + " at time " + sensorEvent.timestamp); in onSensorEvent()105 sensorEvent.values[0] < sensorEvent.sensor.getMaximumRange(), in onSensorEvent()106 sensorEvent.timestamp); in onSensorEvent()
103 void onSensorEvent(SensorEvent sensorEvent) {}; in onSensorEvent() argument
156 private void onSensorEvent(SensorEvent sensorEvent) { in onSensorEvent() argument159 mClassifiers.forEach((classifier) -> classifier.onSensorEvent(sensorEvent)); in onSensorEvent()
143 SensorEvent sensorEvent = Mockito.mock(SensorEvent.class); in createSensorEvent() local147 sensorEvent.sensor = sensor; in createSensorEvent()148 sensorEvent.timestamp = timestampMs * NS_PER_MS; in createSensorEvent()154 valuesField.set(sensorEvent, sensorValue); in createSensorEvent()162 return sensorEvent; in createSensorEvent()
114 sensors_event_t* sensorEvent = &mQueue[mQueue.size() - 1]; in onEvent() local116 sensorEvent); in onEvent()