Searched refs:Sensor (Results 1 – 3 of 3) sorted by relevance
56 class Sensor { class99 const int32_t Sensor::kSensitivityRange[2] = {100, 1600};100 const nsecs_t Sensor::kExposureTimeRange[2] =102 const nsecs_t Sensor::kFrameDurationRange[2] =105 const uint8_t Sensor::kColorFilterArrangement = ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB;116 const uint32_t Sensor::kMaxRawValue = 4000;117 const uint32_t Sensor::kBlackLevel = 1000;120 Sensor::kFrameDurationRange[0]124 Sensor::kFrameDurationRange[0]127 Sensor::kFrameDurationRange[0][all …]
49 if (sen_events[i].type == Sensor::TYPE_ACCELEROMETER) { in sensor_events_listener()82 } else if (sen_events[i].type == Sensor::TYPE_GYROSCOPE) { in sensor_events_listener()197 Sensor const* sensor; in enableSensor()205 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in enableSensor()216 Sensor const* sensor; in disableSensor()224 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in disableSensor()
47 if (sen_events[i].type == android::Sensor::TYPE_ACCELEROMETER) { in sensor_events_listener()80 } else if (sen_events[i].type == android::Sensor::TYPE_GYROSCOPE) { in sensor_events_listener()195 android::Sensor const* sensor; in enableSensor()203 sensor = mgr.getDefaultSensor(android::Sensor::TYPE_ACCELEROMETER); in enableSensor()218 android::Sensor const* sensor; in disableSensor()226 sensor = mgr.getDefaultSensor(android::Sensor::TYPE_ACCELEROMETER); in disableSensor()