Searched refs:getRequestedConfigurationOrientation (Results 1 – 15 of 15) sorted by relevance
97 assertThat(activity.getRequestedConfigurationOrientation(true /* forDisplay */)) in testGetRequestedOrientationForDisplay()104 assertThat(activity.getRequestedConfigurationOrientation(true /* forDisplay */)) in testGetRequestedOrientationForDisplay()111 assertThat(activity.getRequestedConfigurationOrientation(true /* forDisplay */)) in testGetRequestedOrientationForDisplay()
70 when(mMockActivityRecord.getRequestedConfigurationOrientation()).thenReturn( in setUp()132 when(mMockActivityRecord.getRequestedConfigurationOrientation()).thenReturn( in testIsRotationLockEnforced_portraitActivity_lockedWhenRotatingToLandscape()148 when(mMockActivityRecord.getRequestedConfigurationOrientation()).thenReturn( in testIsRotationLockEnforced_responsiveActivity_lockNotEnforced()
488 .getRequestedConfigurationOrientation()); in checkTopOrientation()
471 .getRequestedConfigurationOrientation(anyBoolean()); in testCheckRotationAfterCleanup()
426 doReturn(requestedOrientation).when(activity).getRequestedConfigurationOrientation(); in testSingleActivityTaskEnterPip()
966 window.getRequestedConfigurationOrientation()); in testOrientationForAspectRatio()
2423 final int topOrientation = activityTop.getRequestedConfigurationOrientation(); in testOrientationForScreenOrientationBehind()
125 if (activityRecord.getRequestedConfigurationOrientation() == ORIENTATION_UNDEFINED) { in isRotationLockEnforcedLocked()131 return activityRecord.getRequestedConfigurationOrientation() in isRotationLockEnforcedLocked()
154 return switch (topActivity.getRequestedConfigurationOrientation()) { in getCameraCompatMode()174 int orientation = activity.getRequestedConfigurationOrientation(); in isTreatmentEnabledForActivity()
131 topActivity.getRequestedConfigurationOrientation() == ORIENTATION_PORTRAIT; in getOrientationInternal()284 && activity.getRequestedConfigurationOrientation() != ORIENTATION_UNDEFINED in isTreatmentEnabledForActivity()
299 mInheritedOrientation = opaqueActivity.getRequestedConfigurationOrientation(); in inheritFromOpaque()
4669 if (fromActivity.getRequestedConfigurationOrientation() in transferStartingWindow()4670 != getRequestedConfigurationOrientation()) { in transferStartingWindow()8086 int getRequestedConfigurationOrientation(boolean forDisplay) { in getRequestedConfigurationOrientation() method in ActivityRecord8087 return getRequestedConfigurationOrientation(forDisplay, getOverrideOrientation()); in getRequestedConfigurationOrientation()8100 int getRequestedConfigurationOrientation(boolean forDisplay, in getRequestedConfigurationOrientation() method in ActivityRecord8119 return belowCandidate.getRequestedConfigurationOrientation(forDisplay); in getRequestedConfigurationOrientation()8122 return super.getRequestedConfigurationOrientation(forDisplay, requestedOrientation); in getRequestedConfigurationOrientation()8160 final int requestedOrientation = getRequestedConfigurationOrientation(); in onCancelFixedRotationTransform()8187 if (getRequestedConfigurationOrientation(false, requestedOrientation) in setRequestedOrientation()8188 != getRequestedConfigurationOrientation(false /*forDisplay */)) { in setRequestedOrientation()[all …]
1535 int getRequestedConfigurationOrientation() { in getRequestedConfigurationOrientation() method in WindowContainer1536 return getRequestedConfigurationOrientation(false /* forDisplay */); in getRequestedConfigurationOrientation()1553 int getRequestedConfigurationOrientation(boolean forDisplay) { in getRequestedConfigurationOrientation() method in WindowContainer1554 return getRequestedConfigurationOrientation(forDisplay, getOverrideOrientation()); in getRequestedConfigurationOrientation()1572 int getRequestedConfigurationOrientation(boolean forDisplay, in getRequestedConfigurationOrientation() method in WindowContainer1629 if (getConfiguration().orientation != getRequestedConfigurationOrientation() in setOrientation()
1834 if (r.inMultiWindowMode() || r.getRequestedConfigurationOrientation(true /* forDisplay */) in rotationForActivityInDifferentOrientation()6959 if (source == null || source.getRequestedConfigurationOrientation( in shouldDeferRotation()
25595 PLcom/android/server/wm/ActivityRecord;->getRequestedConfigurationOrientation(Z)I25596 PLcom/android/server/wm/ActivityRecord;->getRequestedConfigurationOrientation(ZI)I29256 PLcom/android/server/wm/WindowContainer;->getRequestedConfigurationOrientation()I29257 PLcom/android/server/wm/WindowContainer;->getRequestedConfigurationOrientation(ZI)I