/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | WindowManagerJetpackTestBase.java | 23 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/ |
D | SidecarTest.java | 20 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()
|
D | ExtensionWindowLayoutComponentTest.java | 20 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/ |
D | AppConfigurationTests.java | 26 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()
|
D | WindowInsetsPolicyTest.java | 19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 136 .mFullConfiguration.orientation == ORIENTATION_PORTRAIT; in testForcedConsumedTopInsets()
|
D | PinnedStackTests.java | 154 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()
|
D | KeyguardTests.java | 385 : Configuration.ORIENTATION_PORTRAIT); in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | ThemeRebaseTest.java | 50 config.orientation = Configuration.ORIENTATION_PORTRAIT; in before()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | AttachedSurfaceControlTest.java | 19 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/ |
D | Camera2MultiViewTestCase.java | 164 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/ |
D | CameraBokehActivity.java | 700 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/ |
D | BaseRenderer.java | 308 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getDeviceRotation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | TestActivity.java | 143 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in lockRotation()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 50 mConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in makeConfiguration() 755 config.orientation = Configuration.ORIENTATION_PORTRAIT; in createConfig()
|
D | ConfigTest.java | 229 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/ |
D | DecodeAccuracyTestBase.java | 615 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in rotateOrientation()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 654 c1.orientation = Configuration.ORIENTATION_PORTRAIT; in testGetResources_withConfig()
|