/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 156 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/ |
D | GceService.java | 151 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()
|
D | EventReporter.java | 125 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/ |
D | app.js | 130 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/ |
D | GuestFrameComposer.cpp | 104 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/ |
D | FakeRotatingCamera.cpp | 460 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()
|
D | CameraDeviceSession.cpp | 204 static_cast<unsigned>(s.rotation), in configureStreams() 386 if (s.rotation != StreamRotation::ROTATION_0) { in configureStreamsStatic()
|
D | FakeRotatingCamera.h | 82 float rotation[3]; member
|
/device/google/cuttlefish/host/frontend/webrtc_operator/assets/js/ |
D | server_connector.js | 122 createDeviceDisplaysMessage(rotation) { argument 133 constructor(parentController, rotation) { argument
|
/device/generic/goldfish/input/ |
D | virtio_input_rotary.idc | 4 # Should be (number of ticks in full rotation) / (2 PI).
|
/device/google/cuttlefish/shared/config/input/ |
D | Crosvm_Virtio_Rotary_0.idc | 4 # Should be (number of ticks in full rotation) / (2 PI).
|
/device/generic/goldfish/audio/ |
D | primary_device.cpp | 564 Return<Result> PrimaryDevice::updateRotation(IPrimaryDevice::Rotation rotation) { in updateRotation() argument 565 (void)rotation; in updateRotation()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | vsock_camera_device_session_3_4.cpp | 227 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/ |
D | touch_offload.h | 202 __s16 rotation; member
|
/device/google/redbull-kernel/sm7250/kernel-headers/input/ |
D | touch_offload.h | 97 __s16 rotation; member
|
/device/google/bluejay-kernels/5.10/24Q3-12115410/original-kernel-headers/input/ |
D | touch_offload.h | 202 __s16 rotation; member
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/input/ |
D | touch_offload.h | 198 __s16 rotation; member
|
/device/google/sunfish-kernel/sm7150/kernel-headers/media/ |
D | cam_defs.h | 232 uint32_t rotation; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/media/ |
D | cam_defs.h | 367 uint32_t rotation; member
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/media/ |
D | cam_defs.h | 367 uint32_t rotation; member
|
/device/google/coral-kernel/sm8150/kernel-headers/media/ |
D | cam_defs.h | 336 uint32_t rotation; member
|
/device/sample/skins/WVGAMedDpi/ |
D | layout | 413 rotation 3
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | README | 74 Sensors orientation can be modified through rotation matrices. Accelerometer and gyroscope are shar…
|
/device/linaro/hikey/ |
D | init.common.rc | 48 # If an app forces screen rotation, revert it once the apps closes
|
/device/google/redbull-kernel/sm7250/kernel-headers/media/ |
D | cam_defs.h | 225 uint32_t rotation; member
|