Searched refs:mTargetDensity (Results 1 – 4 of 4) sorted by relevance
91 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in BitmapDrawable127 mBitmapState.mTargetDensity = mTargetDensity; in BitmapDrawable()146 mBitmapState.mTargetDensity = mTargetDensity; in BitmapDrawable()168 mBitmapState.mTargetDensity = mTargetDensity; in BitmapDrawable()193 mBitmapState.mTargetDensity = mTargetDensity; in BitmapDrawable()216 mBitmapWidth = bitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()217 mBitmapHeight = bitmap.getScaledHeight(mTargetDensity); in computeBitmapSize()267 if (mTargetDensity != density) { in setTargetDensity()268 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()778 state.mTargetDensity = r.getDisplayMetrics().densityDpi; in updateStateFromTypedArray()[all …]
83 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in NinePatchDrawable184 if (mTargetDensity != density) { in setTargetDensity()185 mTargetDensity = density; in setTargetDensity()220 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity(); in draw()668 final int targetDensity = mTargetDensity; in computeBitmapSize()746 mTargetDensity = state.mNinePatch.getDensity(); in updateLocalState()748 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()
220 private int mTargetDensity; field in VectorDrawable257 if (mTargetDensity != density) { in updateLocalState()258 mTargetDensity = density; in updateLocalState()447 final int targetDensity = mTargetDensity; in computeVectorSize()
47 private int mTargetDensity = DisplayMetrics.DENSITY_DEFAULT; field in RoundedBitmapDrawable79 mBitmapWidth = mBitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()80 mBitmapHeight = mBitmap.getScaledHeight(mTargetDensity); in computeBitmapSize()118 if (mTargetDensity != density) { in setTargetDensity()119 mTargetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in setTargetDensity()377 mTargetDensity = res.getDisplayMetrics().densityDpi; in RoundedBitmapDrawable()