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/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt428 val isPortrait = config.orientation == Configuration.ORIENTATION_PORTRAIT in <lambda>() constant
429 if (isPortrait && in <lambda>()
/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.java363 boolean isPortrait = windowBounds.width() < windowBounds.height(); in cropImageAndSetWallpaper()
414 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.java687 final boolean isPortrait =
696 final TypedValue tvw = isPortrait ? mWindow.mFixedWidthMinor : mWindow.mFixedWidthMajor;
723 final TypedValue tvh = isPortrait ? mWindow.mFixedHeightMajor
755 final TypedValue tv = isPortrait ? mWindow.mMinWidthMinor : mWindow.mMinWidthMajor;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22893 method public boolean isPortrait();
/frameworks/base/api/
Dcurrent.txt37934 method public boolean isPortrait();