/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 116 int32_t orientation; in inv_playback() local 202 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 204 inv_set_gyro_orientation_and_scale(orientation, sensitivity); in inv_playback() 208 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 210 inv_set_accel_orientation_and_scale(orientation, sensitivity); in inv_playback() 214 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 216 inv_set_compass_orientation_and_scale(orientation, sensitivity); in inv_playback()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 207 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 219 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 222 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 225 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 229 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 232 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 244 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 250 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 254 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 437 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output); 95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output); 96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
|
D | data_builder.h | 82 int orientation; member 217 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 218 void inv_set_accel_orientation_and_scale(int orientation, 220 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 208 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 220 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 223 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 226 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 230 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 233 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 245 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 251 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 255 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 642 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output); 95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output); 96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
|
D | data_builder.h | 84 int orientation; member 220 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 221 void inv_set_accel_orientation_and_scale(int orientation, 223 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/akm/AK8975_FS/libsensors/ |
D | AkmSensor.cpp | 59 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor() 309 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O; in processEvent() 313 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O; in processEvent() 317 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O; in processEvent() 321 mPendingEvents[Orientation].orientation.status = value; in processEvent()
|
/hardware/qcom/display/msm8909/libqservice/ |
D | QServiceUtils.h | 85 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 87 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8994/libqservice/ |
D | QServiceUtils.h | 85 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 87 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8084/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8226/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8996/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8998/libqservice/ |
D | QServiceUtils.h | 73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 75 orientation); in setExtOrientation()
|
/hardware/libhardware/include/hardware/ |
D | camera_common.h | 202 int orientation; member
|
/hardware/interfaces/camera/device/1.0/ |
D | types.hal | 42 * The orientation of the camera image. The value is the angle that the 44 * display in its natural orientation. It must be 0, 90, 180, or 270. 49 * edge of the screen in natural orientation, the value must be 90. If the 56 uint32_t orientation; 202 * The direction is relative to the sensor orientation, that is, what the
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_qclient.cpp | 97 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { in setExtOrientation() argument 98 ctx->mExtOrientation = orientation; in setExtOrientation()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.cpp | 290 bool enableBarrier (uint32_t orientation) { in enableBarrier() argument 292 (void)fp.write("%d", orientation); in enableBarrier()
|
D | overlay.h | 67 void setTransform(const int orientation, utils::eDest dest);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_qclient.cpp | 98 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { in setExtOrientation() argument 99 ctx->mExtOrientation = orientation; in setExtOrientation()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.cpp | 367 bool enableBarrier (uint32_t orientation) { in enableBarrier() argument 369 (void)fp.write("%d", orientation); in enableBarrier()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_qclient.cpp | 110 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { in setExtOrientation() argument 111 ctx->mExtOrientation = orientation; in setExtOrientation()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_qclient.cpp | 109 static void setExtOrientation(hwc_context_t *ctx, uint32_t orientation) { in setExtOrientation() argument 110 ctx->mExtOrientation = orientation; in setExtOrientation()
|