Searched refs:inSampleSize (Results 1 – 14 of 14) 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()
54 bitmapOptions.inSampleSize = getPowerOfTwoForSampleRatio(ratio); in resolveImage()
108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); in createLocalBitmap()
134 public int inSampleSize; field in BitmapFactory.Options
661 options.inSampleSize = scaleDownSampleSize;674 options.inSampleSize = scaleDownSampleSize;
175 opts.inSampleSize = 2; in DessertCaseView()
696 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()709 options.inSampleSize = scaleDownSampleSize; in getBuiltInDrawable()
693 options.inSampleSize = scale; in generateCrop()697 estimateCrop.scale(1f / options.inSampleSize); in generateCrop()717 estimateCrop.scale(1f / options.inSampleSize); in generateCrop()729 Slog.v(TAG, " down sampling=" + options.inSampleSize in generateCrop()
436 mBitmapOptions.inSampleSize = 1; in MediaScanner()
10527 field public int inSampleSize;
13682 field public int inSampleSize;