/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 97 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()
|
D | ResourcesManagerTest.java | 185 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()
|
D | ConfigurationTest.java | 26 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/ |
D | DisplayAreaGroup.java | 20 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 94 resolvedConfig.orientation = ORIENTATION_LANDSCAPE; in resolveOverrideConfiguration() 95 } else if (newParentConfiguration.orientation == ORIENTATION_LANDSCAPE) { in resolveOverrideConfiguration()
|
D | DisplayRotationImmersiveAppCompatPolicy.java | 20 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 152 return ORIENTATION_LANDSCAPE; in surfaceRotationToConfigurationOrientation()
|
D | CameraCompatFreeformPolicy.java | 21 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/ |
D | DisplayAreaGroupTest.java | 21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 105 .isEqualTo(ORIENTATION_LANDSCAPE); in testGetRequestedOrientationForDisplay() 130 .isEqualTo(ORIENTATION_LANDSCAPE); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
|
D | LaunchParamsModifierTestsBase.java | 19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 61 display.getConfiguration().orientation = ORIENTATION_LANDSCAPE; in createNewDisplayContent()
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 23 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 71 ORIENTATION_LANDSCAPE); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSPanelControllerBaseSceneContainerTest.kt | 134 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/ |
D | RemoteInputQuickSettingsDisabler.kt | 44 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/ |
D | DeviceConfig.kt | 21 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/ |
D | RotationUtils.java | 19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 135 orientation = ORIENTATION_LANDSCAPE; in getResourcesForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/ |
D | CredentialPasswordView.kt | 4 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/ |
D | ControlsActivityTest.kt | 120 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/ |
D | VolumePanelState.kt | 36 orientation == Configuration.ORIENTATION_LANDSCAPE ||
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | SetRequestedOrientationWhilePinned.kt | 34 …id.wm.shell.flicker.pip.common.PipTransition.BroadcastActionTrigger.Companion.ORIENTATION_LANDSCAPE 75 stringExtras = mapOf(EXTRA_FIXED_ORIENTATION to ORIENTATION_LANDSCAPE.toString()) in <lambda>()
|
D | EnterPipToOtherOrientation.kt | 36 …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/ |
D | DesktopModeUtils.kt | 24 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/ |
D | DividerViewTest.java | 18 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE; 118 configuration.orientation = ORIENTATION_LANDSCAPE; in getConfiguration()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | MainActivity.kt | 20 import android.content.res.Configuration.ORIENTATION_LANDSCAPE 87 if (getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE) { in rotate90()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipperController.java | 19 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/ |
D | VolumePanelViewModelTest.kt | 82 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/ |
D | ActivityThreadTest.java | 22 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/ |
D | ShortcutKeyDispatcher.java | 73 && orientation == Configuration.ORIENTATION_LANDSCAPE) { in onShortcutKeyPressed()
|