Home
last modified time | relevance | path

Searched refs:ORIENTATION_LANDSCAPE (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DAttachedSurfaceControlTest.java18 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
139 return currentOrientation == ORIENTATION_LANDSCAPE ? ORIENTATION_PORTRAIT in getRequestedOrientation()
140 : ORIENTATION_LANDSCAPE; in getRequestedOrientation()
148 requestedOrientation == ORIENTATION_LANDSCAPE in setRequestedOrientation()
164 == ORIENTATION_LANDSCAPE) { in testOnBufferTransformHintChangesFromLandToSea()
168 ORIENTATION_LANDSCAPE, hint -> transformHintResult[0] = hint); in testOnBufferTransformHintChangesFromLandToSea()
172 setRequestedOrientation(activity, ORIENTATION_LANDSCAPE); in testOnBufferTransformHintChangesFromLandToSea()
185 ORIENTATION_LANDSCAPE, hint -> transformHintResult[1] = hint); in testOnBufferTransformHintChangesFromLandToSea()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java296 int naturalOrientation = Configuration.ORIENTATION_LANDSCAPE; in getDeviceRotation()
307 naturalOrientation = (configOrientation == Configuration.ORIENTATION_LANDSCAPE) ? in getDeviceRotation()
308 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getDeviceRotation()
318 if (naturalOrientation == Configuration.ORIENTATION_LANDSCAPE) { in getDeviceRotation()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSidecarTest.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
124 ORIENTATION_LANDSCAPE); in testSidecarInterface_onWindowLayoutChangeListener()
224 ORIENTATION_LANDSCAPE); in testGetWindowLayoutInfo_configChanged_windowLayoutUpdates()
248 ORIENTATION_LANDSCAPE); in testGetWindowLayoutInfo_windowRecreated_windowLayoutUpdates()
DExtensionWindowLayoutComponentTest.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
171 ORIENTATION_LANDSCAPE); in testGetWindowLayoutInfo_configChanged_windowLayoutUpdates()
196 ORIENTATION_LANDSCAPE); in testGetWindowLayoutInfo_windowRecreated_windowLayoutUpdates()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java22 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
123 assertTrue(orientation == ORIENTATION_PORTRAIT || orientation == ORIENTATION_LANDSCAPE);
141 assertTrue(orientation == ORIENTATION_PORTRAIT || orientation == ORIENTATION_LANDSCAPE);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java131 int naturalOrientation = Configuration.ORIENTATION_LANDSCAPE; in lockRotation()
142 naturalOrientation = (configOrientation == Configuration.ORIENTATION_LANDSCAPE) ? in lockRotation()
143 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in lockRotation()
156 if (naturalOrientation == Configuration.ORIENTATION_LANDSCAPE) { in lockRotation()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java63 == Configuration.ORIENTATION_LANDSCAPE) { in setActivityOrientation()
/cts/tests/tests/theme/src/android/theme/cts/
DThemeRebaseTest.java79 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeAndRebase()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java25 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
345 ORIENTATION_LANDSCAPE, reportedSizes.orientation); in testFullscreenAppOrientationRequests()
438 if (initialOrientation == ORIENTATION_LANDSCAPE) { in testAppOrientationRequestConfigClears()
507 ORIENTATION_LANDSCAPE, appConfigInfo.sizeInfo.orientation); in testRotatedInfoWithFixedRotationTransform()
509 ORIENTATION_LANDSCAPE, globalSizeInfo.orientation); in testRotatedInfoWithFixedRotationTransform()
592 waitForBroadcastActivityReady(ORIENTATION_LANDSCAPE); in testTaskCloseRestoreFreeOrientation()
DCompatChangeTests.java22 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
734 /* orientation= */ ORIENTATION_LANDSCAPE); in changeDisplayAspectRatioAndWait()
DPinnedStackTests.java152 private static final int ORIENTATION_LANDSCAPE = 0; field in PinnedStackTests
255 extraString(EXTRA_PIP_ORIENTATION, String.valueOf(ORIENTATION_LANDSCAPE))); in testEnterPipToOtherOrientation()
1092 mBroadcastActionTrigger.requestOrientationForPip(ORIENTATION_LANDSCAPE); in testSetRequestedOrientationWhilePinned()
1098 mWmState.waitForActivityOrientation(PIP_ACTIVITY, ORIENTATION_LANDSCAPE); in testSetRequestedOrientationWhilePinned()
1101 assertEquals(ORIENTATION_LANDSCAPE, pipActivityTask.mOverrideConfiguration.orientation); in testSetRequestedOrientationWhilePinned()
DKeyguardTests.java377 final int orientation = origDisplayOrientation == Configuration.ORIENTATION_LANDSCAPE in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
384 ? Configuration.ORIENTATION_LANDSCAPE in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
DMultiDisplayTestBase.java21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
302 if (orientation == ORIENTATION_LANDSCAPE) { in changeAspectRatio()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java381 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testAllEmptyConfigs()
613 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testAllClassicConfigs()
663 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testAllClassicConfigs()
827 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
840 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
878 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
891 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
917 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
930 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testNewScreenSize()
1000 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE); in testPrecedence()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java166 config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in updatePreviewDisplayRotation()
169 deviceOrientation = Configuration.ORIENTATION_LANDSCAPE; in updatePreviewDisplayRotation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java701 if ((degrees % 180 == 0 && config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in configurePreviewTextureTransform()
703 deviceOrientation = Configuration.ORIENTATION_LANDSCAPE; in configurePreviewTextureTransform()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1759 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE && orientations.size() > 1) { in testClipToScreenClipsToInsets()
1997 if (currentOrientation == Configuration.ORIENTATION_LANDSCAPE) { in testFocusAfterOrientation()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java659 c2.orientation = Configuration.ORIENTATION_LANDSCAPE; in testGetResources_withConfig()