Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A 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()
H A DActivityRecordTests.java39 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
347 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testNewParentConfigurationIncrementsSeq()
368 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_NotDragResizing()
393 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_DragResizing()
420 : ORIENTATION_PORTRAIT; in testRelaunchClearTopWaitingTranslucent()
464 : ORIENTATION_PORTRAIT; in testDestroyedActivityNotScheduleConfigChanged()
488 if (newConfig.orientation == ORIENTATION_PORTRAIT) { in testSetRequestedOrientationUpdatesConfiguration()
493 newConfig.orientation = ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration()
508 case ORIENTATION_PORTRAIT: in testSetRequestedOrientationUpdatesConfiguration()
720 if (newConfig.orientation == ORIENTATION_PORTRAIT) { in testPushConfigurationWhenLaunchTaskBehind()
[all …]
H A 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()
H A DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
211 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
269 ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
297 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
317 processConfigPortrait.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
322 activityConfigPortrait.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
364 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
388 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
398 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
444 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
499 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testActivityOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModuleUtil.java44 config.orientation == Configuration.ORIENTATION_PORTRAIT)) { in getDeviceNaturalOrientation()
47 return Configuration.ORIENTATION_PORTRAIT; in getDeviceNaturalOrientation()
116 == Configuration.ORIENTATION_PORTRAIT) { in pickBufferDimensions()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DRotationUtils.java18 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
109 orientation = ORIENTATION_PORTRAIT; in getResourcesForRotation()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DStickyBottomCaptureLayout.java58 if (orientation == Configuration.ORIENTATION_PORTRAIT) {
72 if (orientation == Configuration.ORIENTATION_PORTRAIT) {
159 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in getRoundedThumbnailPosition()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/res/
H A 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()
H A DConfigurationTest.java27 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
127 other.orientation = ORIENTATION_PORTRAIT; in testMaskedSet()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastUI.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
70 private int mOrientation = ORIENTATION_PORTRAIT;
181 mOrientation == ORIENTATION_PORTRAIT); in onConfigurationChanged() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DRemoteInputQuickSettingsDisablerTest.kt102 configuration.orientation = Configuration.ORIENTATION_PORTRAIT
124 configuration.orientation = Configuration.ORIENTATION_PORTRAIT
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragLayout.java118 } else if (orientation == Configuration.ORIENTATION_PORTRAIT) { in onApplyWindowInsets()
136 } else if (orientation == Configuration.ORIENTATION_PORTRAIT in onConfigChanged()
151 } else if (orientation == Configuration.ORIENTATION_PORTRAIT) { in updateContainerMargins()
226 final boolean isPortrait = orientation == Configuration.ORIENTATION_PORTRAIT; in updateDropZoneSizes()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/app/
H A DResourcesThemePerfTest.java94 c.orientation = (c.orientation == Configuration.ORIENTATION_PORTRAIT) in setToDifferentAssetManager()
95 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in setToDifferentAssetManager()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
H A DSplitLayoutTests.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
152 configuration.orientation = ORIENTATION_PORTRAIT; in getConfiguration()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DEnterPipToOtherOrientationTest.kt35 …om.android.wm.shell.flicker.pip.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_PORTRAIT
85 EXTRA_FIXED_ORIENTATION to ORIENTATION_PORTRAIT.toString()))
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSPanelTest.kt18 import android.content.res.Configuration.ORIENTATION_PORTRAIT
139 mQsPanel.onConfigurationChanged(getNewOrientationConfig(ORIENTATION_PORTRAIT))
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitDisplayLayout.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
293 config.orientation == ORIENTATION_PORTRAIT, dl.stableInsets()); in initSnapAlgorithmForRotation()
307 if (orientation == ORIENTATION_PORTRAIT) { in getPrimarySplitSide()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
H A DTaskSnapshotWindowTest.java21 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
85 taskBounds, ORIENTATION_PORTRAIT, ACTIVITY_TYPE_STANDARD, in setupSurface()
96 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in createTaskSnapshot()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DTestableBubblePositioner.java34 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
H A DTestableBubblePositioner.java35 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
H A DFingerprintEnrollEnrolling.java192 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT)); in onCreate()
705 case Configuration.ORIENTATION_PORTRAIT: { in updateOrientation()
728 case Configuration.ORIENTATION_PORTRAIT: { in onConfigurationChanged()
729 updateOrientation(Configuration.ORIENTATION_PORTRAIT); in onConfigurationChanged()
/aosp12/packages/apps/Camera2/src/com/android/camera/app/
H A DOrientationManager.java10 PORTRAIT(Configuration.ORIENTATION_PORTRAIT),

1234