Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java320 final int widthLimit = MmsConfig.get(subId).getMaxImageWidth(); in makePduBody() local
349 widthLimit, heightLimit, bytesPerImage, srcName, contentType); in makePduBody()
455 final MessagePartData messagePart, int widthLimit, int heightLimit, in addPicturePart() argument
463 if ((height > width) != (heightLimit > widthLimit)) { in addPicturePart()
464 final int temp = widthLimit; in addPicturePart()
465 widthLimit = heightLimit; in addPicturePart()
478 + width + " widthLimit: " + widthLimit in addPicturePart()
490 width <= widthLimit && in addPicturePart()
501 part = getResizedImageAsPart(widthLimit, heightLimit, maxPartSize, in addPicturePart()
670 private static PduPart getResizedImageAsPart(final int widthLimit, in getResizedImageAsPart() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java428 final int orientation, final int widthLimit, final int heightLimit, in getResizedImageData() argument
432 widthLimit, heightLimit, byteLimit, uri, context, contentType); in getResizedImageData()
440 final int widthLimit, final int heightLimit, final int byteLimit, final Uri uri, in ImageResizer() argument
446 mWidthLimit = widthLimit; in ImageResizer()