/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisablerTest.java | 76 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape() 89 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 22 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/ |
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()
|
D | ConfigurationTest.java | 27 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 127 other.orientation = ORIENTATION_PORTRAIT; in testMaskedSet()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesThemePerfTest.java | 94 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/ |
D | ActivityRecordTests.java | 26 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 …]
|
D | WindowProcessControllerTests.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 261 config.orientation = config.orientation == ORIENTATION_PORTRAIT in invertOrientation() 262 ? ORIENTATION_LANDSCAPE : ORIENTATION_PORTRAIT; in invertOrientation()
|
D | TaskSnapshotPersisterTestBase.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 202 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, in build()
|
D | TaskSnapshotSurfaceTest.java | 20 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()
|
D | TaskSnapshotLowResDisabledTest.java | 83 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
|
D | RecentsAnimationControllerTest.java | 348 assertEquals(Configuration.ORIENTATION_PORTRAIT, in testRecentViewInFixedPortraitWhenTopAppInLandscape() 438 assertEquals(Configuration.ORIENTATION_PORTRAIT, in testWallpaperHasFixedRotationApplied()
|
D | TaskSnapshotControllerTest.java | 140 final int orientation = Configuration.ORIENTATION_PORTRAIT; in testSnapshotBuilder()
|
D | AppWindowTokenTests.java | 304 assertEquals(Configuration.ORIENTATION_PORTRAIT, displayConfig.orientation); in testRespectTopFullscreenOrientation() 305 assertEquals(Configuration.ORIENTATION_PORTRAIT, activityConfig.orientation); in testRespectTopFullscreenOrientation()
|
D | DisplayContentTests.java | 833 ? 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/ |
D | SplitDisplayLayout.java | 20 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/ |
D | ActivityTransition.java | 99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 83 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelViewTest.java | 19 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/ |
D | ExpandedAnimationControllerTest.java | 49 private int mOrientation = Configuration.ORIENTATION_PORTRAIT;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | DisplayLayout.java | 20 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/ |
D | RecentsOnboarding.java | 392 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/ |
D | VrActivity.java | 115 … if(getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { in onPostExecute()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 382 config.orientation = Configuration.ORIENTATION_PORTRAIT; in getConfiguration()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 226 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in loadPuzzle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT; 264 mOrientationPortrait = config.orientation == ORIENTATION_PORTRAIT; in GlobalScreenshot() 358 case ORIENTATION_PORTRAIT: in onConfigChanged()
|