Home
last modified time | relevance | path

Searched refs:isPortrait (Results 1 – 24 of 24) 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/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DDefaultImeVisibilityTest.java82 public DefaultImeVisibilityTest(boolean isPortrait) { in DefaultImeVisibilityTest() argument
83 mIsPortrait = isPortrait; in DefaultImeVisibilityTest()
84 mImeStressTestRule.setIsPortrait(isPortrait); in DefaultImeVisibilityTest()
DImeStressTestRule.java62 public void setIsPortrait(boolean isPortrait) { in setIsPortrait() argument
63 mIsPortrait = isPortrait; in setIsPortrait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastLogger.kt52 fun logOrientationChange(text: String, isPortrait: Boolean) { in logOrientationChange()
55 bool1 = isPortrait in logOrientationChange()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DVolumeSlidersComponent.kt30 import com.android.systemui.volume.panel.ui.composable.isPortrait
55 .isExpandable(isPortrait) in Content()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/
DVolumePanelRoot.kt76 if (isPortrait) Arrangement.spacedBy(padding) else Arrangement.spacedBy(4.dp) in Components()
82 if (isPortrait || isLargeScreen) { in Components()
DVolumePanelComposeScope.kt35 val VolumePanelComposeScope.isPortrait: Boolean constant
/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()
1003 public boolean isPortrait() { in isPortrait() method in PrintAttributes.MediaSize
1015 if (isPortrait()) { in asPortrait()
1032 if (!isPortrait()) { in asLandscape()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java232 final boolean isPortrait = mContext.getResources().getConfiguration().orientation in getPowerButtonOrigin()
235 if (isPortrait) { in getPowerButtonOrigin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/ui/viewmodel/
DAudioVolumeComponentViewModel.kt108 fun isExpandable(isPortrait: Boolean): Flow<SlidersExpandableViewModel> { in <lambda>()
109 return if (isPortrait) { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/statusbar/phone/
DSystemUIDialogFactoryExt.kt172 val isPortrait = LocalConfiguration.current.orientation == Configuration.ORIENTATION_PORTRAIT in Modifier() constant
176 val horizontalPadding: Dp = if (isPortrait) 0.dp else 48.dp in Modifier()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java350 final boolean isPortrait = mContext.get().getResources().getConfiguration().orientation in setTransformationMatrix()
353 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix()
354 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt80 val isPortrait = config.orientation == Configuration.ORIENTATION_PORTRAIT in <lambda>() constant
81 if (isPortrait && in <lambda>()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java887 if (currAttributes.getMediaSize().isPortrait()) { in onAdvancedPrintOptionsActivityResult()
1191 boolean isPortrait = currMediaSize.isPortrait(); in updatePrintAttributesFromCapabilities()
1211 if (isPortrait) { in updatePrintAttributesFromCapabilities()
1740 if (oldMediaSize.isPortrait()) { in updateOptionsUi()
1888 if (mediaSize.isPortrait() in updateOptionsUi()
1891 } else if (!mediaSize.isPortrait() in updateOptionsUi()
2883 boolean isPortrait = attributes.isPortrait(); in onItemSelected()
2886 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.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.java659 final boolean isPortrait =
668 final TypedValue tvw = isPortrait ? mWindow.mFixedWidthMinor : mWindow.mFixedWidthMajor;
695 final TypedValue tvh = isPortrait ? mWindow.mFixedHeightMajor
727 final TypedValue tv = isPortrait ? mWindow.mMinWidthMinor : mWindow.mMinWidthMajor;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java405 final boolean isPortrait = mOrientation == Configuration.ORIENTATION_PORTRAIT; in adjustPositionOnScreen()
408 final boolean isTabletop = isPortrait && isHalfOpen; in adjustPositionOnScreen()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22893 method public boolean isPortrait();
/frameworks/base/core/api/
Dcurrent.txt35023 method public boolean isPortrait();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt40348 Landroid/print/PrintAttributes;->isPortrait()Z