Home
last modified time | relevance | path

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

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