Searched refs:byteLimit (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 228 public PduPart getResizedImageAsPart(int widthLimit, int heightLimit, int byteLimit) { in getResizedImageAsPart() argument 232 widthLimit, heightLimit, byteLimit, mUri, mContext); in getResizedImageAsPart() 258 int widthLimit, int heightLimit, int byteLimit, Uri uri, Context context) { in getResizedImageData() argument 269 ", hlimit=" + heightLimit + ", sizeLimit=" + byteLimit + in getResizedImageData() 328 (os != null && os.size() > byteLimit)) { in getResizedImageData() 355 if (jpgFileSize > byteLimit) { in getResizedImageData() 356 quality = (quality * byteLimit) / jpgFileSize; // watch for int division! in getResizedImageData() 383 resultTooBig = os == null || os.size() > byteLimit; in getResizedImageData() 388 " requested max: " + byteLimit + " actual: " + os.size()); in getResizedImageData()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | ImageModel.java | 188 protected void resizeMedia(int byteLimit, long messageId) throws MmsException { in resizeMedia() argument 216 if (size != 0 && size <= byteLimit && in resizeMedia() 229 byteLimit); in resizeMedia()
|
D | MediaModel.java | 305 protected void resizeMedia(int byteLimit, long messageId) throws MmsException { in resizeMedia() argument
|