Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 31) 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/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/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/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py79 def rotation_matrix(rotation): argument
87 x = rotation[0]
88 y = rotation[1]
89 z = rotation[2]
90 w = rotation[3]
353 rotation = np.array(props_physical[i]['android.lens.poseRotation'])
355 print ' rotation:', rotation
356 assert len(rotation) == 4, 'poseRotation has wrong # of params.'
357 r[i] = rotation_matrix(rotation)
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java242 int width, int height, int rotation, int quality, in TestConfig() argument
249 mRotation = rotation; in TestConfig()
280 Builder setRotation(int rotation) { in setRotation() argument
281 mRotation = rotation; in setRotation()
325 String filename, int width, int height, int rotation, boolean useGrid, int numImages) in verifyResult() argument
342 assertEquals("Wrong rotation", rotation, in verifyResult()
/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/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/
DConfigChangeTests.java257 for (int rotation = 0; rotation < 4; rotation += rotationStep) { in testRotation()
259 rotationSession.set(rotation); in testRotation()
DAppConfigurationTests.java196 for (final int rotation : rotations) { in rotateAndCheckSizes()
198 rotationSession.set(rotation); in rotateAndCheckSizes()
591 for (final int rotation : rotations) { in testAppOrientationWhenRotating()
593 rotationSession.set(rotation); in testAppOrientationWhenRotating()
637 for (final int rotation : rotations) { in testFixedOrientationWhenRotating()
639 rotationSession.set(rotation); in testFixedOrientationWhenRotating()
DSplitScreenTests.java469 for (int rotation = ROTATION_0; rotation <= ROTATION_270; rotation++) { in testMinimizeAndUnminimizeThenGoingHome()
470 rotationSession.set(rotation); in testMinimizeAndUnminimizeThenGoingHome()
DMultiDisplayPolicyTests.java247 for (int rotation = 3; rotation >= 0; --rotation) { in rotateAndCheckSameSizes()
248 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.java311 int rotation, int quality, in TestConfig() argument
320 mRotation = rotation; in TestConfig()
367 Builder setRotation(int rotation) { in setRotation() argument
368 mRotation = rotation; in setRotation()
611 String filename, int width, int height, int rotation, in verifyResult() argument
626 assertEquals("Wrong rotation", rotation, in verifyResult()
DMediaMetadataRetrieverTest.java701 int resId, int width, int height, int rotation, in testGetImage() argument
727 assertEquals("Wrong rotation", rotation, in testGetImage()
/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/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java967 public int rotation;
981 rotation = display.getRotation();
988 return "ConfigInfo: {displayId=" + displayId + " rotation=" + rotation
1000 dest.writeInt(rotation);
1006 rotation = in.readInt();
DActivityAndWindowManagersState.java278 void waitForRotation(int rotation) { in waitForRotation() argument
279 waitForWithWmState(state -> state.getRotation() == rotation, in waitForRotation()
280 "***Waiting for Rotation: " + rotation); in waitForRotation()
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.txt17 which test certificates were used to generate a proof-of-rotation object,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java559 int rotation = activity.getWindowManager().getDefaultDisplay() in calculateOrientations() local
562 switch (rotation) { in calculateOrientations()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rs697 const float rotation = 90.f; // Rotation is in degrees.
701 rsMatrixLoadRotate(&m4RotatingMatrix, rotation, x, y, z);
705 const float inRadians = radians(rotation); // rotation * float(M_PI) / 180.0f;
737 rsMatrixRotate(&m4, rotation, x, y, z);

12