Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DTaskFragmentCreationParams.java27 import android.content.pm.ActivityInfo.ScreenOrientation;
113 private final @ScreenOrientation int mOverrideOrientation;
120 @ScreenOrientation int overrideOrientation) { in TaskFragmentCreationParams()
185 public @ScreenOrientation int getOverrideOrientation() { in getOverrideOrientation()
276 private @ScreenOrientation int mOverrideOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
367 public Builder setOverrideOrientation(@ScreenOrientation int overrideOrientation) { in setOverrideOrientation()
/frameworks/layoutlib/bridge/bridge_client/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/base/services/core/java/com/android/server/wm/
DDisplayRotationCompatPolicy.java38 import android.content.pm.ActivityInfo.ScreenOrientation;
72 @ScreenOrientation
109 @ScreenOrientation
120 @ScreenOrientation
DDisplayAreaGroup.java57 @ActivityInfo.ScreenOrientation
DDisplayArea.java40 import android.content.pm.ActivityInfo.ScreenOrientation;
154 @ScreenOrientation
166 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
245 boolean shouldIgnoreOrientationRequest(@ScreenOrientation int orientation) { in shouldIgnoreOrientationRequest()
784 @ScreenOrientation
DDisplayRotation.java56 import android.content.pm.ActivityInfo.ScreenOrientation;
149 @ScreenOrientation
157 @ScreenOrientation
475 @ScreenOrientation
480 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation()
570 @ScreenOrientation in updateRotationUnchecked()
1243 int rotationForOrientation(@ScreenOrientation int orientation, in rotationForOrientation()
2254 final @ActivityInfo.ScreenOrientation int mSourceOrientation;
DWindowContainer.java75 import android.content.pm.ActivityInfo.ScreenOrientation;
186 @ScreenOrientation
1573 @ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation()
1608 void setOrientation(@ScreenOrientation int orientation) { in setOrientation()
1620 void setOrientation(@ScreenOrientation int orientation, in setOrientation()
1645 @ScreenOrientation
1661 @ScreenOrientation
1662 int getOrientation(@ScreenOrientation int candidate) { in getOrientation()
1715 @ScreenOrientation
1720 protected void setOverrideOrientation(@ScreenOrientation int orientation) { in setOverrideOrientation()
DLetterboxUiController.java108 import android.content.pm.ActivityInfo.ScreenOrientation;
358 boolean shouldIgnoreRequestedOrientation(@ScreenOrientation int requestedOrientation) { in shouldIgnoreRequestedOrientation()
559 @ScreenOrientation
560 int overrideOrientationIfNeeded(@ScreenOrientation int candidate) { in overrideOrientationIfNeeded()
DTaskDisplayArea.java44 import android.content.pm.ActivityInfo.ScreenOrientation;
642 @ScreenOrientation
643 int getOrientation(@ScreenOrientation int candidate) {
1867 boolean canSpecifyOrientation(@ScreenOrientation int orientation) {
DTaskFragment.java1999 @ActivityInfo.ScreenOrientation
2001 int getOrientation(@ActivityInfo.ScreenOrientation int candidate) { in getOrientation()
2011 @ActivityInfo.ScreenOrientation
DDisplayContent.java173 import android.content.pm.ActivityInfo.ScreenOrientation;
1590 @ScreenOrientation
1715 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
2875 @ScreenOrientation
5323 @ScreenOrientation
5324 int getOrientation(@ScreenOrientation int candidate) { in getOrientation()
DActivityRecord.java8101 @ActivityInfo.ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation()
8180 void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) { in setRequestedOrientation()
8294 @ActivityInfo.ScreenOrientation
DTask.java145 import android.content.pm.ActivityInfo.ScreenOrientation;
2772 boolean handlesOrientationChangeFromDescendant(@ScreenOrientation int orientation) { in handlesOrientationChangeFromDescendant()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DCameraCompatFreeformPolicyTests.java52 import android.content.pm.ActivityInfo.ScreenOrientation;
283 private void configureActivity(@ScreenOrientation int activityOrientation) { in configureActivity()
287 private void configureActivity(@ScreenOrientation int activityOrientation, in configureActivity()
292 private void configureActivityAndDisplay(@ScreenOrientation int activityOrientation, in configureActivityAndDisplay()
DDisplayRotationCompatPolicyTests.java54 import android.content.pm.ActivityInfo.ScreenOrientation;
455 @ScreenOrientation int activityOrientation, in testGetOrientationForActivityAndNaturalOrientations()
457 @ScreenOrientation int expectedOrientation) { in testGetOrientationForActivityAndNaturalOrientations()
581 private void configureActivity(@ScreenOrientation int activityOrientation) { in configureActivity()
585 private void configureActivityAndDisplay(@ScreenOrientation int activityOrientation, in configureActivityAndDisplay()
DSizeCompatTests.java97 import android.content.pm.ActivityInfo.ScreenOrientation;
225 @ScreenOrientation int screenOrientation, float minAspectRatio, in testReachabilityEnabledForTranslucentActivity()
4766 @ScreenOrientation int screenOrientation) {
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java800 public @interface ScreenOrientation {}
922 @ScreenOrientation
1800 public static boolean isFixedOrientation(@ScreenOrientation int orientation) {
1820 public static boolean isFixedOrientationLandscape(@ScreenOrientation int orientation) {
1839 public static boolean isFixedOrientationPortrait(@ScreenOrientation int orientation) {
1850 @ActivityInfo.ScreenOrientation
1851 public static int reverseOrientation(@ActivityInfo.ScreenOrientation int orientation) {
/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;
405 ScreenOrientation orientation = hardwareConfig.getOrientation(); in getConfiguration()
DLayout.java37 import com.android.resources.ScreenOrientation;
555 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE && !mUseGestureNav) { in findNavBar()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperData.java30 import android.app.WallpaperManager.ScreenOrientation;
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto53 …entation = 8 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation", deprecated…
151 optional .android.content.ActivityInfoProto.ScreenOrientation orientation = 4;
280 …32 last_orientation = 5 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
392 …erride_orientation = 37 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
518 …l int32 orientation = 2 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
/frameworks/base/core/java/android/app/
DWallpaperManager.java319 public @interface ScreenOrientation {} annotation in WallpaperManager
356 public static @ScreenOrientation int getOrientation(Point screenSize) { in getOrientation()
369 public static @ScreenOrientation int getRotatedOrientation(@ScreenOrientation int orientation) { in getRotatedOrientation()
DActivity.java1005 @ActivityInfo.ScreenOrientation
7577 public void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) {
7598 @ActivityInfo.ScreenOrientation
/frameworks/base/core/java/android/view/
DWindowManager.java4039 @ActivityInfo.ScreenOrientation