Home
last modified time | relevance | path

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

123

/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()
123 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
135 .isEqualTo(ORIENTATION_PORTRAIT); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
210 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
DActivityRecordTests.java37 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 …]
DDualDisplayAreaGroupPolicyTest.java23 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()
DTaskSnapshotSurfaceTest.java21 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()
DWindowProcessControllerTests.java22 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/
DDisplayAreaGroup.java21 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/
DActivityThreadTest.java22 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/
DRotationUtils.java18 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
109 orientation = ORIENTATION_PORTRAIT; in getResourcesForRotation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelTest.java123 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/
DRemoteInputQuickSettingsDisablerTest.java76 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape()
89 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java91 Configuration.ORIENTATION_PORTRAIT in testVoidConfigChange()
114 Configuration.ORIENTATION_PORTRAIT in testEffectiveConfigChange()
140 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleResources()
182 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleThemes()
DConfigurationTest.java27 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
127 other.orientation = ORIENTATION_PORTRAIT; in testMaskedSet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java19 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/
DSplitLayoutTests.java20 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/
DResourcesThemePerfTest.java94 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/
DEnterPipToOtherOrientationTest.kt31 …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/
DTestableBubblePositioner.java34 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DTestableBubblePositioner.java35 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindowTest.java21 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/
DLegacySplitDisplayLayout.java20 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/
DActivityTransition.java99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java83 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationControllerTest.java67 positioner.updateInternal(Configuration.ORIENTATION_PORTRAIT, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java209 == Configuration.ORIENTATION_PORTRAIT; in getPowerButtonOrigin()

123