/cts/tests/tests/view/src/android/view/cts/ |
D | AttachedSurfaceControlTest.java | 18 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/ |
D | BaseRenderer.java | 296 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/ |
D | SidecarTest.java | 19 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()
|
D | ExtensionWindowLayoutComponentTest.java | 19 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/ |
D | WindowManagerJetpackTestBase.java | 22 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/ |
D | TestActivity.java | 131 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/ |
D | VulkanPreTransformCtsActivity.java | 63 == Configuration.ORIENTATION_LANDSCAPE) { in setActivityOrientation()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | ThemeRebaseTest.java | 79 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeAndRebase()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AppConfigurationTests.java | 25 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()
|
D | CompatChangeTests.java | 22 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 734 /* orientation= */ ORIENTATION_LANDSCAPE); in changeDisplayAspectRatioAndWait()
|
D | PinnedStackTests.java | 152 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()
|
D | KeyguardTests.java | 377 final int orientation = origDisplayOrientation == Configuration.ORIENTATION_LANDSCAPE in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation() 384 ? Configuration.ORIENTATION_LANDSCAPE in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
|
D | MultiDisplayTestBase.java | 21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 302 if (orientation == ORIENTATION_LANDSCAPE) { in changeAspectRatio()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigTest.java | 381 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/ |
D | Camera2MultiViewTestCase.java | 166 config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in updatePreviewDisplayRotation() 169 deviceOrientation = Configuration.ORIENTATION_LANDSCAPE; in updatePreviewDisplayRotation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 701 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/ |
D | PopupWindowTest.java | 1759 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/ |
D | PackageManagerTest.java | 659 c2.orientation = Configuration.ORIENTATION_LANDSCAPE; in testGetResources_withConfig()
|