Searched refs:inSampleSize (Results 1 – 13 of 13) sorted by relevance
101 int inSampleSize = 1; in calculateInSampleSize() local110 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()111 && (halfWidth / inSampleSize) > reqWidth) { in calculateInSampleSize()112 inSampleSize *= 2; in calculateInSampleSize()116 return inSampleSize; in calculateInSampleSize()128 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
175 int inSampleSize = 1; in calculateSampleSize() local184 while ((halfHeight / inSampleSize) >= requestedSize.getHeight() in calculateSampleSize()185 && (halfWidth / inSampleSize) >= requestedSize.getWidth()) { in calculateSampleSize()186 inSampleSize *= 2; in calculateSampleSize()190 return inSampleSize; in calculateSampleSize()
251 mOpts.inSampleSize = Math.max(1, sampleSize); in decode()306 Trace.beginSection("decodeCropped" + mOpts.inSampleSize); in decode()326 mDecodeOpts.destH, mDecodeOpts.destH, mOpts.inSampleSize, in decode()374 Trace.beginSection("decode" + mOpts.inSampleSize); in decode()384 + mOpts.inSampleSize); in decode()386 if (mOpts.inSampleSize > 1) { in decode()388 mOpts.inSampleSize = 1; in decode()408 result.setLogicalWidth((srcRect.right - srcRect.left) / mOpts.inSampleSize); in decode()410 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize); in decode()
127 int sampleSize = Math.max(options.inSampleSize, 1); in decodeRegion()190 opts.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in loadInBackground()449 mOptions.inSampleSize = (1 << level); in getTile()474 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap()
108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); in createLocalBitmap()
204 options.inSampleSize = sampleSize; in decodeBitmapFromBytes()
135 public int inSampleSize; field in BitmapFactory.Options
658 options.inSampleSize = scaleDownSampleSize;671 options.inSampleSize = scaleDownSampleSize;
175 opts.inSampleSize = 2; in DessertCaseView()
861 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()874 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
686 options.inSampleSize = scale; in generateCrop()690 estimateCrop.scale(1f / options.inSampleSize); in generateCrop()710 estimateCrop.scale(1f / options.inSampleSize); in generateCrop()722 Slog.v(TAG, " down sampling=" + options.inSampleSize in generateCrop()
14789 field public int inSampleSize;
10527 field public int inSampleSize;