Lines Matching refs:device

35  * Name of the sensors device to open
95 * This API is relative to the screen of the device in its default orientation,
96 * that is, if the device can be used in portrait or landscape, this API
98 * the axis are not swapped when the device's screen orientation changes.
162 * device minus the force of gravity.
172 * When the device lies flat on a table and is pushed on its left side
175 * When the device lies flat on a table, the acceleration value is +9.81,
176 * which correspond to the acceleration of the device (0 m/s^2) minus the
179 * When the device lies flat on a table and is pushed toward the sky, the
181 * acceleration of the device (+A m/s^2) minus the force of
201 * looking from some positive location on the x, y or z axis at a device
202 * positioned on the origin would report positive rotation if the device
240 * acceleration sensor. When the device is at rest, the output of the
246 * Indicates the linear acceleration of the device in device coordinates,
255 * A rotation vector represents the orientation of the device as a combination
256 * of an angle and an axis, in which the device has rotated through an angle
270 * the ground at the device's current location and roughly points East).
272 * - Y is tangential to the ground at the device's current location and
431 * Every device data structure must begin with hw_device_t
471 /** convenience API for opening and closing a device */
474 struct sensors_poll_device_t** device) {
476 SENSORS_HARDWARE_POLL, (struct hw_device_t**)device);
479 static inline int sensors_close(struct sensors_poll_device_t* device) {
480 return device->common.close(&device->common);