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()
288 if (mTargetDensity != density) { in setTargetDensity()
289 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()
580 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()
671 final int targetDensity = mTargetDensity; in computeBitmapSize()
751 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()
753 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()
DVectorDrawable.java337 private int mTargetDensity; field in VectorDrawable
378 if (mTargetDensity != density) { in updateLocalState()
379 mTargetDensity = density; in updateLocalState()
584 final int targetDensity = mTargetDensity; in computeVectorSize()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19666 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTargetDensity:I
20081 Landroid/graphics/drawable/NinePatchDrawable;->mTargetDensity:I
20528 Landroid/graphics/drawable/VectorDrawable;->mTargetDensity:I