Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 16 of 16) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c106 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()
Dresults_holder.c483 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/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_swapchain_maintenance1/
DSwapchainPresentScalingCreateInfo.adoc43 gravity must: match that defined by the native platform surface on platforms
44 which define surface gravity.
74 pname:presentGravityX must: be a valid x-axis present gravity for the
82 be a valid x-axis present gravity for the surface as returned in
88 pname:presentGravityY must: be a valid y-axis present gravity for the
96 be a valid y-axis present gravity for the surface as returned in
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c154 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()
Dresults_holder.c607 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/
Dinv_self_test.c526 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/
Dhow_to_run.txt10 # accelerometer, gravity, gyroscope, linear_acceleration, magnetic_field.
31 # Run gravity sensor test:
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dmag_disturb.h20 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dmag_disturb.h21 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c494 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/
Dtypes.hal132 * 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.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_surface/
Dwsi.adoc728 elink:VkPresentGravityFlagBitsEXT representing the X-axis pixel gravity
729 supported by the surface, or `0` if Vulkan-defined pixel gravity is not
732 elink:VkPresentGravityFlagBitsEXT representing the Y-axis pixel gravity
733 supported by the surface, or `0` if Vulkan-defined pixel gravity is not
778 gravity.
798 [open,refpage='VkPresentGravityFlagBitsEXT',desc='Bitmask specifying presentation pixel gravity on …
802 or pname:supportedPresentGravityY fields, specifying the gravity of
816 implementation-defined whether the gravity configuration applies to the
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp714 const float gravity = 9.81f; in generateBandwidthAmplitudeMap() local
755 pow(frequencyRadians, 2) / psysAbs / gravity; in generateBandwidthAmplitudeMap()
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp910 const float gravity = 9.81f; in createBandwidthAmplitudeMap() local
959 (vSys * amplitudeSysPara) * pow(frequencyRadians, 2) / psysAbs / gravity; in createBandwidthAmplitudeMap()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_swapchain_maintenance1.adoc179 The `VK_EXT_surface_maintenance1` extension introduces scaling and gravity
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXproto.h1117 } gravity; member