Home
last modified time | relevance | path

Searched refs:ORIENTATION_PORTRAIT (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java23 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
123 assertTrue(orientation == ORIENTATION_PORTRAIT || orientation == ORIENTATION_LANDSCAPE);
130 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
141 assertTrue(orientation == ORIENTATION_PORTRAIT || orientation == ORIENTATION_LANDSCAPE);
148 activity.setRequestedOrientation(orientation == ORIENTATION_PORTRAIT
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSidecarTest.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
110 ORIENTATION_PORTRAIT); in testSidecarInterface_onWindowLayoutChangeListener()
131 ORIENTATION_PORTRAIT); in testSidecarInterface_onWindowLayoutChangeListener()
217 ORIENTATION_PORTRAIT); in testGetWindowLayoutInfo_configChanged_windowLayoutUpdates()
241 ORIENTATION_PORTRAIT); in testGetWindowLayoutInfo_windowRecreated_windowLayoutUpdates()
DExtensionWindowLayoutComponentTest.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
164 ORIENTATION_PORTRAIT); in testGetWindowLayoutInfo_configChanged_windowLayoutUpdates()
190 ORIENTATION_PORTRAIT); in testGetWindowLayoutInfo_windowRecreated_windowLayoutUpdates()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java26 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
336 ORIENTATION_PORTRAIT, reportedSizes.orientation); in testFullscreenAppOrientationRequests()
354 ORIENTATION_PORTRAIT, reportedSizes.orientation); in testFullscreenAppOrientationRequests()
366 ORIENTATION_PORTRAIT, initialReportedSizes.orientation); in testTranslucentAppOrientationRequests()
440 } else if (initialOrientation == ORIENTATION_PORTRAIT) { in testAppOrientationRequestConfigClears()
561 waitForBroadcastActivityReady(ORIENTATION_PORTRAIT); in testTaskCloseRestoreFixedOrientation()
607 waitForBroadcastActivityReady(ORIENTATION_PORTRAIT); in testTaskCloseRestoreFreeOrientation()
718 assertEquals(ORIENTATION_PORTRAIT, in assertDisplayContextDoesntChangeOrientationWhenRotating()
731 assertEquals("Display context orientation must not be changed", ORIENTATION_PORTRAIT, in assertDisplayContextDoesntChangeOrientationWhenRotating()
803 waitForBroadcastActivityReady(ORIENTATION_PORTRAIT); in testTaskMoveToBackOrientation()
DWindowInsetsPolicyTest.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
136 .mFullConfiguration.orientation == ORIENTATION_PORTRAIT; in testForcedConsumedTopInsets()
DPinnedStackTests.java154 private static final int ORIENTATION_PORTRAIT = 1; field in PinnedStackTests
252 extraString(EXTRA_FIXED_ORIENTATION, String.valueOf(ORIENTATION_PORTRAIT))); in testEnterPipToOtherOrientation()
1086 extraString(EXTRA_PIP_ORIENTATION, String.valueOf(ORIENTATION_PORTRAIT)), in testSetRequestedOrientationWhilePinned()
DKeyguardTests.java385 : Configuration.ORIENTATION_PORTRAIT); in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
/cts/tests/tests/theme/src/android/theme/cts/
DThemeRebaseTest.java50 config.orientation = Configuration.ORIENTATION_PORTRAIT; in before()
/cts/tests/tests/view/src/android/view/cts/
DAttachedSurfaceControlTest.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
139 return currentOrientation == ORIENTATION_LANDSCAPE ? ORIENTATION_PORTRAIT in getRequestedOrientation()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java164 int deviceOrientation = Configuration.ORIENTATION_PORTRAIT; in updatePreviewDisplayRotation()
168 config.orientation == Configuration.ORIENTATION_PORTRAIT))) { in updatePreviewDisplayRotation()
175 if (deviceOrientation == Configuration.ORIENTATION_PORTRAIT) { in updatePreviewDisplayRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java700 int deviceOrientation = Configuration.ORIENTATION_PORTRAIT; in configurePreviewTextureTransform()
702 (degrees % 180 == 90 && config.orientation == Configuration.ORIENTATION_PORTRAIT)) { in configurePreviewTextureTransform()
707 if (deviceOrientation == Configuration.ORIENTATION_PORTRAIT) { in configurePreviewTextureTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java308 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getDeviceRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java143 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in lockRotation()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java50 mConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in makeConfiguration()
755 config.orientation = Configuration.ORIENTATION_PORTRAIT; in createConfig()
DConfigTest.java229 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_PORTRAIT); in makeClassicConfig()
904 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_PORTRAIT); in testNewScreenSize()
943 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_PORTRAIT); in testNewScreenSize()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java615 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in rotateOrientation()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java654 c1.orientation = Configuration.ORIENTATION_PORTRAIT; in testGetResources_withConfig()