Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java260 final long totalReqPixelsCap = reqWidth * reqHeight * 2; in calculateInSampleSize() local
262 while (totalPixels > totalReqPixelsCap) { in calculateInSampleSize()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java414 final float totalReqPixelsCap = reqWidth * reqHeight * 2; in calculateInSampleSize()
416 while (totalPixels / (inSampleSize * inSampleSize) > totalReqPixelsCap) { in calculateInSampleSize()