Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java116 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromResource() argument
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
149 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromFile() argument
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromFile()
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromDescriptor() argument
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()
232 int reqWidth, int reqHeight) { in calculateInSampleSize() argument
239 if (height > reqHeight || width > reqWidth) { in calculateInSampleSize()
247 && (halfWidth / inSampleSize) > reqWidth) { in calculateInSampleSize()
260 final long totalReqPixelsCap = reqWidth * reqHeight * 2; in calculateInSampleSize()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java359 FileDescriptor fileDescriptor, int reqWidth, int reqHeight) { in decodeSampledBitmapFromDescriptor() argument
367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromDescriptor()
389 int reqWidth, int reqHeight) { in calculateInSampleSize() argument
395 if (height > reqHeight || width > reqWidth) { in calculateInSampleSize()
399 final int widthRatio = Math.round((float) width / (float) reqWidth); in calculateInSampleSize()
414 final float totalReqPixelsCap = reqWidth * reqHeight * 2; in calculateInSampleSize()
/development/samples/SupportLeanbackShowcase/libs/
Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/ ...