HomeSort by relevance Sort by last modified time
    Searched full:sensorevents (Results 1 - 1 of 1) sorted by null

  /device/samsung/manta/bubblelevel/
BubbleLevelImpl.cpp 270 ASensorEvent sensorEvents[numSensors];
271 ssize_t ret = sensorEventQueue->read(sensorEvents, numSensors);
274 if (sensorEvents[i].type == Sensor::TYPE_ACCELEROMETER) {
276 sensorEvents[i].vector.azimuth,
277 sensorEvents[i].vector.pitch,
278 sensorEvents[i].vector.roll);
280 if ((sensorEvents[i].vector.roll > 0.0) &&
281 (sensorEvents[i].vector.azimuth < BL_SENSOR_LEVEL_THRESHOLD) &&
282 (sensorEvents[i].vector.azimuth > -BL_SENSOR_LEVEL_THRESHOLD) &&
283 (sensorEvents[i].vector.pitch < BL_SENSOR_LEVEL_THRESHOLD) &
    [all...]

Completed in 27 milliseconds