Home
last modified time | relevance | path

Searched refs:ORIENTATION_LANDSCAPE (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java97 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange()
99 : Configuration.ORIENTATION_LANDSCAPE; in testVoidConfigChange()
121 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange()
123 : Configuration.ORIENTATION_LANDSCAPE; in testEffectiveConfigChange()
150 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources()
152 : Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeMultipleResources()
194 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleThemes()
196 : Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeMultipleThemes()
DResourcesManagerTest.java185 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
202 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
209 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
257 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl()
308 config1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
311 expectedConfig1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
314 expectedConfig2.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
DConfigurationTest.java26 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
124 config.orientation = ORIENTATION_LANDSCAPE; in testMaskedSet()
132 assertEquals(ORIENTATION_LANDSCAPE, config.orientation); in testMaskedSet()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaGroup.java20 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
94 resolvedConfig.orientation = ORIENTATION_LANDSCAPE; in resolveOverrideConfiguration()
95 } else if (newParentConfiguration.orientation == ORIENTATION_LANDSCAPE) { in resolveOverrideConfiguration()
DDisplayRotationImmersiveAppCompatPolicy.java20 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
152 return ORIENTATION_LANDSCAPE; in surfaceRotationToConfigurationOrientation()
DCameraCompatFreeformPolicy.java21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
156 case ORIENTATION_LANDSCAPE -> CameraCompatTaskInfo.CAMERA_COMPAT_FREEFORM_LANDSCAPE; in getCameraCompatMode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaGroupTest.java21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
105 .isEqualTo(ORIENTATION_LANDSCAPE); in testGetRequestedOrientationForDisplay()
130 .isEqualTo(ORIENTATION_LANDSCAPE); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
DLaunchParamsModifierTestsBase.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
61 display.getConfiguration().orientation = ORIENTATION_LANDSCAPE; in createNewDisplayContent()
DDisplayRotationImmersiveAppCompatPolicyTests.java23 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
71 ORIENTATION_LANDSCAPE); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerBaseSceneContainerTest.kt134 configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in configurationChange_onlySplitShadeConfigChanges_horizontalInSceneUpdated()
160 configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in configurationChange_shouldUseHorizontalInSceneInLongDevices()
190 configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in configurationChange_horizontalInScene_onlyInLandscape()
216 configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in changeMediaVisible_changesHorizontalInScene()
238 configuration.orientation = Configuration.ORIENTATION_LANDSCAPE in startFromMediaHorizontalLong_shouldUseHorizontal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisabler.kt44 context.resources.configuration.orientation == Configuration.ORIENTATION_LANDSCAPE
71 val newIsLandscape = newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE in onConfigChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DDeviceConfig.kt21 import android.content.res.Configuration.ORIENTATION_LANDSCAPE
55 val isLandscape = context.resources.configuration.orientation == ORIENTATION_LANDSCAPE in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
135 orientation = ORIENTATION_LANDSCAPE; in getResourcesForRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DCredentialPasswordView.kt4 import android.content.res.Configuration.ORIENTATION_LANDSCAPE
61 bottomInset > 0 && resources.configuration.orientation == ORIENTATION_LANDSCAPE in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsActivityTest.kt120 return if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in switchOrientation()
123 Configuration.ORIENTATION_LANDSCAPE in switchOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelState.kt36 orientation == Configuration.ORIENTATION_LANDSCAPE ||
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DSetRequestedOrientationWhilePinned.kt34 …id.wm.shell.flicker.pip.common.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_LANDSCAPE
75 stringExtras = mapOf(EXTRA_FIXED_ORIENTATION to ORIENTATION_LANDSCAPE.toString()) in <lambda>()
DEnterPipToOtherOrientation.kt36 …id.wm.shell.flicker.pip.common.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_LANDSCAPE
104 stringExtras = mapOf(EXTRA_FIXED_ORIENTATION to ORIENTATION_LANDSCAPE.toString()) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt24 import android.content.res.Configuration.ORIENTATION_LANDSCAPE
58 ORIENTATION_LANDSCAPE -> { in calculateInitialBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DDividerViewTest.java18 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
118 configuration.orientation = ORIENTATION_LANDSCAPE; in getConfiguration()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DMainActivity.kt20 import android.content.res.Configuration.ORIENTATION_LANDSCAPE
87 if (getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE) { in rotate90()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
146 == ORIENTATION_LANDSCAPE; in asynchronouslyInflateView()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/ui/viewmodel/
DVolumePanelViewModelTest.kt82 Configuration().apply { orientation = Configuration.ORIENTATION_LANDSCAPE } in orientationChanges_panelOrientationChanges()
87 .isEqualTo(Configuration.ORIENTATION_LANDSCAPE) in orientationChanges_panelOrientationChanges()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java22 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
412 newerConfig.orientation = orientation == ORIENTATION_LANDSCAPE in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
413 ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
454 processConfigLandscape.orientation = ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
459 activityConfigLandscape.orientation = ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
529 config.orientation = ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
544 config.orientation = ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
595 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
642 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testActivityOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
947 config.orientation = ORIENTATION_LANDSCAPE; in applyConfigurationChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java73 && orientation == Configuration.ORIENTATION_LANDSCAPE) { in onShortcutKeyPressed()

12345