Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedActivityImpl.java83 private int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; field in ParsedActivityImpl
118 this.screenOrientation = other.screenOrientation; in ParsedActivityImpl()
152 activity.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in makeAppDetailsActivity()
181 alias.screenOrientation = target.getScreenOrientation(); in makeAlias()
307 dest.writeInt(this.screenOrientation); in writeToParcel()
346 this.screenOrientation = in.readInt(); in ParsedActivityImpl()
408 int screenOrientation, in ParsedActivityImpl() argument
433 this.screenOrientation = screenOrientation; in ParsedActivityImpl()
519 return screenOrientation; in getScreenOrientation()
641 screenOrientation = value; in setScreenOrientation()
H A DParsedActivityUtils.java178 …int screenOrientation = sa.getInt(R.styleable.AndroidManifestActivity_screenOrientation, SCREEN_OR… in parseActivityOrReceiver() local
179 int resizeMode = getActivityResizeMode(pkg, sa, screenOrientation); in parseActivityOrReceiver()
180 activity.setScreenOrientation(screenOrientation) in parseActivityOrReceiver()
533 int screenOrientation) { in getActivityResizeMode() argument
555 if (ActivityInfo.isFixedOrientationPortrait(screenOrientation)) { in getActivityResizeMode()
557 } else if (ActivityInfo.isFixedOrientationLandscape(screenOrientation)) { in getActivityResizeMode()
559 } else if (screenOrientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) { in getActivityResizeMode()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java819 public int screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; field in ActivityInfo
1559 screenOrientation = orig.screenOrientation; in ActivityInfo()
1610 return isFixedOrientation(screenOrientation); in isFixedOrientation()
1630 return isFixedOrientationLandscape(screenOrientation); in isFixedOrientationLandscape()
1649 return isFixedOrientationPortrait(screenOrientation); in isFixedOrientationPortrait()
1894 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED in dump()
1896 pw.println(prefix + "screenOrientation=" + screenOrientation in dump()
1956 dest.writeInt(screenOrientation); in writeToParcel()
2082 screenOrientation = source.readInt(); in ActivityInfo()
H A DPackageParser.java4282 a.info.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in generateAppDetailsHiddenActivity()
4457 a.info.screenOrientation = sa.getInt( in parseActivity()
4939 info.screenOrientation = target.info.screenOrientation;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DNotificationShadeWindowControllerImplTest.java309 assertThat(mLayoutParameters.getValue().screenOrientation) in rotationBecameAllowed_layoutParamsUpdated()
324 assertThat(mLayoutParameters.getValue().screenOrientation) in rotationBecameNotAllowed_layoutParamsUpdated()
352 assertThat(mLayoutParameters.getValue().screenOrientation) in bouncerShowing_OrientationNoSensor()
/aosp14/frameworks/base/core/java/android/view/
H A DWindowManager.java3850 public int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; field in WindowManager.LayoutParams
4824 out.writeInt(screenOrientation); in writeToParcel()
4896 screenOrientation = in.readInt(); in LayoutParams()
5100 if (screenOrientation != o.screenOrientation) { in copyFrom()
5101 screenOrientation = o.screenOrientation; in copyFrom()
5349 if (screenOrientation != ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) { in toString()
5351 sb.append(ActivityInfo.screenOrientationToString(screenOrientation)); in toString()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSizeCompatTests.java553 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testNotApplyStrategyToTranslucentActivitiesOverEmbeddedActivities()
2418 prepareLimitedBounds(activity, screenOrientation, isUnresizable);
4784 @ScreenOrientation int screenOrientation) {
4789 .setScreenOrientation(screenOrientation)
4796 static void prepareUnresizable(ActivityRecord activity, int screenOrientation) {
4797 prepareUnresizable(activity, -1 /* maxAspect */, screenOrientation);
4801 int screenOrientation) {
4815 int screenOrientation, boolean isUnresizable) {
4829 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED) {
4830 activity.info.screenOrientation = screenOrientation;
[all …]
H A DTaskLaunchParamsModifierTests.java598 mActivity.info.screenOrientation = displayBounds.width() > displayBounds.height() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp()
899 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testLaunchesPortraitSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
918 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testLaunchesLandscapeSizeCompatOnFreeformLandscapeDisplayWithFreeformSizeCompat()
934 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testLaunchesPortraitUnresizableOnFreeformDisplayWithFreeformSizeCompat()
1358 mActivity.info.screenOrientation = SCREEN_ORIENTATION_NOSENSOR; in testUsesDisplayOrientationForNoSensorOrientation()
1382 mActivity.info.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testRespectsAppRequestedOrientation_Landscape()
1399 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRespectsAppRequestedOrientation_Portrait()
1730 mActivity.info.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testRotatesInPlaceInitialBoundsMismatchOrientation()
H A DWindowTestsBase.java1192 ActivityBuilder setScreenOrientation(int screenOrientation) { in setScreenOrientation() argument
1193 mScreenOrientation = screenOrientation; in setScreenOrientation()
1297 aInfo.screenOrientation = mScreenOrientation; in buildInner()
H A DDisplayContentTests.java923 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in testOrientationDefinedByKeyguard()
928 keyguard.mAttrs.screenOrientation = SCREEN_ORIENTATION_PORTRAIT; in testOrientationDefinedByKeyguard()
954 window.mAttrs.screenOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testOrientationForAspectRatio()
964 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio()
974 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio()
H A DDisplayAreaTest.java458 win.mAttrs.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; in testGetOrientation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DNotificationShadeWindowControllerImpl.java369 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER; in adjustScreenOrientation()
371 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; in adjustScreenOrientation()
374 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in adjustScreenOrientation()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayArea.java712 final int req = w.mAttrs.screenOrientation;
743 int req = win.mAttrs.screenOrientation; in getOrientation()
H A DTaskLaunchParamsModifier.java706 int orientation = activity.info.screenOrientation; in resolveOrientation()
H A DDisplayRotation.java2170 ? w.mAttrs.screenOrientation
H A DActivityTaskManagerService.java1480 a.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in startDreamActivityInternal()
H A DActivityRecord.java2039 setOrientation(info.screenOrientation); in ActivityRecord()
/aosp14/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraServiceProxy.java520 task.topActivityInfo.screenOrientation);
523 task.topActivityInfo.screenOrientation);
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/
H A DPackageInfoUtils.java524 ai.screenOrientation = a.getScreenOrientation(); in generateActivityInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java5621 lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt1401 field public static final int screenOrientation = 16842782; // 0x101001e
11735 field public int screenOrientation;
54102 field public int screenOrientation;
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt76354 Lcom/android/internal/R$attr;->screenOrientation:I