Home | History | Annotate | Download | only in android

Lines Matching refs:Sensor

17 #define LOG_TAG "sensor"
21 #include <android/sensor.h>
27 #include <gui/Sensor.h>
34 using android::Sensor;
49 Sensor const* const* l;
86 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor)
89 static_cast<Sensor const*>(sensor));
92 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor)
95 static_cast<Sensor const*>(sensor));
98 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor,
102 static_cast<Sensor const*>(sensor), us2ns(usec));
132 const char* ASensor_getName(ASensor const* sensor)
134 return static_cast<Sensor const*>(sensor)->getName().string();
137 const char* ASensor_getVendor(ASensor const* sensor)
139 return static_cast<Sensor const*>(sensor)->getVendor().string();
142 int ASensor_getType(ASensor const* sensor)
144 return static_cast<Sensor const*>(sensor)->getType();
147 float ASensor_getResolution(ASensor const* sensor)
149 return static_cast<Sensor const*>(sensor)->getResolution();
152 int ASensor_getMinDelay(ASensor const* sensor)
154 return static_cast<Sensor const*>(sensor)->getMinDelay();