Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
135 return new TaskSnapshot(buffer, ORIENTATION_PORTRAIT, TEST_INSETS, in build()
DTaskSnapshotSurfaceTest.java20 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
64 ORIENTATION_PORTRAIT, contentInsets, false, 1.0f, true /* isRealSnapshot */, in setupSurface()
68 ORIENTATION_PORTRAIT); in setupSurface()
DTaskSnapshotPersisterLoaderTest.java69 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
162 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testLowResolutionPersistAndLoadSnapshot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputQuickSettingsDisablerTest.java74 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToLandscape()
87 c.orientation = Configuration.ORIENTATION_PORTRAIT; in testChangeToPortrait()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java90 Configuration.ORIENTATION_PORTRAIT in testVoidConfigChange()
113 Configuration.ORIENTATION_PORTRAIT in testEffectiveConfigChange()
139 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleResources()
181 Configuration.ORIENTATION_PORTRAIT in testConfigChangeMultipleThemes()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java22 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
171 ? ORIENTATION_PORTRAIT in getSmallestWidthDpForBounds()
205 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in getDockSide()
235 if (configuration.orientation == Configuration.ORIENTATION_PORTRAIT) { in getHomeStackBoundsInDockedMode()
282 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations()
304 config.orientation == ORIENTATION_PORTRAIT, mTmpRect); in initSnapAlgorithmForRotations()
DTaskStack.java28 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
567 dividerSize, orientation == Configuration.ORIENTATION_PORTRAIT, outBounds, in snapDockedStackAfterRotation()
969 mDisplayContent.getConfiguration().orientation == ORIENTATION_PORTRAIT, in getStackDockedModeBounds()
/frameworks/support/print/api/
Dcurrent.txt19 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
/frameworks/support/print/api_legacy/
D0.0.0.txt19 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
D28.0.0-alpha1.txt19 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
Dcurrent.txt19 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
312 || mLastOrientation != ORIENTATION_PORTRAIT || cornerCutoutMargins != null) { in updateCutoutLocation()
/frameworks/support/print/src/main/java/androidx/print/
DPrintHelper.java105 public static final int ORIENTATION_PORTRAIT = 2; field in PrintHelper
127 @IntDef({ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT})
363 } else if (mOrientation == ORIENTATION_PORTRAIT) { in printBitmap()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DDockState.java291 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedBounds()
309 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedTaskStackBounds()
DTaskViewThumbnail.java267 if (mDisplayOrientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
268 if (mThumbnailData.orientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/view/
DGridLayout3.java57 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) { in create()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java82 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsOnboarding.java379 if (newConfiguration.orientation != Configuration.ORIENTATION_PORTRAIT) { in onConfigurationChanged()
393 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.java383 config.orientation = Configuration.ORIENTATION_PORTRAIT; in getConfiguration()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java99 == Configuration.ORIENTATION_PORTRAIT, in create()
/frameworks/base/core/java/android/content/res/
DConfiguration.java611 public static final int ORIENTATION_PORTRAIT = 1; field in Configuration
1011 case ORIENTATION_PORTRAIT: sb.append(" port"); break; in toString()
2096 case Configuration.ORIENTATION_PORTRAIT: in resourceQualifierString()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java84 setRequestedOrientation(Configuration.ORIENTATION_PORTRAIT); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java149 private static final int ORIENTATION_PORTRAIT = 0; field in PrintActivity
1382 ORIENTATION_PORTRAIT, orientationLabels[0])); in bindUi()
2882 boolean newIsPortrait = orientationItem.value == ORIENTATION_PORTRAIT; in onItemSelected()

123