Searched refs:isPortrait (Results 1 – 10 of 10) sorted by relevance
60 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()
81 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()
189 public boolean isPortrait() { in isPortrait() method in PrintAttributes190 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.MediaSize938 if (isPortrait()) { in asPortrait()955 if (!isPortrait()) { in asLandscape()
122 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage()266 final boolean contentPortrait = attributes.getMediaSize().isPortrait(); in applyPrintAttributes()
366 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()417 if (isPortrait) { in cropImageAndSetWallpaper()
731 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()
2579 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;
199 if (!pageSize.isPortrait()) {
24171 method public boolean isPortrait();
26127 method public boolean isPortrait();