Searched refs:sampleSize (Results 1 – 5 of 5) sorted by relevance
104 int sampleSize = testData[i + 4]; in testComputeSampleSize() local106 if (result != sampleSize) { in testComputeSampleSize()108 + maxPixels + ", sampleSize = " + sampleSize + ", result = " in testComputeSampleSize()111 assertTrue(sampleSize == result); in testComputeSampleSize()
155 int sampleSize = Math.max(bounds.width() / width, bounds.height() / height); in decodeBitmap() local156 sampleSize = Math.min(sampleSize, in decodeBitmap()160 options.inSampleSize = Math.max(sampleSize, 1); in decodeBitmap()
243 int sampleSize = 1; in getResizedImageData() local253 options.inSampleSize = sampleSize; in getResizedImageData()258 "may try with larger sampleSize. Curr sampleSize=" + sampleSize); in getResizedImageData()259 sampleSize *= 2; // works best as a power of two in getResizedImageData()
79 int sampleSize = Math.min(w / minSideLength, h / minSideLength); in computeInitialSampleSize() local80 return Math.max(sampleSize, lowerBound); in computeInitialSampleSize()
938 int sampleSize = 1; in getArtworkQuick() local949 sampleSize <<= 1; in getArtworkQuick()954 sBitmapOptionsCache.inSampleSize = sampleSize; in getArtworkQuick()