Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java76 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape()
89 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
245 ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
275 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
336 config.orientation = ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
398 if (originalAppConfig.orientation == ORIENTATION_PORTRAIT) { in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
413 newAppConfig.orientation = newAppConfig.orientation == ORIENTATION_PORTRAIT in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
414 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
572 config.orientation = ORIENTATION_PORTRAIT; in applyConfigurationChange()
/frameworks/base/core/tests/coretests/src/android/content/res/
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()
DConfigurationTest.java27 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
127 other.orientation = ORIENTATION_PORTRAIT; in testMaskedSet()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesThemePerfTest.java94 c.orientation = (c.orientation == Configuration.ORIENTATION_PORTRAIT) in setToDifferentAssetManager()
95 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in setToDifferentAssetManager()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java26 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
279 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testNewParentConfigurationIncrementsSeq()
280 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in testNewParentConfigurationIncrementsSeq()
297 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testSetsRelaunchReason_NotDragResizing()
299 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_NotDragResizing()
320 newConfig.orientation = newConfig.orientation == ORIENTATION_PORTRAIT in testSetsRelaunchReason_DragResizing()
322 : ORIENTATION_PORTRAIT; in testSetsRelaunchReason_DragResizing()
371 if (newConfig.orientation == ORIENTATION_PORTRAIT) { in testSetRequestedOrientationUpdatesConfiguration()
376 newConfig.orientation = ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration()
391 case ORIENTATION_PORTRAIT: in testSetRequestedOrientationUpdatesConfiguration()
[all …]
DWindowProcessControllerTests.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
261 config.orientation = config.orientation == ORIENTATION_PORTRAIT in invertOrientation()
262 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in invertOrientation()
DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
202 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
DTaskSnapshotSurfaceTest.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
85 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in setupSurface()
91 taskBounds, ORIENTATION_PORTRAIT, new InsetsState()); in setupSurface()
DTaskSnapshotLowResDisabledTest.java83 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
DRecentsAnimationControllerTest.java348 assertEquals(Configuration.ORIENTATION_PORTRAIT, in testRecentViewInFixedPortraitWhenTopAppInLandscape()
438 assertEquals(Configuration.ORIENTATION_PORTRAIT, in testWallpaperHasFixedRotationApplied()
DTaskSnapshotControllerTest.java140 final int orientation = Configuration.ORIENTATION_PORTRAIT; in testSnapshotBuilder()
DAppWindowTokenTests.java304 assertEquals(Configuration.ORIENTATION_PORTRAIT, displayConfig.orientation); in testRespectTopFullscreenOrientation()
305 assertEquals(Configuration.ORIENTATION_PORTRAIT, activityConfig.orientation); in testRespectTopFullscreenOrientation()
DDisplayContentTests.java833 ? Configuration.ORIENTATION_PORTRAIT in testOnDescendantOrientationRequestChanged()
1090 newConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in testOrientationChangeLogging()
1103 is(Configuration.ORIENTATION_PORTRAIT)); in testOrientationChangeLogging()
1259 if (displayConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { in testNoFixedRotationWithPip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DSplitDisplayLayout.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
280 config.orientation == ORIENTATION_PORTRAIT, dl.stableInsets()); in initSnapAlgorithmForRotation()
294 if (orientation == ORIENTATION_PORTRAIT) { in getPrimarySplitSide()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java83 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationPanelViewTest.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
197 mConfiguration.orientation = ORIENTATION_PORTRAIT; in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DExpandedAnimationControllerTest.java49 private int mOrientation = Configuration.ORIENTATION_PORTRAIT;
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayLayout.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
226 return (mWidth > mHeight) ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in getOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsOnboarding.java392 if (newConfiguration.orientation != Configuration.ORIENTATION_PORTRAIT) { in onConfigurationChanged()
406 if (!mLayoutAttachedToWindow && orientation == Configuration.ORIENTATION_PORTRAIT) { in show()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java115 … if(getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { in onPostExecute()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java382 config.orientation = Configuration.ORIENTATION_PORTRAIT; in getConfiguration()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt226 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in loadPuzzle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
264 mOrientationPortrait = config.orientation == ORIENTATION_PORTRAIT; in GlobalScreenshot()
358 case ORIENTATION_PORTRAIT: in onConfigChanged()

12