Searched refs:mTempCanvas (Results 1 – 1 of 1) sorted by relevance
82 Canvas mTempCanvas; field in DumbBitmapRegionDecoder101 if (mTempCanvas == null) { in decodeRegion()102 mTempCanvas = new Canvas(); in decodeRegion()111 mTempCanvas.setBitmap(newBitmap); in decodeRegion()112 mTempCanvas.save(); in decodeRegion()113 mTempCanvas.scale(1f / sampleSize, 1f / sampleSize); in decodeRegion()114 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint); in decodeRegion()115 mTempCanvas.restore(); in decodeRegion()116 mTempCanvas.setBitmap(null); in decodeRegion()