/cts/tests/app/app/src/android/app/stubs/ |
D | OrientationTestUtils.java | 44 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/ |
D | OrientationActivity.java | 36 int orientation = getIntent().getIntExtra(EXTRA_ORIENTATION, -1); in onCreate() local 37 setRequestedOrientation(orientation); in onCreate()
|
D | ConfigurationScreenLayoutTest.java | 84 private Activity startOrientationActivity(int orientation) { in startOrientationActivity() argument 86 intent.putExtra(OrientationActivity.EXTRA_ORIENTATION, orientation); in startOrientationActivity()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ApplyOverrideConfigurationTest.java | 50 final int originalOrientation = config.orientation; in testOverriddenConfigurationIsPassedIntoCallback() 63 assertTrue(newConfig.orientation != originalOrientation); in testOverriddenConfigurationIsPassedIntoCallback()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 389 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 423 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 459 assertEquals(0f, coords.orientation); in testPointerCoordsDefaultConstructor() 472 coords.orientation = 9; in testPointerCoordsCopyConstructor() 484 assertEquals(9f, copy.orientation); in testPointerCoordsCopyConstructor() 498 coords.orientation = 9; in testPointerCoordsCopyFrom() 511 assertEquals(9f, copy.orientation); in testPointerCoordsCopyFrom()
|
D | OrientationEventListenerTest.java | 61 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument
|
D | OrientationListenerTest.java | 103 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 14 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/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 49 mConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in makeConfiguration() 62 cfg1.orientation = 2; in testCompareTo() 63 cfg2.orientation = 3; in testCompareTo() 65 cfg1.orientation = 3; in testCompareTo() 66 cfg2.orientation = 2; in testCompareTo() 257 config.orientation = 1; in testDiff() 641 config.orientation = Configuration.ORIENTATION_PORTRAIT; in createConfig()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 115 assertEquals(LineGestureStrokeHelper.LINE_ANGLE, box.orientation); in testComputeOrientedBoundingBox()
|
/cts/tests/openglperf2/assets/vertex/ |
D | perspective | 28 // Transform the normal\'s orientation into eye space.
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 92 Orientation orientation; in testSetOrientation() local 94 orientation = Orientation.BL_TR; in testSetOrientation() 95 gradientDrawable.setOrientation(orientation); in testSetOrientation() 97 orientation, gradientDrawable.getOrientation()); in testSetOrientation()
|
D | ClipDrawableTest.java | 338 public MockClipDrawable(Drawable drawable, int gravity, int orientation) { in MockClipDrawable() argument 339 super(drawable, gravity, orientation); in MockClipDrawable()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | NativeMediaActivity.java | 69 Log.w(TAG, "configuration changed " + newConfig.orientation); in onConfigurationChanged()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 113 public final int orientation; field in ExifInterfaceTest.ExpectedValue 156 orientation = typedArray.getInt(26, 0); in ExpectedValue() 319 assertIntTag(exifInterface, ExifInterface.TAG_ORIENTATION, expectedValue.orientation); in compareWithExpectedValue()
|
D | DecodeAccuracyTestBase.java | 434 final int orientation = context.getResources().getConfiguration().orientation; in rotateOrientation() 435 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in rotateOrientation()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 164 config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in updatePreviewDisplayRotation() 166 config.orientation == Configuration.ORIENTATION_PORTRAIT))) { in updatePreviewDisplayRotation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 535 mJpegOrientation = (info.orientation + degrees) % 360; in calculateOrientations() 538 mJpegOrientation = (info.orientation - degrees + 360) % 360; in calculateOrientations()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 509 int endSpacing, float orientation, long duration) { in createPinch() argument 530 matrix.setRotate(orientation); in createPinch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 663 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/ |
D | CameraFormatsActivity.java | 405 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera() 408 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | BasePrintTest.java | 452 protected void changeOrientation(String orientation) in changeOrientation() argument 458 UiObject orientationOption = mUiDevice.findObject(new UiSelector().text(orientation)); in changeOrientation()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1749 int orientation = info.orientation; 1752 assertTrue(orientation == 0 || orientation == 90 || 1753 orientation == 180 || orientation == 270);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 506 mCameraInfo.orientation); in init()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2232 public ExifTestData(Location location, int orientation, in ExifTestData() argument 2235 jpegOrientation = orientation; in ExifTestData()
|