Home
last modified time | relevance | path

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

12

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/
H A DRotationHelper.java20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
185 SCREEN_ORIENTATION_LOCKED : SCREEN_ORIENTATION_UNSPECIFIED; in notifyChange()
188 SCREEN_ORIENTATION_LOCKED : SCREEN_ORIENTATION_UNSPECIFIED; in notifyChange()
193 activityFlags = SCREEN_ORIENTATION_UNSPECIFIED; in notifyChange()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSizeCompatTests.java24 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
170 prepareUnresizable(mActivity, -1f, SCREEN_ORIENTATION_UNSPECIFIED); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
512 prepareUnresizable(mActivity, 1.5f, SCREEN_ORIENTATION_UNSPECIFIED); in testFixedScreenLayoutSizeBits()
530 prepareUnresizable(mActivity, 1.5f, SCREEN_ORIENTATION_UNSPECIFIED); in testResetNonVisibleActivity()
1318 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, in testDisplayIgnoreOrientationRequest_fixedOrientationAppLaunchedLetterbox()
1349 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio()
1379 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio()
1411 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride()
1758 SCREEN_ORIENTATION_UNSPECIFIED, /* isUnresizable= */ true); in testUnresizableApp_isSandboxed()
1771 SCREEN_ORIENTATION_UNSPECIFIED, /* isUnresizable= */ true); in testUnresizableMaxAspectApp_isSandboxed()
[all …]
H A DDisplayRotationTests.java21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
244 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_90)); in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
477 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsSensorRotation_RotationThawed()
546 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsUserRotation_SensorEnabled_RotationLocked()
581 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsLidOpenRotation_LidOpen()
594 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_90)); in testReturnsCarDockRotation_CarDockedMode()
607 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_90)); in testReturnsDeskDockRotation_DeskDockedMode()
633 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsUserRotation_NonDefaultDisplay()
H A DTaskStackChangedListenerTest.java364 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in testNotifyTaskRequestedOrientationChanged()
368 assertEquals(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, taskIdAndOrientation[1]); in testNotifyTaskRequestedOrientationChanged()
H A DDualDisplayAreaGroupPolicyTest.java21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
142 assertThat(mDisplay.getLastOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSPECIFIED); in testNotIgnoreOrientationRequest_onlyRespectsFocusedTaskDisplayArea()
H A DWindowContainerTests.java24 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
529 SCREEN_ORIENTATION_UNSPECIFIED); in testGetOrientation_childSpecified()
555 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, root.getOrientation()); in testGetOrientation_Unset()
616 visibleUnspecifiedRootChild.setOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in testGetOrientation_fillsParent()
H A DTaskTests.java33 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
472 task.getRootActivity().setOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in testBoundsOnModeChangeFreeformToFullscreen()
534 top.setRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in testFullscreenBoundsForcedOrientation()
1392 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, display.getLastOrientation()); in testTaskOrientationOnDisplayWindowingModeChange()
H A DWindowOrganizerTests.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
440 assertThat(mDisplayContent.getLastOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSPECIFIED); in testSetIgnoreOrientationRequest_taskDisplayArea()
461 assertThat(mDisplayContent.getLastOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSPECIFIED); in testSetIgnoreOrientationRequest_taskDisplayArea()
484 assertThat(mDisplayContent.getLastOrientation()).isEqualTo(SCREEN_ORIENTATION_UNSPECIFIED); in testSetIgnoreOrientationRequest_displayContent()
H A DWindowTestsBase.java30 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
931 private int mScreenOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayArea.java21 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
195 || lastOrientation == SCREEN_ORIENTATION_UNSPECIFIED) { in setIgnoreOrientationRequest()
545 int mLastKeyguardForcedOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
577 if (req == SCREEN_ORIENTATION_UNSPECIFIED || req == SCREEN_ORIENTATION_BEHIND
611 if (req != SCREEN_ORIENTATION_UNSET && req != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
H A DDisplayRotation.java19 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
113 private int mCurrentAppOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
121 private int mLastOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
1197 || orientation == ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED in rotationForOrientation()
1331 case ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED: in isValidRotationChoice()
1393 case ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED: in isRotationChoicePossible()
H A DTaskLaunchParamsModifier.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
674 orientation = SCREEN_ORIENTATION_UNSPECIFIED; in resolveOrientation()
757 return SCREEN_ORIENTATION_UNSPECIFIED; in convertOrientationToScreenOrientation()
776 if (orientation == SCREEN_ORIENTATION_UNSPECIFIED) { in resolveOrientation()
H A DTaskDisplayArea.java33 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
793 return SCREEN_ORIENTATION_UNSPECIFIED;
801 return SCREEN_ORIENTATION_UNSPECIFIED;
H A DWindowContainer.java23 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
149 protected int mOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
1309 && mOrientation != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
1334 if (wc.fillsParent() || orientation != SCREEN_ORIENTATION_UNSPECIFIED) { in getOrientation()
H A DDisplayContent.java32 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
2656 mDisplayId, SCREEN_ORIENTATION_UNSPECIFIED); in getOrientation()
2657 return SCREEN_ORIENTATION_UNSPECIFIED; in getOrientation()
2679 SCREEN_ORIENTATION_UNSPECIFIED, mDisplayId); in getOrientation()
2680 return SCREEN_ORIENTATION_UNSPECIFIED; in getOrientation()
H A DActivityClientController.java652 ? r.getRequestedOrientation() : ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in getRequestedOrientation()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java578 SCREEN_ORIENTATION_UNSPECIFIED,
611 public static final int SCREEN_ORIENTATION_UNSPECIFIED = -1; field in ActivityInfo
719 public int screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED;
1523 if (screenOrientation != SCREEN_ORIENTATION_UNSPECIFIED in dump()
1630 case SCREEN_ORIENTATION_UNSPECIFIED: in screenOrientationToString()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/
H A DParsedActivity.java22 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
66 int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
132 activity.screenOrientation = SCREEN_ORIENTATION_UNSPECIFIED; in makeAppDetailsActivity()
H A DParsedActivityUtils.java20 import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
171 …= sa.getInt(R.styleable.AndroidManifestActivity_screenOrientation, SCREEN_ORIENTATION_UNSPECIFIED); in parseActivityOrReceiver()
/aosp12/frameworks/base/core/proto/android/content/
H A Dactivityinfo.proto24 SCREEN_ORIENTATION_UNSPECIFIED = -1; enumerator
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DMovieView.java59 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DMovieActivity.java106 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowControllerImpl.java332 mLpChanged.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; in adjustScreenOrientation()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeper.java418 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); in onCreate()
/aosp12/frameworks/base/core/java/android/view/
H A DWindowManager.java3072 public int screenOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
4406 if (screenOrientation != ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) { in toString()

12