Searched refs:values (Results 1 - 6 of 6) sorted by relevance

/hardware/invensense/libsensors_iio/software/core/mllite/
H A Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
29 int inv_get_sensor_type_linear_acceleration(float *values,
32 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
H A Dhal_outputs.c50 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
57 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, argument
66 values[0] = accel[0] * ACCEL_CONVERSION;
67 values[1] = accel[1] * ACCEL_CONVERSION;
68 values[2] = accel[2] * ACCEL_CONVERSION;
77 * @param[out] values Linear Acceleration in body frame, length 3, (m/s^2). May show
84 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, argument
94 values[0] = accel[0] * ACCEL_CONVERSION;
95 values[1] = accel[1] * ACCEL_CONVERSION;
96 values[
108 inv_get_sensor_type_gravity(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
138 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
162 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
203 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
233 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
308 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/invensense/libsensors/
H A DMPLSensor.cpp72 /* Base values for the sensor list, these need to be in the order defined in MPLSensor.h */
726 void MPLSensor::calcOrientationSensor(float *R, float *values) argument
732 values[0] = (float) atan2f(-R[3], R[0]);
734 values[0] = (float) atan2f(R[1], R[4]);
736 values[0] *= 57.295779513082320876798154814105f;
737 if (values[0] < 0) {
738 values[0] += 360.0f;
746 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f;
748 values[1] = 180.0f - values[
[all...]
/hardware/qcom/display/libhwcomposer/
H A Dhwc.cpp518 uint32_t config, const uint32_t* attributes, int32_t* values) {
542 values[i] = ctx->dpyAttr[disp].vsync_period;
545 values[i] = ctx->dpyAttr[disp].xres;
550 values[i] = ctx->dpyAttr[disp].yres;
555 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
558 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
517 hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, uint32_t config, const uint32_t* attributes, int32_t* values) argument
/hardware/libhardware/include/hardware/
H A Dhwcomposer.h262 * hwc_display_contents_1_t::flags values
580 * requested attribute is written in order to the values array. The
581 * HWC_DISPLAY_NO_ATTRIBUTE attribute does not have a value, so the values
592 uint32_t config, const uint32_t* attributes, int32_t* values);
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp962 // hwc_rect_t right and bottom values are normally exclusive;
1997 int disp, uint32_t config, const uint32_t *attributes, int32_t *values)
2004 values[i] = exynos5_fimd_attribute(pdev, attributes[i]);
2006 values[i] = exynos5_hdmi_attribute(pdev, attributes[i]);
1996 exynos5_getDisplayAttributes(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument

Completed in 147 milliseconds