Home
last modified time | relevance | path

Searched refs:inSampleSize (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapFactory.java183 if (options != null && options.inSampleSize > 1) { in create()
184 p.x = p.x / options.inSampleSize; in create()
185 p.y = p.y / options.inSampleSize; in create()
223 if (options.inSampleSize > 1) opts.add("inSampleSize=" + options.inSampleSize); in stringify()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java123 options.inSampleSize = 100; in decodeResource_canTakeOptions()
134 options.inSampleSize = 100; in decodeResourceStream_canTakeOptions()
241 options.inSampleSize = 0; in decodeWithDifferentSampleSize()
246 options.inSampleSize = 2; in decodeWithDifferentSampleSize()
251 options.inSampleSize = 101; in decodeWithDifferentSampleSize()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DDownsampler.java194 options.inSampleSize = sampleSize; in downsampleWithSize()
196 …if ((options.inSampleSize == 1 || Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) && shouldUs… in downsampleWithSize()
316 + " sample=" + options.inSampleSize, e); in decodeStream()
356 decodeBitmapOptions.inSampleSize = 1; in resetOptions()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageRegionDecoder.java115 options.inSampleSize = sampleSize; in decodeRegion()
DSkiaPooledImageRegionDecoder.java261 options.inSampleSize = sampleSize; in decodeRegion()
/external/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java220 decodeOptions.inSampleSize = in doParse()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1374 int inSampleSize = 1; in calculateInSampleSize() local
1388 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()
1393 while (power * 2 < inSampleSize) { in calculateInSampleSize()