Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java90 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange()
92 : Configuration.ORIENTATION_LANDSCAPE; in testVoidConfigChange()
113 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange()
115 : Configuration.ORIENTATION_LANDSCAPE; in testEffectiveConfigChange()
139 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources()
141 : Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeMultipleResources()
181 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleThemes()
183 : Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeMultipleThemes()
DResourcesManagerTest.java131 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
148 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
155 expectedConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testUpdateConfigurationUpdatesAllAssetManagers()
201 overrideConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testThemesGetUpdatedWithNewImpl()
251 config1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
255 expectedConfig1.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
258 expectedConfig2.orientation = Configuration.ORIENTATION_LANDSCAPE; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTestUtils.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
38 config.orientation = ORIENTATION_LANDSCAPE; in config()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java20 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
96 || config.orientation != Configuration.ORIENTATION_LANDSCAPE; in onMeasure()
184 if (newConfig.orientation == ORIENTATION_LANDSCAPE) { in setBackgroundGradientVisibility()
DQuickStatusBarHeader.java277 newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE; in onConfigurationChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java79 c.orientation = Configuration.ORIENTATION_LANDSCAPE; in testChangeToLandscape()
88 c.orientation = Configuration.ORIENTATION_LANDSCAPE; in testChangeToPortrait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DRotationLockTile.java92 != Configuration.ORIENTATION_LANDSCAPE; in isCurrentOrientationLockPortrait()
94 return lockOrientation != Configuration.ORIENTATION_LANDSCAPE; in isCurrentOrientationLockPortrait()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java253 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testNewParentConfigurationIncrementsSeq()
287 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testSetsRelaunchReason_NotDragResizing()
309 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testSetsRelaunchReason_DragResizing()
355 ? Configuration.ORIENTATION_LANDSCAPE in testSetRequestedOrientationUpdatesConfiguration()
366 case Configuration.ORIENTATION_LANDSCAPE: in testSetRequestedOrientationUpdatesConfiguration()
428 ? Configuration.ORIENTATION_LANDSCAPE in testPushConfigurationWhenLaunchTaskBehind()
DTaskRecordTests.java271 Configuration.ORIENTATION_LANDSCAPE; in testFullscreenBoundsForcedOrientation()
336 Configuration.ORIENTATION_LANDSCAPE; in testIgnoresForcedOrientationWhenParentHandles()
406 assertEquals(Configuration.ORIENTATION_LANDSCAPE, inOutConfig.orientation); in testComputeConfigResourceOverrides()
DAppWindowTokenTests.java349 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnVisibilityChange()
371 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnOpeningClosingAppChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDivider.java19 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
94 final boolean landscape = configuration.orientation == ORIENTATION_LANDSCAPE; in addDivider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisabler.java72 misLandscape = newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE; in onConfigChanged()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsConfiguration.java117 Configuration.ORIENTATION_LANDSCAPE; in getDockStatesForCurrentOrientation()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java241 pendingConfig.orientation = orientation == Configuration.ORIENTATION_LANDSCAPE in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
243 : Configuration.ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
363 config.orientation = Configuration.ORIENTATION_LANDSCAPE; in applyConfigurationChange()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java92 return configuration.orientation == Configuration.ORIENTATION_LANDSCAPE || in hasEmbeddedTabs()
DRotationPolicy.java86 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java124 final boolean isLandscape = mOrientation == Configuration.ORIENTATION_LANDSCAPE; in getEdgeIntersect()
412 shortest = (mOrientation == Configuration.ORIENTATION_LANDSCAPE) in snapRectToClosestEdge()
443 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) { in calculateSnapTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java71 && orientation == Configuration.ORIENTATION_LANDSCAPE) { in onShortcutKeyPressed()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java21 import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
175 : ORIENTATION_LANDSCAPE; in getSmallestWidthDpForBounds()
218 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in getDockSide()
287 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java381 config.orientation = Configuration.ORIENTATION_LANDSCAPE; in getConfiguration()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java105 || configuration.orientation == Configuration.ORIENTATION_LANDSCAPE; in shouldAllowTextWithIcon()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt215 if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in loadPuzzle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java149 || newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE; in updateNavBackDrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java512 if (mScreenOrientation == Configuration.ORIENTATION_LANDSCAPE) { in getWidthForDisplayingBubbles()
/frameworks/base/core/java/android/app/
DSearchDialog.java386 == Configuration.ORIENTATION_LANDSCAPE; in isLandscapeMode()

12