Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java252 newConfig.orientation = newConfig.orientation == Configuration.ORIENTATION_PORTRAIT in testNewParentConfigurationIncrementsSeq()
253 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testNewParentConfigurationIncrementsSeq()
268 newConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in testNotifiesSeqIncrementToAppToken()
286 newConfig.orientation = newConfig.orientation == Configuration.ORIENTATION_PORTRAIT in testSetsRelaunchReason_NotDragResizing()
287 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testSetsRelaunchReason_NotDragResizing()
308 newConfig.orientation = newConfig.orientation == Configuration.ORIENTATION_PORTRAIT in testSetsRelaunchReason_DragResizing()
309 ? Configuration.ORIENTATION_LANDSCAPE : Configuration.ORIENTATION_PORTRAIT; in testSetsRelaunchReason_DragResizing()
354 newConfig.orientation = newConfig.orientation == Configuration.ORIENTATION_PORTRAIT in testSetRequestedOrientationUpdatesConfiguration()
356 : Configuration.ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration()
369 case Configuration.ORIENTATION_PORTRAIT: in testSetRequestedOrientationUpdatesConfiguration()
[all …]
DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
157 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, TEST_INSETS, in build()
DTaskSnapshotSurfaceTest.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
68 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, contentInsets, false, in setupSurface()
73 taskBounds, ORIENTATION_PORTRAIT); in setupSurface()
DTaskSnapshotPersisterLoaderTest.java69 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
166 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testLowResolutionPersistAndLoadSnapshot()
DTaskRecordTests.java304 Configuration.ORIENTATION_PORTRAIT; in testFullscreenBoundsForcedOrientation()
376 assertEquals(Configuration.ORIENTATION_PORTRAIT, inOutConfig.orientation); in testComputeConfigResourceOverrides()
DDisplayContentTests.java674 assertEquals(Configuration.ORIENTATION_PORTRAIT, newDisplayConfig.orientation); in testOnDescendantOrientationRequestChanged()
863 newConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in testOrientationChangeLogging()
875 is(Configuration.ORIENTATION_PORTRAIT)); in testOrientationChangeLogging()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java77 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape()
90 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
174 ? ORIENTATION_PORTRAIT in getSmallestWidthDpForBounds()
208 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in getDockSide()
242 if (parentConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { in getHomeStackBoundsInDockedMode()
287 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations()
308 config.orientation == ORIENTATION_PORTRAIT, mTmpRect); in initSnapAlgorithmForRotations()
DTaskStack.java29 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
513 dividerSize, orientation == Configuration.ORIENTATION_PORTRAIT, outBounds, in snapDockedStackAfterRotation()
934 parentConfig.orientation == ORIENTATION_PORTRAIT, in getStackDockedModeBounds()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java242 ? Configuration.ORIENTATION_PORTRAIT in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
268 config.orientation = Configuration.ORIENTATION_PORTRAIT; in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
353 config.orientation = Configuration.ORIENTATION_PORTRAIT; in applyConfigurationChange()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java267 if (mDisplayOrientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
268 if (mThumbnailData.orientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
DDockState.java291 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedBounds()
309 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedTaskStackBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
340 || mLastOrientation != ORIENTATION_PORTRAIT || cornerCutoutMargins != null) { in updateCutoutLocation()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java86 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsOnboarding.java386 if (newConfiguration.orientation != Configuration.ORIENTATION_PORTRAIT) { in onConfigurationChanged()
400 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/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageWallpaperRenderer.java76 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in ImageWallpaperRenderer()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java378 config.orientation = Configuration.ORIENTATION_PORTRAIT; in getConfiguration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DExpandedAnimationControllerTest.java50 private int mOrientation = Configuration.ORIENTATION_PORTRAIT;
/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/
DImageWallpaper.java140 boolean portrait = orientation == Configuration.ORIENTATION_PORTRAIT; in checkIfShouldStopTransition()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java99 == Configuration.ORIENTATION_PORTRAIT, in create()
/frameworks/base/core/java/android/content/res/
DConfiguration.java622 public static final int ORIENTATION_PORTRAIT = 1; field in Configuration
1025 case ORIENTATION_PORTRAIT: sb.append(" port"); break; in toString()
2291 case Configuration.ORIENTATION_PORTRAIT: in resourceQualifierString()

12