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()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.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()672 final int targetDensity = mTargetDensity; in computeBitmapSize()752 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()754 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()
336 private int mTargetDensity; field in VectorDrawable373 if (mTargetDensity != density) { in updateLocalState()374 mTargetDensity = density; in updateLocalState()580 final int targetDensity = mTargetDensity; in computeVectorSize()
19675 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTargetDensity:I20090 Landroid/graphics/drawable/NinePatchDrawable;->mTargetDensity:I20537 Landroid/graphics/drawable/VectorDrawable;->mTargetDensity:I