/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaGroupTest.java | 22 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()
|
D | TaskSnapshotPersisterTestBase.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 223 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 24 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 133 ORIENTATION_PORTRAIT); in testIsRotationLockEnforced_portraitActivity_lockedWhenRotatingToLandscape()
|
D | ContentRecorderTests.java | 24 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()
|
D | DisplayRotationCompatPolicyTests.java | 28 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/ |
D | DisplayAreaGroup.java | 21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 93 if (newParentConfiguration.orientation == ORIENTATION_PORTRAIT) { in resolveOverrideConfiguration() 96 resolvedConfig.orientation = ORIENTATION_PORTRAIT; in resolveOverrideConfiguration()
|
D | DisplayRotationImmersiveAppCompatPolicy.java | 21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 150 return ORIENTATION_PORTRAIT; in surfaceRotationToConfigurationOrientation()
|
D | DisplayRotationCompatPolicy.java | 28 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 131 topActivity.getRequestedConfigurationOrientation() == ORIENTATION_PORTRAIT; in getOrientationInternal() 133 mDisplayContent.getNaturalOrientation() == ORIENTATION_PORTRAIT; in getOrientationInternal()
|
D | CameraCompatFreeformPolicy.java | 22 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/ |
D | RotationUtils.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 131 orientation = ORIENTATION_PORTRAIT; in getResourcesForRotation()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 23 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/ |
D | RemoteInputQuickSettingsDisablerTest.kt | 104 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/ |
D | ConfigurationBoundResourceCacheTest.java | 98 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/ |
D | ResourcesThemePerfTest.java | 94 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/ |
D | ToastUI.java | 19 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/ |
D | VolumePanelState.kt | 35 orientation == Configuration.ORIENTATION_PORTRAIT ||
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/ |
D | VolumePanelComposeScope.kt | 36 get() = orientation == Configuration.ORIENTATION_PORTRAIT
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeUtils.kt | 25 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/ |
D | TestableBubblePositioner.java | 34 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 186 == ORIENTATION_PORTRAIT; in updateHalfFoldedConstraints() 230 == ORIENTATION_PORTRAIT; in updateConstraints()
|
D | KeyguardPatternView.java | 19 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/ |
D | VolumePanelViewModelTest.kt | 77 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/ |
D | TestableBubblePositioner.java | 36 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | EnterPipToOtherOrientation.kt | 37 …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/ |
D | SplitLayoutTests.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 200 configuration.orientation = ORIENTATION_PORTRAIT; in getConfiguration()
|