Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java96 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in BitmapDrawable
235 mBitmapWidth = bitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
236 mBitmapHeight = bitmap.getScaledHeight(mTargetDensity); in computeBitmapSize()
287 if (mTargetDensity != density) { in setTargetDensity()
288 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
579 final int targetDensity = mTargetDensity; in updateShaderMatrix()
814 state.mTargetDensity = Drawable.resolveDensity(r, 0); in updateStateFromTypedArray()
997 int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in BitmapDrawable.BitmapState
1019 mTargetDensity = bitmapState.mTargetDensity; in BitmapState()
1061 mBitmapState.mTargetDensity = mTargetDensity; in init()
[all …]
DNinePatchDrawable.java83 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in NinePatchDrawable
184 if (mTargetDensity != density) { in setTargetDensity()
185 mTargetDensity = density; in setTargetDensity()
221 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity(); in draw()
672 final int targetDensity = mTargetDensity; in computeBitmapSize()
752 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
754 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()
DVectorDrawable.java336 private int mTargetDensity; field in VectorDrawable
373 if (mTargetDensity != density) { in updateLocalState()
374 mTargetDensity = density; in updateLocalState()
580 final int targetDensity = mTargetDensity; in computeVectorSize()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19675 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTargetDensity:I
20090 Landroid/graphics/drawable/NinePatchDrawable;->mTargetDensity:I
20537 Landroid/graphics/drawable/VectorDrawable;->mTargetDensity:I