Searched refs:gravity (Results 1 – 10 of 10) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 106 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local 110 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration() 111 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration() 112 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration() 113 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration() 135 long gravity[3]; in inv_get_sensor_type_gravity() local 140 inv_get_gravity(gravity); in inv_get_sensor_type_gravity() 141 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity() 142 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity() 143 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
|
D | results_holder.c | 483 long gravity[3]; in inv_get_linear_accel() local 488 inv_get_gravity(gravity); in inv_get_linear_accel() 489 data[0] -= gravity[0] >> 14; in inv_get_linear_accel() 490 data[1] -= gravity[1] >> 14; in inv_get_linear_accel() 491 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 154 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local 158 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration() 159 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration() 160 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration() 161 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration() 179 long gravity[3]; in inv_get_sensor_type_gravity() local 182 inv_get_gravity(gravity); in inv_get_sensor_type_gravity() 183 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity() 184 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity() 185 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
|
D | results_holder.c | 607 long gravity[3]; in inv_get_linear_accel() local 612 inv_get_gravity(gravity); in inv_get_linear_accel() 613 data[0] -= gravity[0] >> 14; in inv_get_linear_accel() 614 data[1] -= gravity[1] >> 14; in inv_get_linear_accel() 615 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 526 long gravity = axis_sign * (32768L / accel_scale.i) * 1000L; in main() local 527 accel_bias[axis].l -= gravity; in main() 529 gravity = axis_sign * (32768L / accel_scale.i) * 65536L; in main() 531 printf("Self-Test:Gravity = %ld\n", gravity); in main() 533 save_data.factory_accel_bias[axis] -= gravity; in main()
|
/hardware/google/camera/common/sensor_listener/tests/ |
D | how_to_run.txt | 10 # accelerometer, gravity, gyroscope, linear_acceleration, magnetic_field. 31 # Run gravity sensor test:
|
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
D | mag_disturb.h | 20 const long *compass, const long *gravity);
|
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
D | mag_disturb.h | 21 const long *compass, const long *gravity);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | main.c | 494 float gravity[3]; in fifo_callback() local 495 inv_get_sensor_type_gravity_float(gravity, NULL, NULL); in fifo_callback() 496 PRINT_3ELM_ARRAY_FLOAT(10, 5, gravity); in fifo_callback()
|
/hardware/interfaces/sensors/1.0/ |
D | types.hal | 132 * device minus the acceleration due to gravity. 218 * A gravity output indicates the direction of and magnitude of gravity in 231 * not including gravity. 387 * 2-seconds window average gravity changed by at least 35 degrees since the 391 * the first 1 second after activation or the estimated gravity at the last 712 * device minus the acceleration due to gravity.
|