Home
last modified time | relevance | path

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

/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DInCallOrientationEventListener.java50 public @interface ScreenOrientation {} annotation in InCallOrientationEventListener
71 @ScreenOrientation private static int currentOrientation = SCREEN_ORIENTATION_0;
95 @ScreenOrientation
178 @ScreenOrientation
H A DInCallPresenter.java62 import com.android.incallui.InCallOrientationEventListener.ScreenOrientation;
1757 public void onDeviceOrientationChange(@ScreenOrientation int orientation) { in onDeviceOrientationChange()
1969 void onDeviceOrientationChanged(@ScreenOrientation int orientation); in onDeviceOrientationChanged()
/aosp12/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteHardwareConfig.java21 import com.android.resources.ScreenOrientation;
39 private ScreenOrientation mOrientation;
53 float ydpi, ScreenSize screenSize, ScreenOrientation orientation, in RemoteHardwareConfig()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java596 public @interface ScreenOrientation {} annotation in ActivityInfo
718 @ScreenOrientation
1257 public boolean hasFixedAspectRatio(@ScreenOrientation int orientation) { in hasFixedAspectRatio()
1282 public static boolean isFixedOrientationLandscape(@ScreenOrientation int orientation) { in isFixedOrientationLandscape()
1301 public static boolean isFixedOrientationPortrait(@ScreenOrientation int orientation) { in isFixedOrientationPortrait()
1312 @ActivityInfo.ScreenOrientation
1313 public static int reverseOrientation(@ActivityInfo.ScreenOrientation int orientation) { in reverseOrientation()
1409 public float getMinAspectRatio(@ScreenOrientation int orientation) { in getMinAspectRatio()
/aosp12/frameworks/base/core/proto/android/content/
H A Dactivityinfo.proto22 enum ScreenOrientation { enum
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayAreaGroup.java54 @ActivityInfo.ScreenOrientation
H A DDisplayRotation.java47 import android.content.pm.ActivityInfo.ScreenOrientation;
112 @ScreenOrientation
120 @ScreenOrientation
367 @ScreenOrientation
372 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation()
1116 int rotationForOrientation(@ScreenOrientation int orientation, in rotationForOrientation()
H A DWindowContainer.java148 @ActivityInfo.ScreenOrientation
1281 @ActivityInfo.ScreenOrientation
H A DDisplayContent.java164 import android.content.pm.ActivityInfo.ScreenOrientation;
1413 @ScreenOrientation
2648 @ScreenOrientation
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java28 import com.android.resources.ScreenOrientation;
378 ScreenOrientation orientation = hardwareConfig.getOrientation(); in getConfiguration()
H A DLayout.java37 import com.android.resources.ScreenOrientation;
525 if (hwConfig.getOrientation() == ScreenOrientation.LANDSCAPE) { in findNavBar()
/aosp12/frameworks/base/core/proto/android/server/
H A Dwindowmanagerservice.proto53 …entation = 8 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation", deprecated…
137 optional .android.content.ActivityInfoProto.ScreenOrientation orientation = 4;
261 …32 last_orientation = 5 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
482 …l int32 orientation = 2 [(.android.typedef) = "android.content.pm.ActivityInfo.ScreenOrientation"];
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSizeCompatTests.java76 import android.content.pm.ActivityInfo.ScreenOrientation;
2270 @ScreenOrientation int screenOrientation) { in buildActivityRecord()
/aosp12/frameworks/base/core/java/android/app/
H A DActivity.java6724 public void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) {
6741 @ActivityInfo.ScreenOrientation
/aosp12/frameworks/base/core/java/android/view/
H A DWindowManager.java3071 @ActivityInfo.ScreenOrientation