Home
last modified time | relevance | path

Searched refs:ScreenOrientation (Results 1 – 22 of 22) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java42 import com.android.resources.ScreenOrientation;
74 .setOrientation(ScreenOrientation.PORTRAIT)
89 .setOrientation(ScreenOrientation.PORTRAIT)
104 .setOrientation(ScreenOrientation.LANDSCAPE)
119 .setOrientation(ScreenOrientation.LANDSCAPE)
134 .setOrientation(ScreenOrientation.PORTRAIT)
155 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT;
277 public ConfigGenerator setOrientation(ScreenOrientation orientation) { in setOrientation()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java21 import com.android.resources.ScreenOrientation;
39 private ScreenOrientation mOrientation;
53 float ydpi, ScreenSize screenSize, ScreenOrientation orientation, in RemoteHardwareConfig()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java651 public @interface ScreenOrientation {} annotation in ActivityInfo
773 @ScreenOrientation
1553 public static boolean isFixedOrientation(@ScreenOrientation int orientation) { in isFixedOrientation()
1573 public static boolean isFixedOrientationLandscape(@ScreenOrientation int orientation) { in isFixedOrientationLandscape()
1592 public static boolean isFixedOrientationPortrait(@ScreenOrientation int orientation) { in isFixedOrientationPortrait()
1603 @ActivityInfo.ScreenOrientation
1604 public static int reverseOrientation(@ActivityInfo.ScreenOrientation int orientation) { in reverseOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationCompatPolicyTests.java53 import android.content.pm.ActivityInfo.ScreenOrientation;
441 @ScreenOrientation int activityOrientation, in testGetOrientationForActivityAndNaturalOrientations()
443 @ScreenOrientation int expectedOrientation) { in testGetOrientationForActivityAndNaturalOrientations()
515 private void configureActivity(@ScreenOrientation int activityOrientation) { in configureActivity()
519 private void configureActivityAndDisplay(@ScreenOrientation int activityOrientation, in configureActivityAndDisplay()
DSizeCompatTests.java91 import android.content.pm.ActivityInfo.ScreenOrientation;
4401 @ScreenOrientation int screenOrientation) {
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotationCompatPolicy.java44 import android.content.pm.ActivityInfo.ScreenOrientation;
122 @ScreenOrientation
157 @ScreenOrientation
168 @ScreenOrientation
DDisplayArea.java39 import android.content.pm.ActivityInfo.ScreenOrientation;
147 @ScreenOrientation
159 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
238 boolean shouldIgnoreOrientationRequest(@ScreenOrientation int orientation) { in shouldIgnoreOrientationRequest()
682 @ScreenOrientation
DDisplayAreaGroup.java54 @ActivityInfo.ScreenOrientation
DDisplayRotation.java54 import android.content.pm.ActivityInfo.ScreenOrientation;
139 @ScreenOrientation
147 @ScreenOrientation
435 @ScreenOrientation
440 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation()
1166 int rotationForOrientation(@ScreenOrientation int orientation, in rotationForOrientation()
2085 final @ActivityInfo.ScreenOrientation int mSourceOrientation;
DLetterboxUiController.java94 import android.content.pm.ActivityInfo.ScreenOrientation;
402 boolean shouldIgnoreRequestedOrientation(@ScreenOrientation int requestedOrientation) { in shouldIgnoreRequestedOrientation()
548 @ScreenOrientation
549 int overrideOrientationIfNeeded(@ScreenOrientation int candidate) { in overrideOrientationIfNeeded()
DWindowContainer.java77 import android.content.pm.ActivityInfo.ScreenOrientation;
184 @ScreenOrientation
1482 @ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation()
1517 void setOrientation(@ScreenOrientation int orientation) { in setOrientation()
1529 void setOrientation(@ScreenOrientation int orientation, in setOrientation()
1554 @ScreenOrientation
1570 @ScreenOrientation
1571 int getOrientation(@ScreenOrientation int candidate) { in getOrientation()
1626 @ScreenOrientation
1631 protected void setOverrideOrientation(@ScreenOrientation int orientation) { in setOverrideOrientation()
DTaskDisplayArea.java44 import android.content.pm.ActivityInfo.ScreenOrientation;
637 @ScreenOrientation
638 int getOrientation(@ScreenOrientation int candidate) {
1876 boolean canSpecifyOrientation(@ScreenOrientation int orientation) {
DDisplayContent.java170 import android.content.pm.ActivityInfo.ScreenOrientation;
1514 @ScreenOrientation
1613 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
2720 @ScreenOrientation
5134 @ScreenOrientation
5135 int getOrientation(@ScreenOrientation int candidate) { in getOrientation()
DTaskFragment.java1827 @ActivityInfo.ScreenOrientation
1829 int getOrientation(@ActivityInfo.ScreenOrientation int candidate) { in getOrientation()
DActivityRecord.java7762 @ActivityInfo.ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation()
7841 void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) { in setRequestedOrientation()
7931 @ActivityInfo.ScreenOrientation
DTask.java146 import android.content.pm.ActivityInfo.ScreenOrientation;
2690 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
/frameworks/base/core/proto/android/content/
Dactivityinfo.proto22 enum ScreenOrientation { enum
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java28 import com.android.resources.ScreenOrientation;
384 ScreenOrientation orientation = hardwareConfig.getOrientation(); in getConfiguration()
DLayout.java36 import com.android.resources.ScreenOrientation;
524 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE) { in findNavBar()
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto53 …entation = 8 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation", deprecated…
150 optional .android.content.ActivityInfoProto.ScreenOrientation orientation = 4;
278 …32 last_orientation = 5 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
504 …l int32 orientation = 2 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
/frameworks/base/core/java/android/app/
DActivity.java6959 public void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) {
6976 @ActivityInfo.ScreenOrientation
/frameworks/base/core/java/android/view/
DWindowManager.java3514 @ActivityInfo.ScreenOrientation