Home | History | Annotate | Download | only in android

Lines Matching defs:sensor

38  * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
112 int32_t sensor;
144 * Get a reference to the sensor manager. ASensorManager is a singleton.
160 * Returns the default sensor for the given type, or NULL if no sensor
166 * Creates a new sensor event queue and associate it with a looper.
180 * Enable the selected sensor. Returns a negative error code on failure.
182 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
185 * Disable the selected sensor. Returns a negative error code on failure.
187 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
190 * Sets the delivery rate of events in microseconds for the given sensor.
196 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
200 * sensor queue. Returns 1 if the queue has events; 0 if
225 * Returns this sensor's name (non localized)
227 const char* ASensor_getName(ASensor const* sensor);
230 * Returns this sensor's vendor's name (non localized)
232 const char* ASensor_getVendor(ASensor const* sensor);
235 * Return this sensor's type
237 int ASensor_getType(ASensor const* sensor);
242 float ASensor_getResolution(ASensor const* sensor);
246 * A value of zero means that this sensor doesn't report events at a
249 int ASensor_getMinDelay(ASensor const* sensor);