Searched refs:mTargetDensity (Results 1 – 4 of 4) sorted by relevance
96 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in BitmapDrawable235 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.BitmapState1019 mTargetDensity = bitmapState.mTargetDensity; in BitmapState()1061 mBitmapState.mTargetDensity = mTargetDensity; in init()[all …]
83 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in NinePatchDrawable184 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()
337 private int mTargetDensity; field in VectorDrawable378 if (mTargetDensity != density) { in updateLocalState()379 mTargetDensity = density; in updateLocalState()584 final int targetDensity = mTargetDensity; in computeVectorSize()
19666 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTargetDensity:I20081 Landroid/graphics/drawable/NinePatchDrawable;->mTargetDensity:I20528 Landroid/graphics/drawable/VectorDrawable;->mTargetDensity:I