/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A 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()
|
H A D | ActivityRecordTests.java | 39 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 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()
|
H A D | TaskSnapshotPersisterTestBase.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 211 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
|
H A 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityThreadTest.java | 22 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 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()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ |
H A D | CaptureModuleUtil.java | 44 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 D | RotationUtils.java | 18 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 D | StickyBottomCaptureLayout.java | 58 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 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()
|
H A D | ConfigurationTest.java | 27 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 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
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputQuickSettingsDisablerTest.kt | 102 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 D | DragLayout.java | 118 } 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 D | ResourcesThemePerfTest.java | 94 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 D | SplitLayoutTests.java | 20 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 D | EnterPipToOtherOrientationTest.kt | 35 …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 D | QSPanelTest.kt | 18 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 D | LegacySplitDisplayLayout.java | 20 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 D | TaskSnapshotWindowTest.java | 21 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 D | TestableBubblePositioner.java | 34 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
H A D | TestableBubblePositioner.java | 35 updateInternal(Configuration.ORIENTATION_PORTRAIT, in TestableBubblePositioner()
|
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
H A D | FingerprintEnrollEnrolling.java | 192 ? 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 D | OrientationManager.java | 10 PORTRAIT(Configuration.ORIENTATION_PORTRAIT),
|