Home
last modified time | relevance | path

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

12

/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsRotationResolverServiceDeviceTest.java18 import static android.view.Surface.ROTATION_0;
103 CtsTestRotationResolverService.respondSuccess(ROTATION_0); in testRotationResolverService_OnSuccess()
106 assertThat(getLastTestCallbackCode()).isEqualTo(ROTATION_0); in testRotationResolverService_OnSuccess()
136 ROTATION_0, ROTATION_90, FAKE_SHOULD_USE_CAMERA, FAKE_TIME_OUT); in testRotationResolutionRequest_ConstructorSetsValues()
140 assertThat(request.getCurrentRotation()).isEqualTo(ROTATION_0); in testRotationResolutionRequest_ConstructorSetsValues()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DOverrideConfigTests.java21 import static android.view.Surface.ROTATION_0;
47 rotationSession.set(ROTATION_0); in testReceiveOverrideConfigFromRelayout()
DDockConfigChangeTests.java150 return Surface.ROTATION_0; in rotationDegreesToConst()
DConfigChangeTests.java31 import static android.view.Surface.ROTATION_0;
135 rotationSession, ROTATION_0 /* before */, ROTATION_180 /* after */, in testRotation180WithCutout()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DRotationSession.java21 import static android.view.Surface.ROTATION_0;
96 final boolean waitSystemUI = value == ROTATION_0 && mPreviousDegree != ROTATION_0; in set()
DTestTaskOrganizer.java428 t.setGeometry(leash, sourceCrop, sourceCrop, Surface.ROTATION_0); in addTask()
440 t.setGeometry(leash, sourceCrop, mPrimaryBounds, Surface.ROTATION_0); in addTask()
452 t.setGeometry(leash, sourceCrop, mSecondaryBounds, Surface.ROTATION_0); in addTask()
467 t.setGeometry(leash, sourceCrop, bounds, Surface.ROTATION_0); in addTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java43 import static android.view.Surface.ROTATION_0;
147 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
170 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingWhileDocked()
196 rotationSession.set(ROTATION_0); in testConfigurationUpdatesWhenRotatingToSideFromDocked()
218 final int[] rotations = { ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0 }; in rotateAndCheckSizes()
523 rotationSession.set(ROTATION_0); in testTranslucentActivityPermitted()
633 rotationSession.set(ROTATION_0); in testAppOrientationWhenRotating()
637 final int[] rotations = { ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0 }; in testAppOrientationWhenRotating()
691 rotationSession.set(ROTATION_0); in assertDisplayContextDoesntChangeOrientationWhenRotating()
716 final int[] rotations = {ROTATION_270, ROTATION_180, ROTATION_90, ROTATION_0}; in assertDisplayContextDoesntChangeOrientationWhenRotating()
[all …]
DCompatChangeTests.java66 import static android.view.Surface.ROTATION_0;
271 ROTATION_0, () -> mWmState.getRotation()); in testOverrideUseDisplayLandscapeNaturalOrientation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DRoundedCornerTests.java29 import static android.view.Surface.ROTATION_0;
129 if (rotation != ROTATION_0) { in verifyRoundedCorners()
175 return ROTATION_0; in getRotation()
193 return ROTATION_0; in getRotation()
DWindowInsetsPolicyTest.java21 import static android.view.Surface.ROTATION_0;
142 rotationSession.set(rotation == ROTATION_0 || rotation == ROTATION_180 in testForcedConsumedTopInsets()
143 ? ROTATION_90 : ROTATION_0); in testForcedConsumedTopInsets()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java352 assertEquals(Surface.ROTATION_0, display.getRotation()); in testVirtualDisplayRotatesWithContent()
366 assertEquals(Surface.ROTATION_0, display.getRotation()); in testVirtualDisplayRotatesWithContent()
386 assertEquals(Surface.ROTATION_0, display.getRotation()); in testVirtualDisplayDoesNotRotateWithContent()
393 assertEquals(Surface.ROTATION_0, display.getRotation()); in testVirtualDisplayDoesNotRotateWithContent()
399 assertEquals(Surface.ROTATION_0, display.getRotation()); in testVirtualDisplayDoesNotRotateWithContent()
449 Surface.ROTATION_0, display.getRotation()); in assertDisplayRegistered()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java61 if (getRotation() == Surface.ROTATION_0) { in setActivityOrientation()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/display/
DDisplay.kt82 Surface.ROTATION_0 -> DisplayProperties.ScreenOrientation.PORTRAIT in display()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingPolicyTests.java32 import static android.view.Surface.ROTATION_0;
228 final int[] rotations = { ROTATION_0, ROTATION_90 }; in testIgnoreOrientationRequestForActivityEmbeddingSplits()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java163 case Surface.ROTATION_0: in getRequiredRotation()
DRVCVRecordActivity.java74 private int mDeviceRotation = Surface.ROTATION_0;
235 if (mDeviceRotation != Surface.ROTATION_0 && mDeviceRotation != Surface.ROTATION_180) { in switchAxis()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt56 const val ORIENTATION_0 = Surface.ROTATION_0
/cts/libs/input/src/com/android/cts/input/
DUinputTouchDevice.kt33 Surface.ROTATION_0 -> Point(x, y) in rotateFromScreenToTouchDeviceSpace()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDreamManagerServiceTests.java192 rotationSession.set(Surface.ROTATION_0); in testDreamNotFinishAfterRotation()
/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/activity/lifecycle/
DActivityLifecycleTests.java71 import static android.view.Surface.ROTATION_0;
538 case ROTATION_0: in testRelaunchConfigurationChangedWhileBecomingVisible()
544 rotationSession.set(ROTATION_0); in testRelaunchConfigurationChangedWhileBecomingVisible()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java184 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/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java608 case Surface.ROTATION_0: displayRotationDegrees = 0; break; in getDisplayRotation()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java160 case Surface.ROTATION_0: in updatePreviewDisplayRotation()

12