Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java59 public void init(Camera camera, float aspectRatio, int rotation) { in init() argument
62 mRotation = rotation; in init()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java72 public void onSetDeviceOrientation(int rotation) { in onSetDeviceOrientation() argument
73 mDeviceOrientation = rotation; in onSetDeviceOrientation()
DRemoteConnectionTest.java987 public void onSetDeviceOrientation(int rotation) { in testRemoteConnectionVideo_SetDeviceOrientation()
988 callbackInvoker.invoke(rotation); in testRemoteConnectionVideo_SetDeviceOrientation()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java181 public BatchRunConfiguration(String glConfig, String rotation, String surfaceType) { in BatchRunConfiguration() argument
183 mRotation = rotation; in BatchRunConfiguration()
1022 final String rotation; in parseRunConfig() local
1031 rotation = instanceArguments.get("rotation"); in parseRunConfig()
1033 rotation = DEFAULT_CONFIG.getRotation(); in parseRunConfig()
1041 return new BatchRunConfiguration(glConfig, rotation, surfaceType); in parseRunConfig()
1723 private boolean isPortraitClassRotation(String rotation) { in isPortraitClassRotation() argument
1724 return BatchRunConfiguration.ROTATION_PORTRAIT.equals(rotation) || in isPortraitClassRotation()
1725 BatchRunConfiguration.ROTATION_REVERSE_PORTRAIT.equals(rotation); in isPortraitClassRotation()
1728 private boolean isLandscapeClassRotation(String rotation) { in isLandscapeClassRotation() argument
[all …]
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DDeqpTestRunnerTest.java792 private void testOrientation(final String rotation, final String featureString) in testOrientation() argument
836 instance.get(testId).iterator().next().put("rotation", rotation); in testOrientation()
848 if (!rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_UNSPECIFIED)) { in testOrientation()
854 rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_PORTRAIT) || in testOrientation()
855 rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_REVERSE_PORTRAIT); in testOrientation()
857 rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_LANDSCAPE) || in testOrientation()
858 rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_REVERSE_LANDSCAPE); in testOrientation()
860 rotation.equals(DeqpTestRunner.BatchRunConfiguration.ROTATION_UNSPECIFIED) || in testOrientation()
878 + "--deqp-gl-minor-version=0", rotation)); in testOrientation()
886 CASE_LIST_FILE_NAME, rotation); in testOrientation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java519 int rotation = activity.getWindowManager().getDefaultDisplay() in calculateOrientations() local
522 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);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java653 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in setUpCamera() local
655 switch (rotation) { in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java395 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in setUpCamera() local
397 switch (rotation) { in setUpCamera()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java831 String rotation = retriever.extractMetadata(
835 assertNotNull(rotation);
836 assertEquals(Integer.parseInt(rotation), angle);