Home
last modified time | relevance | path

Searched refs:mQuality (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java386 private int mQuality; field in ImageUtils.ImageResizer
452 mQuality = IMAGE_COMPRESSION_QUALITY; in ImageResizer()
680 + mQuality + " scale=" + mScaleFactor + " sampleSize=" + mSampleSize); in recodeImage()
738 encoded = ImageUtils.bitmapToBytes(mScaled, mQuality); in recodeImage()
743 + mQuality); in recodeImage()
762 mQuality > MINIMUM_IMAGE_COMPRESSION_QUALITY) { in updateRecodeParameters()
765 mQuality = Math.max(MINIMUM_IMAGE_COMPRESSION_QUALITY, in updateRecodeParameters()
766 Math.min((int) (mQuality * Math.sqrt((1.0 * mByteLimit) / currentSize)), in updateRecodeParameters()
767 (int) (mQuality * QUALITY_SCALE_DOWN_RATIO))); in updateRecodeParameters()
770 "getResizedImageData: Retrying at quality " + mQuality); in updateRecodeParameters()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DFilterEnvironment.java37 private int mQuality; field in FilterEnvironment
95 mQuality = quality; in setQuality()
99 return mQuality; in getQuality()
135 Bitmap ret = filter.apply(bitmap, mScaleFactor, mQuality); in applyRepresentation()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGOutputStream.java28 private int mQuality = 0; field in JPEGOutputStream
63 mQuality = quality; in setConfig()
91 int flag = setup(out, mWidth, mHeight, mFormat, mQuality); in write()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java52 int mQuality = 95; field in ExportDialog
101 mSeekBar.setProgress(mQuality); in onCreateView()
142 mQuality = mSeekBar.getProgress(); in onProgressChanged()
177 bitmap.compress(Bitmap.CompressFormat.JPEG, mQuality, out); in updateCompressionFactor()