Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
92 return new TaskSnapshot(buffer, ORIENTATION_PORTRAIT, TEST_INSETS, in createSnapshot()
DTaskSnapshotSurfaceTest.java19 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
63 ORIENTATION_PORTRAIT, contentInsets, false, 1.0f); in setupSurface()
66 ORIENTATION_PORTRAIT); in setupSurface()
DTaskSnapshotPersisterLoaderTest.java67 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot()
160 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testLowResolutionPersistAndLoadSnapshot()
/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.java23 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
168 ? ORIENTATION_PORTRAIT in getSmallestWidthDpForBounds()
196 if (configuration.orientation == Configuration.ORIENTATION_PORTRAIT) { in getHomeStackBoundsInDockedMode()
231 config.orientation = (dw <= dh) ? ORIENTATION_PORTRAIT : ORIENTATION_LANDSCAPE; in initSnapAlgorithmForRotations()
254 config.orientation == ORIENTATION_PORTRAIT, mTmpRect); in initSnapAlgorithmForRotations()
DTaskStack.java26 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
529 dividerSize, orientation == Configuration.ORIENTATION_PORTRAIT, outBounds, in snapDockedStackAfterRotation()
833 mDisplayContent.getConfiguration().orientation == ORIENTATION_PORTRAIT, in getStackDockedModeBounds()
1333 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in getDockSideUnchecked()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java99 getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in onCreate()
/frameworks/support/core-utils/java/android/support/v4/print/
DPrintHelper.java84 public static final int ORIENTATION_PORTRAIT = 2; field in PrintHelper
106 @IntDef({ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT})
728 } else if (mOrientation == ORIENTATION_PORTRAIT) { in printBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java271 if (mDisplayOrientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
272 if (mThumbnailData.orientation == Configuration.ORIENTATION_PORTRAIT) { in updateThumbnailMatrix()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java81 Configuration.ORIENTATION_PORTRAIT : Configuration.ORIENTATION_LANDSCAPE; in getRotationLockOrientation()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
DGridLayout3.java55 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) { in create()
/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/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java281 if (res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { in getRows()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java96 == Configuration.ORIENTATION_PORTRAIT, in create()
DDecorView.java93 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
647 getResources().getConfiguration().orientation == ORIENTATION_PORTRAIT;
/frameworks/base/core/java/android/content/res/
DConfiguration.java587 public static final int ORIENTATION_PORTRAIT = 1; field in Configuration
988 case ORIENTATION_PORTRAIT: sb.append(" port"); break; in toString()
2027 case Configuration.ORIENTATION_PORTRAIT: in resourceQualifierString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java482 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedBounds()
500 res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in getDockedTaskStackBounds()
/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.java146 private static final int ORIENTATION_PORTRAIT = 0; field in PrintActivity
1345 ORIENTATION_PORTRAIT, orientationLabels[0])); in bindUi()
2844 boolean newIsPortrait = orientationItem.value == ORIENTATION_PORTRAIT; in onItemSelected()
/frameworks/base/core/java/android/app/
DResourcesManager.java181 config.orientation = Configuration.ORIENTATION_PORTRAIT; in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/support/core-utils/api/
Dcurrent.txt282 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
D26.0.0.txt282 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java72 import static android.content.res.Configuration.ORIENTATION_PORTRAIT;
2271 && config.orientation != ORIENTATION_PORTRAIT) { in isConfigurationCompatible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java897 return getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT; in isHorizontalDivision()

123