Home
last modified time | relevance | path

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

/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsRotationResolverServiceDeviceTest.java18 import static android.view.Surface.ROTATION_0;
102 CtsTestRotationResolverService.respondSuccess(ROTATION_0); in testRotationResolverService_OnSuccess()
105 assertThat(getLastTestCallbackCode()).isEqualTo(ROTATION_0); in testRotationResolverService_OnSuccess()
135 ROTATION_0, ROTATION_90, FAKE_SHOULD_USE_CAMERA, FAKE_TIME_OUT); in testRotationResolutionRequest_ConstructorSetsValues()
139 assertThat(request.getCurrentRotation()).isEqualTo(ROTATION_0); in testRotationResolutionRequest_ConstructorSetsValues()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java43 import static android.view.Surface.ROTATION_0;
145 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
168 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
194 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
216 final int[] rotations = { ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0 }; in rotateAndCheckSizes()
532 rotationSession.set(ROTATION_0); in testTranslucentActivityPermitted()
640 rotationSession.set(ROTATION_0); in testAppOrientationWhenRotating()
644 final int[] rotations = { ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0 }; in testAppOrientationWhenRotating()
698 rotationSession.set(ROTATION_0); in assertDisplayContextDoesntChangeOrientationWhenRotating()
723 final int[] rotations = {ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0}; in assertDisplayContextDoesntChangeOrientationWhenRotating()
[all …]
DSurfaceControlTest.java264 .setGeometry(sc, null, new Rect(-50, -50, 50, 50), Surface.ROTATION_0) in testSetGeometry_dstBoundsOffScreen()
296 .setGeometry(sc, null, new Rect(50, 50, 150, 150), Surface.ROTATION_0) in testSetGeometry_dstBoundsOnScreen()
331 Surface.ROTATION_0) in testSetGeometry_dstBoundsScaled()
DConfigChangeTests.java30 import static android.view.Surface.ROTATION_0;
128 rotationSession, ROTATION_0 /* before */, ROTATION_180 /* after */, in testRotation180WithCutout()
DWindowInsetsPolicyTest.java22 import static android.view.Surface.ROTATION_0;
139 rotationSession.set(naturalOrientationPortrait ? ROTATION_90 : ROTATION_0); in testForcedConsumedTopInsets()
DDreamManagerServiceTests.java206 rotationSession.set(Surface.ROTATION_0); in testDreamNotFinishAfterRotation()
DPinnedStackTests.java146 private static final int ROTATION_0 = 0; field in PinnedStackTests
238 rotationSession.set(ROTATION_0); in testPinnedStackInBoundsAfterRotation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java393 t.setGeometry(leash, sourceCrop, sourceCrop, Surface.ROTATION_0); in addTask()
405 t.setGeometry(leash, sourceCrop, mPrimaryBounds, Surface.ROTATION_0); in addTask()
417 t.setGeometry(leash, sourceCrop, mSecondaryBounds, Surface.ROTATION_0); in addTask()
432 t.setGeometry(leash, sourceCrop, bounds, Surface.ROTATION_0); in addTask()
DActivityManagerTestBase.java101 import static android.view.Surface.ROTATION_0;
1680 final boolean waitSystemUI = value == ROTATION_0 && mPreviousDegree != ROTATION_0;
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java61 if (getRotation() == Surface.ROTATION_0) { in setActivityOrientation()
DFrameRateCtsActivity.java205 transaction.setGeometry(mSurfaceControl, null, destFrame, Surface.ROTATION_0) in TestSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java163 case Surface.ROTATION_0: in getRequiredRotation()
DRVCVRecordActivity.java75 private int mDeviceRotation = Surface.ROTATION_0;
236 if (mDeviceRotation != Surface.ROTATION_0 && mDeviceRotation != Surface.ROTATION_180) { in switchAxis()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java299 case Surface.ROTATION_0: in getDeviceRotation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java46 import static android.view.Surface.ROTATION_0;
504 case ROTATION_0: in testRelaunchConfigurationChangedWhileBecomingVisible()
510 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java168 case Surface.ROTATION_0: in rotate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java134 case Surface.ROTATION_0: in lockRotation()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java325 Surface.ROTATION_0, display.getRotation()); in assertDisplayRegistered()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java149 case Surface.ROTATION_0: in updatePreviewDisplayRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java568 case Surface.ROTATION_0: degrees = 0; break; in calculateOrientations()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java459 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java694 case Surface.ROTATION_0: degrees = 0; break; in configurePreviewTextureTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java856 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera()