/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | TaskThumbnailIconView.java | 61 boolean isPortrait = in onMeasure() 64 makeMeasureSpec(isPortrait ? height : subItemSize, MeasureSpec.EXACTLY); in onMeasure() 66 makeMeasureSpec(isPortrait ? subItemSize : width, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | AspectRatio.java | 128 if (isPortrait()) { in asPortrait() 140 if (other.isPortrait()) { in withOrientationOf() 206 private boolean isPortrait() { in isPortrait() method in AspectRatio
|
D | Size.java | 115 if (isPortrait()) { in asPortrait() 226 private boolean isPortrait() { in isPortrait() method in Size
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 58 final boolean isPortrait = Configuration.ORIENTATION_PORTRAIT == orientation; in checkOrientation() 59 if (isPortrait && !isHorizontal) { in checkOrientation() 66 } else if (!isPortrait && isHorizontal) { in checkOrientation()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.kt | 54 ratio = if (Utils.isPortrait(context)) { in getScaleRatio() 74 return if (Utils.isPortrait(context)) { ratio * 1.75f } else ratio in getHeightScaleRatio()
|
D | WidgetUtils.java | 58 if (Utils.isPortrait(context)) { in getScaleRatio() 88 if (Utils.isPortrait(context)) { in getHeightScaleRatio()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImagePrintActivity.java | 142 boolean isPortrait = values[0]; in onProgressUpdate() 143 if (DEBUG) Log.d(TAG, "startPrint(portrait=" + isPortrait + ")"); in onProgressUpdate() 151 .setMediaSize(isPortrait ? getLocaleDefaultMediaSize() : in onProgressUpdate()
|
D | ImageToPdfTask.java | 78 if (mAttributes.getMediaSize().isPortrait() == mBitmap.getWidth() < mBitmap.getHeight()) { in writeBitmapToDocument()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCamera.java | 320 final boolean isPortrait = mContext.get().getResources().getConfiguration().orientation in setTransformationMatrix() 323 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix() 324 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 327 final boolean isPortrait = mContext.get().getResources().getConfiguration().orientation in setTransformationMatrix() 330 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix() 331 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | ModeOptionsOverlay.java | 185 final boolean isPortrait = (Configuration.ORIENTATION_PORTRAIT == orientation); in checkOrientation() 195 if (isPortrait) { in checkOrientation()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ClockFragment.java | 355 mIsPortrait = Utils.isPortrait(context); in SelectedCitiesAdapter() 449 private void bind(Context context, City city, int position, boolean isPortrait) { in bind() argument 470 final int top = position == 0 && !isPortrait ? 0 : padding; in bind()
|
D | Utils.java | 533 public static boolean isPortrait(Context context) { in isPortrait() method in Utils
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperCropActivity.java | 363 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper() 404 if (isPortrait) { in cropImageAndSetWallpaper()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 107 mJobParams.portrait_mode = mediaSize == null || mediaSize.isPortrait(); in populateJobParams()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 411 if (Utils.isPortrait(getActivity())) { in <lambda>()
|
D | StopwatchFragment.java | 429 if (Utils.isPortrait(getActivity())) { in showOrHideLaps()
|