Home
last modified time | relevance | path

Searched refs:isPortrait (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
71 final float widthWeightMin = isPortrait ? mMinorWeightMin : mMajorWeightMin; in onMeasure()
72 final float widthWeightMax = isPortrait ? mMinorWeightMax : mMajorWeightMax; in onMeasure()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java98 boolean isPortrait = in onCreate()
100 gridLayout.setRowCount(isPortrait ? 4 : 2); in onCreate()
101 gridLayout.setColumnCount(isPortrait ? 2 : 4); in onCreate()
/frameworks/base/core/java/android/print/
DPrintAttributes.java222 public boolean isPortrait() { in isPortrait() method in PrintAttributes
223 return mMediaSize.isPortrait(); in isPortrait()
266 if (isPortrait()) { in asPortrait()
304 if (!isPortrait()) { in asLandscape()
420 builder.append(", orientation: ").append(mMediaSize.isPortrait() in toString()
955 public boolean isPortrait() { in isPortrait() method in PrintAttributes.MediaSize
967 if (isPortrait()) { in asPortrait()
984 if (!isPortrait()) { in asLandscape()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java885 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()
1189 boolean isPortrait = currMediaSize.isPortrait(); in updatePrintAttributesFromCapabilities()
1209 if (isPortrait) { in updatePrintAttributesFromCapabilities()
1738 if (oldMediaSize.isPortrait()) { in updateOptionsUi()
1886 if (mediaSize.isPortrait() in updateOptionsUi()
1889 } else if (!mediaSize.isPortrait() in updateOptionsUi()
2881 boolean isPortrait = attributes.isPortrait(); in onItemSelected()
2884 if (isPortrait != newIsPortrait) { in onItemSelected()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java121 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java366 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()
417 if (isPortrait) { in cropImageAndSetWallpaper()
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java216 proto.write("is_portrait", PrintAttributesProto.IS_PORTRAIT, attributes.isPortrait()); in writePrintAttributes()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java664 final boolean isPortrait =
673 final TypedValue tvw = isPortrait ? mWindow.mFixedWidthMinor : mWindow.mFixedWidthMajor;
700 final TypedValue tvh = isPortrait ? mWindow.mFixedHeightMajor
750 final TypedValue tv = isPortrait ? mWindow.mMinWidthMinor : mWindow.mMinWidthMajor;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22893 method public boolean isPortrait();
/frameworks/base/non-updatable-api/
Dcurrent.txt36439 method public boolean isPortrait();
/frameworks/base/api/
Dcurrent.txt36583 method public boolean isPortrait();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54876 Landroid/print/PrintAttributes;->isPortrait()Z