Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 23 of 23) sorted by relevance

/cts/tests/app/src/android/app/cts/
DOrientationTestUtils.java44 final int originalOrientation = activity.getResources().getConfiguration().orientation; in toggleOrientationSync()
53 Instrumentation instrumentation, final int orientation) { in changeOrientation() argument
54 activity.setRequestedOrientation(orientation); in changeOrientation()
/cts/tests/tests/dpi/src/android/dpi/cts/
DOrientationActivity.java36 int orientation = getIntent().getIntExtra(EXTRA_ORIENTATION, -1); in onCreate() local
37 setRequestedOrientation(orientation); in onCreate()
DConfigurationScreenLayoutTest.java84 private Activity startOrientationActivity(int orientation) { in startOrientationActivity() argument
86 intent.putExtra(OrientationActivity.EXTRA_ORIENTATION, orientation); in startOrientationActivity()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java48 mConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in makeConfiguration()
61 cfg1.orientation = 2; in testCompareTo()
62 cfg2.orientation = 3; in testCompareTo()
64 cfg1.orientation = 3; in testCompareTo()
65 cfg2.orientation = 2; in testCompareTo()
223 config.orientation = 1; in testDiff()
364 config.orientation = Configuration.ORIENTATION_PORTRAIT; in createConfig()
DConfigTest.java119 mConfig.orientation = value; in setProperty()
/cts/tests/tests/view/src/android/view/cts/
DOrientationEventListenerTest.java61 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument
DMotionEventTest.java355 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
389 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
425 assertEquals(0f, coords.orientation); in testPointerCoordsDefaultConstructor()
438 coords.orientation = 9; in testPointerCoordsCopyConstructor()
450 assertEquals(9f, copy.orientation); in testPointerCoordsCopyConstructor()
464 coords.orientation = 9; in testPointerCoordsCopyFrom()
477 assertEquals(9f, copy.orientation); in testPointerCoordsCopyFrom()
DOrientationListenerTest.java103 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java14 package com.android.cts.verifier.camera.orientation;
437 private void setTestedConfiguration(int cameraId, int orientation) { in setTestedConfiguration() argument
439 + orientation in setTestedConfiguration()
557 Settings(int stageIndex, int cameraId, int orientation) { in Settings() argument
559 mOrientation = orientation; in Settings()
/cts/tests/tests/gesture/src/android/gesture/cts/
DGestureStrokeTest.java115 assertEquals(LineGestureStrokeHelper.LINE_ANGLE, box.orientation); in testComputeOrientedBoundingBox()
/cts/suite/cts/deviceTests/opengl/assets/vertex/
Dperspective28 // Transform the normal\'s orientation into eye space.
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java70 Log.w(TAG, "configuration changed " + newConfig.orientation); in onConfigurationChanged()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java164 config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in updatePreviewDisplayRotation()
166 config.orientation == Configuration.ORIENTATION_PORTRAIT))) { in updatePreviewDisplayRotation()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java338 public MockClipDrawable(Drawable drawable, int gravity, int orientation) { in MockClipDrawable() argument
339 super(drawable, gravity, orientation); in MockClipDrawable()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java288 protected void changeOrientation(String orientation) throws UiObjectNotFoundException { in changeOrientation() argument
293 UiObject orientationOption = new UiObject(new UiSelector().text(orientation)); in changeOrientation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java530 mJpegOrientation = (info.orientation + degrees) % 360; in calculateOrientations()
533 mJpegOrientation = (info.orientation - degrees + 360) % 360; in calculateOrientations()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java663 mVideoRotation = (info.orientation + degrees) % 360; in setUpCamera()
666 mVideoRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java405 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera()
408 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java1751 int orientation = info.orientation;
1754 assertTrue(orientation == 0 || orientation == 90 ||
1755 orientation == 180 || orientation == 270);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java496 mCameraInfo.orientation); in init()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java2104 public ExifTestData(Location location, int orientation, in ExifTestData() argument
2107 jpegOrientation = orientation; in ExifTestData()
DExtendedCameraCharacteristicsTest.java843 Integer orientation = c.get(CameraCharacteristics.SENSOR_ORIENTATION); in testDepthOutputCharacteristics() local
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...