Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedActivityImpl.java83 private int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; field in ParsedActivityImpl
115 this.screenOrientation = other.screenOrientation; in ParsedActivityImpl()
148 activity.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in makeAppDetailsActivity()
177 alias.screenOrientation = target.getScreenOrientation(); in makeAlias()
302 dest.writeInt(this.screenOrientation); in writeToParcel()
340 this.screenOrientation = in.readInt(); in ParsedActivityImpl()
401 int screenOrientation, in ParsedActivityImpl() argument
425 this.screenOrientation = screenOrientation; in ParsedActivityImpl()
510 return screenOrientation; in getScreenOrientation()
627 screenOrientation = value; in setScreenOrientation()
DParsedActivityUtils.java177 …int screenOrientation = sa.getInt(R.styleable.AndroidManifestActivity_screenOrientation, SCREEN_OR… in parseActivityOrReceiver() local
178 int resizeMode = getActivityResizeMode(pkg, sa, screenOrientation); in parseActivityOrReceiver()
179 activity.setScreenOrientation(screenOrientation) in parseActivityOrReceiver()
511 int screenOrientation) { in getActivityResizeMode() argument
533 if (ActivityInfo.isFixedOrientationPortrait(screenOrientation)) { in getActivityResizeMode()
535 } else if (ActivityInfo.isFixedOrientationLandscape(screenOrientation)) { in getActivityResizeMode()
537 } else if (screenOrientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) { in getActivityResizeMode()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java774 public int screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; field in ActivityInfo
1496 screenOrientation = orig.screenOrientation; in ActivityInfo()
1546 return isFixedOrientation(screenOrientation); in isFixedOrientation()
1566 return isFixedOrientationLandscape(screenOrientation); in isFixedOrientationLandscape()
1585 return isFixedOrientationPortrait(screenOrientation); in isFixedOrientationPortrait()
1825 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED in dump()
1827 pw.println(prefix + "screenOrientation=" + screenOrientation in dump()
1884 dest.writeInt(screenOrientation); in writeToParcel()
2009 screenOrientation = source.readInt(); in ActivityInfo()
DPackageParser.java4282 a.info.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in generateAppDetailsHiddenActivity()
4457 a.info.screenOrientation = sa.getInt( in parseActivity()
4939 info.screenOrientation = target.info.screenOrientation;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java305 assertThat(mLayoutParameters.getValue().screenOrientation) in rotationBecameAllowed_layoutParamsUpdated()
320 assertThat(mLayoutParameters.getValue().screenOrientation) in rotationBecameNotAllowed_layoutParamsUpdated()
348 assertThat(mLayoutParameters.getValue().screenOrientation) in bouncerShowing_OrientationNoSensor()
/frameworks/base/core/java/android/view/
DWindowManager.java3515 public int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; field in WindowManager.LayoutParams
4374 out.writeInt(screenOrientation); in writeToParcel()
4444 screenOrientation = in.readInt(); in LayoutParams()
4644 if (screenOrientation != o.screenOrientation) { in copyFrom()
4645 screenOrientation = o.screenOrientation; in copyFrom()
4883 if (screenOrientation != ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) { in toString()
4885 sb.append(ActivityInfo.screenOrientationToString(screenOrientation)); in toString()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java532 mActivity.info.screenOrientation = displayBounds.width() > displayBounds.height() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp()
800 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testLaunchesPortraitSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
819 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testLaunchesLandscapeSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
835 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testLaunchesPortraitUnresizableOnFreeformDisplayWithFreeformSizeCompat()
1259 mActivity.info.screenOrientation = SCREEN_ORIENTATION_NOSENSOR; in testUsesDisplayOrientationForNoSensorOrientation()
1283 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testRespectsAppRequestedOrientation_Landscape()
1300 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRespectsAppRequestedOrientation_Portrait()
1631 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRotatesInPlaceInitialBoundsMismatchOrientation()
DSizeCompatTests.java4401 @ScreenOrientation int screenOrientation) {
4406 .setScreenOrientation(screenOrientation)
4413 static void prepareUnresizable(ActivityRecord activity, int screenOrientation) {
4414 prepareUnresizable(activity, -1 /* maxAspect */, screenOrientation);
4418 int screenOrientation) {
4419 prepareLimitedBounds(activity, maxAspect, screenOrientation, true /* isUnresizable */);
4422 static void prepareLimitedBounds(ActivityRecord activity, int screenOrientation,
4424 prepareLimitedBounds(activity, -1 /* maxAspect */, screenOrientation, isUnresizable);
4432 int screenOrientation, boolean isUnresizable) {
4446 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED) {
[all …]
DWindowTestsBase.java1094 ActivityBuilder setScreenOrientation(int screenOrientation) { in setScreenOrientation() argument
1095 mScreenOrientation = screenOrientation; in setScreenOrientation()
1194 aInfo.screenOrientation = mScreenOrientation; in buildInner()
DDisplayContentTests.java914 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in testOrientationDefinedByKeyguard()
919 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard()
945 window.mAttrs.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testOrientationForAspectRatio()
955 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio()
965 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio()
DDisplayAreaTest.java458 win.mAttrs.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testGetOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java364 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER; in adjustScreenOrientation()
366 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; in adjustScreenOrientation()
369 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in adjustScreenOrientation()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java661 final int req = w.mAttrs.screenOrientation;
692 int req = win.mAttrs.screenOrientation; in getOrientation()
DTaskLaunchParamsModifier.java689 int orientation = activity.info.screenOrientation; in resolveOrientation()
DDisplayRotation.java2113 ? w.mAttrs.screenOrientation
DActivityTaskManagerService.java1487 a.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in startDreamActivity()
DActivityRecord.java2008 setOrientation(info.screenOrientation); in ActivityRecord()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java510 task.topActivityInfo.screenOrientation);
513 task.topActivityInfo.screenOrientation);
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DPackageInfoWithoutStateUtils.java538 ai.screenOrientation = a.getScreenOrientation(); in generateActivityInfoUnchecked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5242 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/core/api/
Dcurrent.txt1281 field public static final int screenOrientation = 16842782; // 0x101001e
11088 field public int screenOrientation;
51570 field public int screenOrientation;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76354 Lcom/android/internal/R$attr;->screenOrientation:I