Searched refs:isPortrait (Results 1 – 12 of 12) 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()
98 boolean isPortrait = in onCreate()100 gridLayout.setRowCount(isPortrait ? 4 : 2); in onCreate()101 gridLayout.setColumnCount(isPortrait ? 2 : 4); in onCreate()
222 public boolean isPortrait() { in isPortrait() method in PrintAttributes223 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.MediaSize967 if (isPortrait()) { in asPortrait()984 if (!isPortrait()) { in asLandscape()
885 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()
121 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage()
366 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()417 if (isPortrait) { in cropImageAndSetWallpaper()
216 proto.write("is_portrait", PrintAttributesProto.IS_PORTRAIT, attributes.isPortrait()); in writePrintAttributes()
664 final boolean isPortrait =673 final TypedValue tvw = isPortrait ? mWindow.mFixedWidthMinor : mWindow.mFixedWidthMajor;700 final TypedValue tvh = isPortrait ? mWindow.mFixedHeightMajor750 final TypedValue tv = isPortrait ? mWindow.mMinWidthMinor : mWindow.mMinWidthMajor;
22893 method public boolean isPortrait();
36439 method public boolean isPortrait();
36583 method public boolean isPortrait();
54876 Landroid/print/PrintAttributes;->isPortrait()Z