Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DActivityInfo.java668 public int screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; field in ActivityInfo
995 screenOrientation = orig.screenOrientation; in ActivityInfo()
1045 || screenOrientation == SCREEN_ORIENTATION_LOCKED; in isFixedOrientation()
1053 return isFixedOrientationLandscape(screenOrientation); in isFixedOrientationLandscape()
1072 return isFixedOrientationPortrait(screenOrientation); in isFixedOrientationPortrait()
1156 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED in dump()
1158 pw.println(prefix + "screenOrientation=" + screenOrientation in dump()
1208 dest.writeInt(screenOrientation); in writeToParcel()
1339 screenOrientation = source.readInt(); in ActivityInfo()
DPackageParser.java4346 a.info.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in generateAppDetailsHiddenActivity()
4521 a.info.screenOrientation = sa.getInt( in parseActivity()
4967 info.screenOrientation = target.info.screenOrientation; in parseActivityAlias()
/frameworks/base/core/java/android/view/
DWindowManager.java2348 public int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; field in WindowManager.LayoutParams
2766 out.writeInt(screenOrientation); in writeToParcel()
2822 screenOrientation = in.readInt(); in LayoutParams()
2999 if (screenOrientation != o.screenOrientation) { in copyFrom()
3000 screenOrientation = o.screenOrientation; in copyFrom()
3150 if (screenOrientation != ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) { in toString()
3152 sb.append(ActivityInfo.screenOrientationToString(screenOrientation)); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java256 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER; in adjustScreenOrientation()
258 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; in adjustScreenOrientation()
261 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in adjustScreenOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java531 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in testOrientationDefinedByKeyguard()
536 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard()
560 window.mAttrs.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testOrientationForAspectRatio()
570 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio()
DTaskLaunchParamsModifierTests.java825 mActivity.info.screenOrientation = SCREEN_ORIENTATION_NOSENSOR; in testUsesDisplayOrientationForNoSensorOrientation()
849 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testRespectsAppRequestedOrientation_Landscape()
866 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRespectsAppRequestedOrientation_Portrait()
1066 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRotatesInPlaceInitialBoundsMismatchOrientation()
DActivityDisplayTests.java352 activity.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testHandleActivitySizeCompatMode()
DActivityRecordTests.java523 mActivity.info.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testSizeCompatMode_FixedScreenBoundsWhenDisplaySizeChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1127 info.screenOrientation, mRotationAnimationHint, in createAppWindowToken()
2694 return info.screenOrientation; in getOrientation()
2739 final int screenOrientation = getOrientation(); in getRequestedConfigurationOrientation() local
2740 if (screenOrientation == ActivityInfo.SCREEN_ORIENTATION_NOSENSOR) { in getRequestedConfigurationOrientation()
2746 } else if (screenOrientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) { in getRequestedConfigurationOrientation()
2749 } else if (isFixedOrientationLandscape(screenOrientation)) { in getRequestedConfigurationOrientation()
2751 } else if (isFixedOrientationPortrait(screenOrientation)) { in getRequestedConfigurationOrientation()
DTaskLaunchParamsModifier.java449 int orientation = activity.info.screenOrientation; in resolveOrientation()
DDisplayContent.java4684 final int req = w.mAttrs.screenOrientation;
4712 final int req = win.mAttrs.screenOrientation; in getOrientation()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4947 lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; in showBootMessage()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1041 field public static final int screenOrientation = 16842782; // 0x101001e
8349 field public int screenOrientation;
24878 … static final java.lang.String EXTRA_SCREEN_ORIENTATION = "android.intent.extra.screenOrientation";
34793 field public int screenOrientation;
/frameworks/base/non-updatable-api/
Dcurrent.txt1167 field public static final int screenOrientation = 16842782; // 0x101001e
11056 field public int screenOrientation;
38582 …eld public static final String EXTRA_SCREEN_ORIENTATION = "android.intent.extra.screenOrientation";
53296 field public int screenOrientation;
/frameworks/base/api/
Dcurrent.txt1167 field public static final int screenOrientation = 16842782; // 0x101001e
11056 field public int screenOrientation;
38726 …eld public static final String EXTRA_SCREEN_ORIENTATION = "android.intent.extra.screenOrientation";
53440 field public int screenOrientation;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90783 Lcom/android/internal/R$attr;->screenOrientation:I