Home
last modified time | relevance | path

Searched refs:mWidthLimit (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java400 private final int mWidthLimit; field in ImageUtils.ImageResizer
446 mWidthLimit = widthLimit; in ImageResizer()
619 final int widthLimitWithSlop = (int) (mWidthLimit * MAX_TARGET_SCALE_FACTOR); in canBeCompressed()
636 "imageWidth=%d imageHeight=%d", mWidthLimit, mHeightLimit, mByteLimit, in canBeCompressed()
679 + " limit (w=" + mWidthLimit + " h=" + mHeightLimit + ") quality=" in recodeImage()
705 if (decodedWidth > mWidthLimit || decodedHeight > mHeightLimit) { in recodeImage()
707 mWidthLimit == 0 ? 1.0f : in recodeImage()
708 (float) decodedWidth / (float) mWidthLimit, in recodeImage()