Home
last modified time | relevance | path

Searched refs:mOpts (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java56 private final BitmapFactory.Options mOpts = new BitmapFactory.Options(); field in DecodeTask
192 mOpts.inBitmap = null; in decode()
211 mOpts.inJustDecodeBounds = true; in decode()
213 BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts); in decode() local
215 BitmapFactory.decodeStream(in, null, mOpts); in decode()
226 srcW = mOpts.outWidth; in decode()
227 srcH = mOpts.outHeight; in decode()
229 srcW = mOpts.outHeight; in decode()
230 srcH = mOpts.outWidth; in decode()
251 mOpts.inSampleSize = Math.max(1, sampleSize); in decode()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java61 private final ExtendedOptions mOpts; field in ExtendedBitmapDrawable
80 mOpts = opts; in ExtendedBitmapDrawable()
90 mOpts.validate(); in onOptsChanged()
93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) { in onOptsChanged()
101 if (mOpts.placeholder != null) { in onOptsChanged()
102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged()
106 placeholder = mOpts.placeholder; in onOptsChanged()
109 Rect bounds = mOpts.placeholder.getBounds(); in onOptsChanged()
123 fadeOutDurationMs, mOpts); in onOptsChanged()
128 if (mOpts.progressBar != null) { in onOptsChanged()
[all …]
DTileDrawable.java36 private final ExtendedOptions mOpts; field in TileDrawable
46 mOpts = opts; in TileDrawable()
98 mPaint.setColor(mOpts.backgroundColor); in draw()