Home
last modified time | relevance | path

Searched refs:isPortrait (Results 1 – 10 of 10) 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/support/v7/appcompat/src/android/support/v7/internal/widget/
DContentFrameLayout.java81 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels; in onMeasure()
88 final TypedValue tvw = isPortrait ? mFixedWidthMinor : mFixedWidthMajor; in onMeasure()
107 final TypedValue tvh = isPortrait ? mFixedHeightMajor : mFixedHeightMinor; in onMeasure()
132 final TypedValue tv = isPortrait ? mMinWidthMinor : mMinWidthMajor; in onMeasure()
/frameworks/base/core/java/android/print/
DPrintAttributes.java189 public boolean isPortrait() { in isPortrait() method in PrintAttributes
190 return mMediaSize.isPortrait(); in isPortrait()
233 if (isPortrait()) { in asPortrait()
271 if (!isPortrait()) { in asLandscape()
387 builder.append(", orientation: ").append(mMediaSize.isPortrait() in toString()
926 public boolean isPortrait() { in isPortrait() method in PrintAttributes.MediaSize
938 if (isPortrait()) { in asPortrait()
955 if (!isPortrait()) { in asLandscape()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java122 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage()
266 final boolean contentPortrait = attributes.getMediaSize().isPortrait(); in applyPrintAttributes()
/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/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java731 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()
1312 if (oldMediaSize.isPortrait()) { in updateOptionsUi()
1460 if (mediaSize.isPortrait() in updateOptionsUi()
1463 } else if (!mediaSize.isPortrait() in updateOptionsUi()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2579 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels;
2586 final TypedValue tvw = isPortrait ? mFixedWidthMinor : mFixedWidthMajor;
2607 final TypedValue tvh = isPortrait ? mFixedHeightMajor : mFixedHeightMinor;
2651 final TypedValue tv = isPortrait ? mMinWidthMinor : mMinWidthMajor;
/frameworks/base/docs/html/training/printing/
Dcustom-docs.jd199 if (!pageSize.isPortrait()) {
/frameworks/base/api/
Dcurrent.txt24171 method public boolean isPortrait();
Dsystem-current.txt26127 method public boolean isPortrait();