Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 27) sorted by relevance

12

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c156 static bool isTiltAngleAcceptable(int rotation, int8_t tilt_angle) in isTiltAngleAcceptable() argument
158 return ((tilt_angle >= Tilt_Tolerance[rotation][0]) in isTiltAngleAcceptable()
159 && (tilt_angle <= Tilt_Tolerance[rotation][1])); in isTiltAngleAcceptable()
162 static bool isOrientationAngleAcceptable(int current_rotation, int rotation, in isOrientationAngleAcceptable() argument
171 (int)current_rotation, (int)rotation, (int)orientation_angle); in isOrientationAngleAcceptable()
179 if ((rotation == current_rotation) in isOrientationAngleAcceptable()
180 || (rotation == (current_rotation + 1) % 4)) { in isOrientationAngleAcceptable()
181 lower_bound = rotation * 90 - 45 in isOrientationAngleAcceptable()
183 if (rotation == 0) { in isOrientationAngleAcceptable()
199 if ((rotation == current_rotation) in isOrientationAngleAcceptable()
[all …]
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceService.java151 int rotation = getRotation(); in onConfigurationChanged() local
157 if (rotation == mPreviousRotation && in onConfigurationChanged()
165 mEventReporter.reportScreenChanged(width, height, dpi, rotation); in onConfigurationChanged()
167 mPreviousRotation = rotation; in onConfigurationChanged()
DEventReporter.java125 public void reportScreenChanged(int width, int height, int dpi, int rotation) { in reportScreenChanged() argument
128 width, height, dpi, rotation)); in reportScreenChanged()
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dapp.js130 createDeviceDisplaysMessage(rotation) { argument
623 #rotateDisplays(rotation) { argument
624 if ((rotation - this.#currentRotation) % 360 == 0) {
645 let to = getStyleAfterRotation(rotation, aspectRatio);
651 this.#currentRotation = rotation;
732 this.#rotateDisplays(+metadata.rotation);
960 #onRotateButton(rotation) { argument
964 this.#rotateDisplays(rotation);
965 adbShell(`/vendor/bin/cuttlefish_sensor_injection rotate ${rotation}`);
/device/generic/goldfish-opengl/system/hwc3/
DGuestFrameComposer.cpp104 uint32_t rotation = 0; in GetRotationFromTransform() local
105 rotation += (static_cast<int32_t>(transform) & static_cast<int32_t>(common::Transform::ROT_90)) in GetRotationFromTransform()
108 rotation += (static_cast<int32_t>(transform) & static_cast<int32_t>(common::Transform::FLIP_H)) in GetRotationFromTransform()
111 return static_cast<libyuv::RotationMode>(90 * rotation); in GetRotationFromTransform()
285 int DoRotation(const BufferSpec& src, const BufferSpec& dst, libyuv::RotationMode rotation, in DoRotation() argument
303 width, height, rotation); in DoRotation()
877 libyuv::RotationMode rotation = GetRotationFromTransform(srcLayer->getTransform()); in composeLayerInto() local
919 bool needsRotation = rotation != libyuv::kRotate0; in composeLayerInto()
920 bool needsTranspose = needsRotation && rotation != libyuv::kRotate180; in composeLayerInto()
1044 int retval = DoRotation(srcLayerSpec, dstBufferStack.back(), rotation, needsVFlip); in composeLayerInto()
/device/generic/goldfish/camera/
DFakeRotatingCamera.cpp460 sizeof(sensorValues.rotation)); in processCaptureRequest()
462 memcpy(renderParams.cameraParams.rotXYZ3, sensorValues.rotation, in processCaptureRequest()
463 sizeof(sensorValues.rotation)); in processCaptureRequest()
471 pos3[0] = -kR * sin(sensorValues.rotation[0]) * sin(sensorValues.rotation[1]); in processCaptureRequest()
472 pos3[1] = -kR * sin(sensorValues.rotation[0]) * cos(sensorValues.rotation[1]); in processCaptureRequest()
473 pos3[2] = kR * cos(sensorValues.rotation[0]); in processCaptureRequest()
DCameraDeviceSession.cpp204 static_cast<unsigned>(s.rotation), in configureStreams()
386 if (s.rotation != StreamRotation::ROTATION_0) { in configureStreamsStatic()
DFakeRotatingCamera.h82 float rotation[3]; member
/device/google/cuttlefish/host/frontend/webrtc_operator/assets/js/
Dserver_connector.js122 createDeviceDisplaysMessage(rotation) { argument
133 constructor(parentController, rotation) { argument
/device/generic/goldfish/input/
Dvirtio_input_rotary.idc4 # Should be (number of ticks in full rotation) / (2 PI).
/device/google/cuttlefish/shared/config/input/
DCrosvm_Virtio_Rotary_0.idc4 # Should be (number of ticks in full rotation) / (2 PI).
/device/generic/goldfish/audio/
Dprimary_device.cpp564 Return<Result> PrimaryDevice::updateRotation(IPrimaryDevice::Rotation rotation) { in updateRotation() argument
565 (void)rotation; in updateRotation()
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_device_session_3_4.cpp227 if (stream.rotation != StreamRotation::ROTATION_0) { in isStreamConfigurationSupported()
228 ALOGE("Unsupported rotation enum value %d", stream.rotation); in isStreamConfigurationSupported()
/device/google/raviole-kernels/5.10/24Q3-12115410/original-kernel-headers/input/
Dtouch_offload.h202 __s16 rotation; member
/device/google/redbull-kernel/sm7250/kernel-headers/input/
Dtouch_offload.h97 __s16 rotation; member
/device/google/bluejay-kernels/5.10/24Q3-12115410/original-kernel-headers/input/
Dtouch_offload.h202 __s16 rotation; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/input/
Dtouch_offload.h198 __s16 rotation; member
/device/google/sunfish-kernel/sm7150/kernel-headers/media/
Dcam_defs.h232 uint32_t rotation; member
/device/google/coral-kernel/sm8150/original-kernel-headers/media/
Dcam_defs.h367 uint32_t rotation; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/media/
Dcam_defs.h367 uint32_t rotation; member
/device/google/coral-kernel/sm8150/kernel-headers/media/
Dcam_defs.h336 uint32_t rotation; member
/device/sample/skins/WVGAMedDpi/
Dlayout413 rotation 3
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
DREADME74 Sensors orientation can be modified through rotation matrices. Accelerometer and gyroscope are shar…
/device/linaro/hikey/
Dinit.common.rc48 # If an app forces screen rotation, revert it once the apps closes
/device/google/redbull-kernel/sm7250/kernel-headers/media/
Dcam_defs.h225 uint32_t rotation; member

12