Searched refs:isPortrait (Results 1 – 14 of 14) sorted by relevance
128 if (isPortrait()) { in asPortrait()140 if (other.isPortrait()) { in withOrientationOf()206 private boolean isPortrait() { in isPortrait() method in AspectRatio
115 if (isPortrait()) { in asPortrait()226 private boolean isPortrait() { in isPortrait() method in Size
58 final boolean isPortrait = Configuration.ORIENTATION_PORTRAIT == orientation; in checkOrientation()59 if (isPortrait && !isHorizontal) { in checkOrientation()66 } else if (!isPortrait && isHorizontal) { in checkOrientation()
58 if (Utils.isPortrait(context)) { in getScaleRatio()88 if (Utils.isPortrait(context)) { in getHeightScaleRatio()
140 boolean isPortrait = values[0]; in onProgressUpdate()141 if (DEBUG) Log.d(TAG, "startPrint(portrait=" + isPortrait + ")"); in onProgressUpdate()149 .setMediaSize(isPortrait ? getLocaleDefaultMediaSize() : in onProgressUpdate()
78 if (mAttributes.getMediaSize().isPortrait() == mBitmap.getWidth() < mBitmap.getHeight()) { in writeBitmapToDocument()
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()
345 final boolean isPortrait = mContext.get().getResources().getConfiguration().orientation in setTransformationMatrix()348 final int previewWidth = isPortrait ? mPreviewSize.getWidth() : mPreviewSize.getHeight(); in setTransformationMatrix()349 final int previewHeight = isPortrait ? mPreviewSize.getHeight() : mPreviewSize.getWidth(); in setTransformationMatrix()
185 final boolean isPortrait = (Configuration.ORIENTATION_PORTRAIT == orientation); in checkOrientation()195 if (isPortrait) { in checkOrientation()
355 mIsPortrait = Utils.isPortrait(context); in SelectedCitiesAdapter()449 private void bind(Context context, City city, int position, boolean isPortrait) { in bind() argument470 final int top = position == 0 && !isPortrait ? 0 : padding; in bind()
526 public static boolean isPortrait(Context context) { in isPortrait() method in Utils
363 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()404 if (isPortrait) { in cropImageAndSetWallpaper()
107 mJobParams.portrait_mode = mediaSize == null || mediaSize.isPortrait(); in populateJobParams()
429 if (Utils.isPortrait(getActivity())) { in showOrHideLaps()