Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/
DPoseData.java70 public PoseData(float[] translation, float[] rotation, long timestamp){ in PoseData() argument
72 mRotation[0] = rotation[0]; in PoseData()
73 mRotation[1] = rotation[1]; in PoseData()
74 mRotation[2] = rotation[2]; in PoseData()
75 mRotation[3] = rotation[3]; in PoseData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java191 float[] rotation = new float[3]; in calculateRingRotation() local
192 rotation[X] = location2[X] - location1[X]; in calculateRingRotation()
193 rotation[Y] = location2[Y] - location1[Y]; in calculateRingRotation()
194 rotation[Z] = location2[Z] - location1[Z]; in calculateRingRotation()
195 return rotation; in calculateRingRotation()
229 private ArrayList<float[]> calculateRectangleHitbox(float[] centre, float[] rotation) { in calculateRectangleHitbox() argument
231 float magnitude = (float) Math.sqrt(Math.pow(rotation[X], 2) + in calculateRectangleHitbox()
232 Math.pow(rotation[Z], 2)); in calculateRectangleHitbox()
236 float[] rotationInverse = {0 - rotation[X], 0 - rotation[Y]}; in calculateRectangleHitbox()
237 float[] rotationNinety = {rotation[Y], 0 - rotation[X]}; in calculateRectangleHitbox()
[all …]
/cts/apps/CameraITS/utils/
Dcamera_properties_utils.py688 rotation = np.array(props['android.lens.poseRotation'])
694 logging.debug('rotation: %s', str(rotation))
695 rotation_len = len(rotation)
698 x = rotation[0]
699 y = rotation[1]
700 z = rotation[2]
701 w = rotation[3]
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTransformTest.java78 for (int rotation : rotations) { in getParameters()
84 if (rotation != 0 || translateX != 0 || translateY != 0 in getParameters()
86 if (rotation != 0) { in getParameters()
87 transformation.postRotate(rotation); in getParameters()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFreezeRotationRule.java33 public FreezeRotationRule(int rotation) { in FreezeRotationRule() argument
34 mRotation = rotation; in FreezeRotationRule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/PathUtilityClasses/
DRing.java44 float[] rotation, ArrayList<float[]> rectangleHitBox) { in Ring() argument
48 mRotation = rotation; in Ring()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DRingRenderable.java51 public RingRenderable(float[] position, float[] rotation, float[] upVector) { in RingRenderable() argument
65 rotation[X], rotation[Y], rotation[Z], in RingRenderable()
DConeRenderable.java102 public void updateModelMatrix(float[] translation, float[] rotation, float[] lookAtPosition) { in updateModelMatrix() argument
103 mModelMatrixCalculator.updateModelMatrix(translation, rotation, lookAtPosition); in updateModelMatrix()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java248 int width, int height, int rotation, int quality, in TestConfig() argument
255 mRotation = rotation; in TestConfig()
286 Builder setRotation(int rotation) { in setRotation() argument
287 mRotation = rotation; in setRotation()
331 String filename, int width, int height, int rotation, boolean useGrid, int numImages) in verifyResult() argument
348 assertEquals("Wrong rotation", rotation, in verifyResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DRobustnessTest.java180 RotationData rotation = ((RobustnessPath) mTestPath).handleRotation( in getRotationData() local
182 if (rotation == null) { in getRotationData()
198 return rotation; in getRotationData()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java213 for (final int rotation : rotations) { in rotateAndCheckSizes()
215 rotationSession.set(rotation); in rotateAndCheckSizes()
493 expectedRotation, onCreateConfigInfo.rotation); in testRotatedInfoWithFixedRotationTransform()
495 expectedRotation, appConfigInfo.rotation); in testRotatedInfoWithFixedRotationTransform()
635 for (final int rotation : rotations) { in testAppOrientationWhenRotating()
637 rotationSession.set(rotation); in testAppOrientationWhenRotating()
714 for (final int rotation : rotations) { in assertDisplayContextDoesntChangeOrientationWhenRotating()
715 rotationSession.set(rotation); in assertDisplayContextDoesntChangeOrientationWhenRotating()
760 for (final int rotation : rotations) { in testFixedOrientationWhenRotating()
762 rotationSession.set(rotation, false /* waitDeviceRotation */); in testFixedOrientationWhenRotating()
DConfigChangeTests.java228 for (int rotation = 0; rotation < 4; rotation += rotationStep) { in testRotation()
230 rotationSession.set(rotation); in testRotation()
DMultiDisplayPolicyTests.java232 for (int rotation = 3; rotation >= 0; --rotation) { in rotateAndCheckSameSizes()
233 rotationSession.set(rotation); in rotateAndCheckSameSizes()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java74 public void onSetDeviceOrientation(int rotation) { in onSetDeviceOrientation() argument
75 mDeviceOrientation = rotation; in onSetDeviceOrientation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java72 public void init(Camera camera, float aspectRatio, int rotation) { in init() argument
75 mCameraRotation = rotation; in init()
DMotionIndicatorView.java156 public void setDeviceRotation(int rotation) { in setDeviceRotation() argument
157 mIsDeviceRotated = (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in setDeviceRotation()
/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java334 int rotation, int quality, in TestConfig() argument
343 mRotation = rotation; in TestConfig()
395 Builder setRotation(int rotation) { in setRotation() argument
396 mRotation = rotation; in setRotation()
656 FileDescriptor fd, int width, int height, int rotation, in verifyResult() argument
671 assertEquals("Wrong rotation", rotation, in verifyResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DComplexMovementRenderer.java86 final float[] rotation = in onSurfaceCreated() local
88 RingRenderable ringRenderable = new RingRenderable(position, rotation, mOpenGlUpVector); in onSurfaceCreated()
DBaseRenderer.java259 private static float[] getUpVector(int rotation) { in getUpVector() argument
262 switch (rotation) { in getUpVector()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DEdgeEffectTests.java265 private RenderNode drawStretchEffect(float rotation) {
270 return drawEdgeEffect(edgeEffect, 0, rotation);
273 private RenderNode drawEdgeEffect(EdgeEffect edgeEffect, float verticalOffset, float rotation) {
289 recordingCanvas.rotate(rotation, WIDTH / 2f, HEIGHT / 2f);
DAImageDecoderTest.kt945 var rotation = 0 in <lambda>() variable
949 ExifInterface.ORIENTATION_ROTATE_90 -> rotation = 90 in <lambda>()
950 ExifInterface.ORIENTATION_ROTATE_180 -> rotation = 180 in <lambda>()
951 ExifInterface.ORIENTATION_ROTATE_270 -> rotation = 270 in <lambda>()
956 m.setRotate(rotation.toFloat(), original.width / 2.0f, original.height / 2.0f) in <lambda>()
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.md21 which test certificates were used to generate a proof-of-rotation object,
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/ServiceTest/
DAndroid.bp23 // after a key rotation and provides a companion package that can be used for
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java1067 public int rotation;
1080 rotation = display.getRotation();
1093 return "ConfigInfo: {displayId=" + displayId + " rotation=" + rotation
1105 dest.writeInt(rotation);
1111 rotation = in.readInt();
DWindowManagerStateHelper.java194 public void waitForRotation(int rotation) { in waitForRotation() argument
195 waitForWithAmState(state -> state.getRotation() == rotation, "Rotation: " + rotation); in waitForRotation()

12