/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 19 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 230 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, false, false); in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 242 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, false, false); in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest() 247 ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, Surface.ROTATION_90)); in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest() 254 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, false, false); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() 373 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, true, false); in testNotEnablesSensor_ForceDefaultRotation_Car() 386 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, false, true); in testNotEnablesSensor_ForceDefaultRotation_Tv() 478 final int rotation = mTarget.rotationForOrientation(SCREEN_ORIENTATION_LANDSCAPE, in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() 506 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, true, false); in testReturnsUserRotation_ForceDefaultRotation_Car() 515 configureDisplayRotation(SCREEN_ORIENTATION_LANDSCAPE, false, true); in testReturnsUserRotation_ForceDefaultRotation_Tv() [all …]
|
D | TaskStackTests.java | 19 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 72 appWindowToken1.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testClosingAppDifferentStackOrientation() 82 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation()); in testClosingAppDifferentStackOrientation() 92 appWindowToken1.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testMoveTaskToBackDifferentStackOrientation() 102 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation()); in testMoveTaskToBackDifferentStackOrientation()
|
D | AppWindowTokenTests.java | 23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 166 mToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testLandscapeSeascapeRotationByApp() 170 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mDisplayContent.getLastOrientation()); in testLandscapeSeascapeRotationByApp() 267 mToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testGetOrientation() 271 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation()); in testGetOrientation() 279 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, in testGetOrientation() 330 mToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testSetOrientation() 331 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation()); in testSetOrientation() 344 mToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testReportOrientationChangeOnVisibilityChange() 363 mToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testReportOrientationChangeOnOpeningClosingAppChange()
|
D | ConfigurationContainerTests.java | 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 81 rootParentConfig.orientation = SCREEN_ORIENTATION_LANDSCAPE; in testConfigurationInit() 151 childOverrideConfig1.orientation = SCREEN_ORIENTATION_LANDSCAPE; in testConfigurationChangePropagation() 300 childOverrideConfig1.orientation = SCREEN_ORIENTATION_LANDSCAPE; in testConfigurationConstraints()
|
D | DisplayContentTests.java | 19 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 527 window.mAppToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testOrientationDefinedByKeyguard() 534 SCREEN_ORIENTATION_LANDSCAPE, dc.getOrientation()); in testOrientationDefinedByKeyguard() 542 SCREEN_ORIENTATION_LANDSCAPE, dc.getOrientation()); in testOrientationDefinedByKeyguard() 560 window.mAttrs.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testOrientationForAspectRatio() 657 final int newOrientation = dc.getLastOrientation() == SCREEN_ORIENTATION_LANDSCAPE in testOnDescendantOrientationRequestChanged() 659 : SCREEN_ORIENTATION_LANDSCAPE; in testOnDescendantOrientationRequestChanged() 683 final int newOrientation = dc.getLastOrientation() == SCREEN_ORIENTATION_LANDSCAPE in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() 685 : SCREEN_ORIENTATION_LANDSCAPE; in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
|
D | WindowContainerTests.java | 20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 459 testGetOrientation_childSpecifiedConfig(false, SCREEN_ORIENTATION_LANDSCAPE, in testGetOrientation_childSpecified() 460 SCREEN_ORIENTATION_LANDSCAPE); in testGetOrientation_childSpecified() 500 invisibleChild1VisibleAndSet.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 502 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisibleChild1VisibleAndSet.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 505 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisible.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 507 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 513 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren()
|
D | TaskRecordTests.java | 24 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 292 setActivityRequestedOrientation(top, SCREEN_ORIENTATION_LANDSCAPE); in testFullscreenBoundsForcedOrientation() 301 setActivityRequestedOrientation(top, SCREEN_ORIENTATION_LANDSCAPE); in testFullscreenBoundsForcedOrientation()
|
D | TaskLaunchParamsModifierTests.java | 25 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 849 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testRespectsAppRequestedOrientation_Landscape() 854 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, orientationFromBounds(mResult.mBounds)); in testRespectsAppRequestedOrientation_Landscape() 1276 return bounds.width() > bounds.height() ? SCREEN_ORIENTATION_LANDSCAPE in orientationFromBounds()
|
D | ActivityRecordTests.java | 367 requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testSetRequestedOrientationUpdatesConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskLaunchParamsModifier.java | 23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; 458 case SCREEN_ORIENTATION_LANDSCAPE: in resolveOrientation() 460 orientation = SCREEN_ORIENTATION_LANDSCAPE; in resolveOrientation() 509 && orientation != SCREEN_ORIENTATION_LANDSCAPE) { in getTaskBounds() 547 return SCREEN_ORIENTATION_LANDSCAPE; in convertOrientationToScreenOrientation() 590 final int defaultWidth = (orientation == SCREEN_ORIENTATION_LANDSCAPE) ? portraitHeight in getDefaultFreeformSize() 592 final int defaultHeight = (orientation == SCREEN_ORIENTATION_LANDSCAPE) ? portraitWidth in getDefaultFreeformSize() 600 final int phoneWidth = (orientation == SCREEN_ORIENTATION_LANDSCAPE) ? phonePortraitHeight in getDefaultFreeformSize() 602 final int phoneHeight = (orientation == SCREEN_ORIENTATION_LANDSCAPE) ? phonePortraitWidth in getDefaultFreeformSize() 865 return bounds.width() > bounds.height() ? SCREEN_ORIENTATION_LANDSCAPE
|
D | DisplayRotation.java | 652 case ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE: in rotationForOrientation()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | OrientationUtil.java | 44 mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 528 SCREEN_ORIENTATION_LANDSCAPE, 565 public static final int SCREEN_ORIENTATION_LANDSCAPE = 0; field in ActivityInfo 1061 return orientation == SCREEN_ORIENTATION_LANDSCAPE in isFixedOrientationLandscape() 1267 case SCREEN_ORIENTATION_LANDSCAPE: in screenOrientationToString()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewAttachTest.java | 57 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in testAttached()
|
/frameworks/base/core/proto/android/content/ |
D | activityinfo.proto | 25 SCREEN_ORIENTATION_LANDSCAPE = 0; enumerator
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 55 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrActivity.java | 118 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onPostExecute()
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 53 setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); in onCreate()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8327 field public static final int SCREEN_ORIENTATION_LANDSCAPE = 0; // 0x0
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 11033 field public static final int SCREEN_ORIENTATION_LANDSCAPE = 0; // 0x0
|
/frameworks/base/api/ |
D | current.txt | 11033 field public static final int SCREEN_ORIENTATION_LANDSCAPE = 0; // 0x0
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 12806 Landroid/content/ActivityInfoProto;->SCREEN_ORIENTATION_LANDSCAPE:I
|