/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() 123 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot() 135 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
|
D | TaskSnapshotPersisterTestBase.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 210 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
|
D | ActivityRecordTests.java | 37 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 335 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testNewParentConfigurationIncrementsSeq() 336 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testNewParentConfigurationIncrementsSeq() 355 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testSetsRelaunchReason_NotDragResizing() 357 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_NotDragResizing() 380 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testSetsRelaunchReason_DragResizing() 382 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_DragResizing() 407 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testRelaunchClearTopWaitingTranslucent() 409 : ORIENTATION_PORTRAIT; in testRelaunchClearTopWaitingTranslucent() 451 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testDestroyedActivityNotScheduleConfigChanged() [all …]
|
D | DualDisplayAreaGroupPolicyTest.java | 23 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 130 assertThat(mFirstActivity.getConfiguration().orientation).isEqualTo(ORIENTATION_PORTRAIT); in testNotIgnoreOrientationRequest_differentOrientationFromDisplay_reversesRequest() 360 assertThat(mFirstRoot.getConfiguration().orientation).isEqualTo(ORIENTATION_PORTRAIT); in testResizableFixedOrientationApp_fixedOrientationLetterboxing() 361 assertThat(mFirstActivity.getConfiguration().orientation).isEqualTo(ORIENTATION_PORTRAIT); in testResizableFixedOrientationApp_fixedOrientationLetterboxing() 379 assertThat(mFirstActivity.getConfiguration().orientation).isEqualTo(ORIENTATION_PORTRAIT); in testResizableFixedOrientationApp_fixedOrientationLetterboxing()
|
D | TaskSnapshotSurfaceTest.java | 21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 91 Color.RED, Color.BLUE), sysuiVis, windowFlags, 0, taskBounds, ORIENTATION_PORTRAIT, in setupSurface() 102 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in createTaskSnapshot()
|
D | WindowProcessControllerTests.java | 22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 417 config.orientation = config.orientation == ORIENTATION_PORTRAIT in invertOrientation() 418 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in invertOrientation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaGroup.java | 21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 90 if (newParentConfiguration.orientation == ORIENTATION_PORTRAIT) { in resolveOverrideConfiguration() 93 resolvedConfig.orientation = ORIENTATION_PORTRAIT; in resolveOverrideConfiguration()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 269 ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() 298 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder() 360 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() 384 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() 394 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() 406 assertEquals(ORIENTATION_PORTRAIT, activity.mConfig.orientation); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() 421 if (originalAppConfig.orientation == ORIENTATION_PORTRAIT) { in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation() 439 newAppConfig.orientation = newAppConfig.orientation == ORIENTATION_PORTRAIT in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation() 440 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 18 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 109 orientation = ORIENTATION_PORTRAIT; in getResourcesForRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSPanelTest.java | 123 mContext.getResources().getConfiguration().orientation = Configuration.ORIENTATION_PORTRAIT; in testSecurityFooterAtEndNoMedia_portrait() 135 mContext.getResources().getConfiguration().orientation = Configuration.ORIENTATION_PORTRAIT; in testSecurityFooterRightBeforeMedia_portrait() 151 mContext.getResources().getConfiguration().orientation = Configuration.ORIENTATION_PORTRAIT; in testSecurityFooterRightBeforeMedia_portrait_configChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisablerTest.java | 76 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape() 89 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 91 Configuration.ORIENTATION_PORTRAIT in testVoidConfigChange() 114 Configuration.ORIENTATION_PORTRAIT in testEffectiveConfigChange() 140 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleResources() 182 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleThemes()
|
D | ConfigurationTest.java | 27 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 127 other.orientation = ORIENTATION_PORTRAIT; in testMaskedSet()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | ToastUI.java | 19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 70 private int mOrientation = ORIENTATION_PORTRAIT; 181 mOrientation == ORIENTATION_PORTRAIT); in onConfigurationChanged() local
|
/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; 114 configuration.orientation = isLandscape ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in getConfiguration()
|
/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/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ |
D | EnterPipToOtherOrientationTest.kt | 31 …om.android.wm.shell.flicker.pip.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_PORTRAIT in <lambda>() 64 EXTRA_FIXED_ORIENTATION to ORIENTATION_PORTRAIT.toString())) in <lambda>()
|
/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/tests/src/com/android/systemui/wmshell/ |
D | TestableBubblePositioner.java | 35 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/ |
D | TaskSnapshotWindowTest.java | 21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 85 taskBounds, ORIENTATION_PORTRAIT, ACTIVITY_TYPE_STANDARD, in setupSurface() 97 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in createTaskSnapshot()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | LegacySplitDisplayLayout.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 282 config.orientation == ORIENTATION_PORTRAIT, dl.stableInsets()); in initSnapAlgorithmForRotation() 296 if (orientation == ORIENTATION_PORTRAIT) { in getPrimarySplitSide()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ActivityTransition.java | 99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 83 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | ExpandedAnimationControllerTest.java | 67 positioner.updateInternal(Configuration.ORIENTATION_PORTRAIT, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycle.java | 209 == Configuration.ORIENTATION_PORTRAIT; in getPowerButtonOrigin()
|