Home
last modified time | relevance | path

Searched refs:ORIENTATION_PORTRAIT (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaGroupTest.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
98 .isEqualTo(ORIENTATION_PORTRAIT); in testGetRequestedOrientationForDisplay()
112 .isEqualTo(ORIENTATION_PORTRAIT); in testGetRequestedOrientationForDisplay()
124 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
136 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
223 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
DDisplayRotationImmersiveAppCompatPolicyTests.java24 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
133 ORIENTATION_PORTRAIT); in testIsRotationLockEnforced_portraitActivity_lockedWhenRotatingToLandscape()
DContentRecorderTests.java24 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
236 mContentRecorder.onConfigurationChanged(ORIENTATION_PORTRAIT, WINDOWING_MODE_FULLSCREEN); in testOnConfigurationChanged_neverRecording()
250 mDisplayContent.getConfiguration().orientation == ORIENTATION_PORTRAIT in testOnConfigurationChanged_resizesSurface()
251 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testOnConfigurationChanged_resizesSurface()
330 config.orientation == ORIENTATION_PORTRAIT ? ORIENTATION_LANDSCAPE in testOnTaskOrientationConfigurationChanged_resizesSurface()
331 : ORIENTATION_PORTRAIT; in testOnTaskOrientationConfigurationChanged_resizesSurface()
DDisplayRotationCompatPolicyTests.java28 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
426 /* naturalOrientation */ ORIENTATION_PORTRAIT, in testGetOrientation_portraitActivity_portraitNaturalOrientation_returnPortrait()
442 /* naturalOrientation */ ORIENTATION_PORTRAIT, in testGetOrientation_landscapeActivity_portraitNaturalOrientation_returnLandscape()
582 configureActivityAndDisplay(activityOrientation, ORIENTATION_PORTRAIT); in configureActivity()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaGroup.java21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
93 if (newParentConfiguration.orientation == ORIENTATION_PORTRAIT) { in resolveOverrideConfiguration()
96 resolvedConfig.orientation = ORIENTATION_PORTRAIT; in resolveOverrideConfiguration()
DDisplayRotationImmersiveAppCompatPolicy.java21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
150 return ORIENTATION_PORTRAIT; in surfaceRotationToConfigurationOrientation()
DDisplayRotationCompatPolicy.java28 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
131 topActivity.getRequestedConfigurationOrientation() == ORIENTATION_PORTRAIT; in getOrientationInternal()
133 mDisplayContent.getNaturalOrientation() == ORIENTATION_PORTRAIT; in getOrientationInternal()
DCameraCompatFreeformPolicy.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
155 case ORIENTATION_PORTRAIT -> CameraCompatTaskInfo.CAMERA_COMPAT_FREEFORM_PORTRAIT; in getCameraCompatMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
131 orientation = ORIENTATION_PORTRAIT; in getResourcesForRotation()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java23 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
413 ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
444 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
464 processConfigPortrait.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
469 activityConfigPortrait.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
515 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
539 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
549 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
561 assertEquals(ORIENTATION_PORTRAIT, activity.mConfig.orientation); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
576 if (originalAppConfig.orientation == ORIENTATION_PORTRAIT) { in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.kt104 configuration.orientation = Configuration.ORIENTATION_PORTRAIT in whenPortrait_shouldNotDisableQs()
126 configuration.orientation = Configuration.ORIENTATION_PORTRAIT in whenConfigChanges_recomputeTriggered()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java98 Configuration.ORIENTATION_PORTRAIT in testVoidConfigChange()
122 Configuration.ORIENTATION_PORTRAIT in testEffectiveConfigChange()
151 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleResources()
195 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleThemes()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesThemePerfTest.java94 c.orientation = (c.orientation == Configuration.ORIENTATION_PORTRAIT) in setToDifferentAssetManager()
95 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in setToDifferentAssetManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
77 private int mOrientation = ORIENTATION_PORTRAIT;
199 mOrientation == ORIENTATION_PORTRAIT); in onConfigChanged() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelState.kt35 orientation == Configuration.ORIENTATION_PORTRAIT ||
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/
DVolumePanelComposeScope.kt36 get() = orientation == Configuration.ORIENTATION_PORTRAIT
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt25 import android.content.res.Configuration.ORIENTATION_PORTRAIT
70 ORIENTATION_PORTRAIT -> { in calculateInitialBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DTestableBubblePositioner.java34 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
186 == ORIENTATION_PORTRAIT; in updateHalfFoldedConstraints()
230 == ORIENTATION_PORTRAIT; in updateConstraints()
DKeyguardPatternView.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
167 == ORIENTATION_PORTRAIT; in updateHalfFoldedConstraints()
213 == ORIENTATION_PORTRAIT; in updateConstraints()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelViewModelTest.kt77 Configuration().apply { orientation = Configuration.ORIENTATION_PORTRAIT } in orientationChanges_panelOrientationChanges()
79 assertThat(volumePanelState!!.orientation).isEqualTo(Configuration.ORIENTATION_PORTRAIT) in orientationChanges_panelOrientationChanges()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DTestableBubblePositioner.java36 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DEnterPipToOtherOrientation.kt37 …oid.wm.shell.flicker.pip.common.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_PORTRAIT
99 stringExtras = mapOf(EXTRA_FIXED_ORIENTATION to ORIENTATION_PORTRAIT.toString()) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitLayoutTests.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
200 configuration.orientation = ORIENTATION_PORTRAIT; in getConfiguration()

12345