Searched refs:desiredWidth (Results 1 – 3 of 3) sorted by relevance
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJDecompressor.java | 246 public int getScaledWidth(int desiredWidth, int desiredHeight) { in getScaledWidth() argument 249 if (desiredWidth < 0 || desiredHeight < 0) in getScaledWidth() 252 if (desiredWidth == 0) in getScaledWidth() 253 desiredWidth = jpegWidth; in getScaledWidth() 260 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight) in getScaledWidth() 263 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight) in getScaledWidth() 287 public int getScaledHeight(int desiredWidth, int desiredHeight) { in getScaledHeight() argument 290 if (desiredWidth < 0 || desiredHeight < 0) in getScaledHeight() 293 if (desiredWidth == 0) in getScaledHeight() 294 desiredWidth = jpegWidth; in getScaledHeight() [all …]
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageRequest.java | 209 int desiredWidth = in doParse() local 221 findBestSampleSize(actualWidth, actualHeight, desiredWidth, desiredHeight); in doParse() 226 && (tempBitmap.getWidth() > desiredWidth in doParse() 228 bitmap = Bitmap.createScaledBitmap(tempBitmap, desiredWidth, desiredHeight, true); in doParse() 272 int actualWidth, int actualHeight, int desiredWidth, int desiredHeight) { in findBestSampleSize() argument 273 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize()
|
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 749 jobjectArray dstobjs, jintArray jDstOffsets, jint desiredWidth, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() argument 773 width = desiredWidth; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() 815 dstPlanes, desiredWidth, dstStrides, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
|