Searched refs:setTargetDensity (Results 1 – 8 of 8) sorted by relevance
155 public void setTargetDensity(@NonNull Canvas canvas) { in setTargetDensity() method in NinePatchDrawable156 setTargetDensity(canvas.getDensity()); in setTargetDensity()167 public void setTargetDensity(@NonNull DisplayMetrics metrics) { in setTargetDensity() method in NinePatchDrawable168 setTargetDensity(metrics.densityDpi); in setTargetDensity()179 public void setTargetDensity(int density) { in setTargetDensity() method in NinePatchDrawable
262 public void setTargetDensity(Canvas canvas) { in setTargetDensity() method in BitmapDrawable263 setTargetDensity(canvas.getDensity()); in setTargetDensity()274 public void setTargetDensity(DisplayMetrics metrics) { in setTargetDensity() method in BitmapDrawable275 setTargetDensity(metrics.densityDpi); in setTargetDensity()286 public void setTargetDensity(int density) { in setTargetDensity() method in BitmapDrawable
84 bitmapDrawable.setTargetDensity(mDisplayMetrics); in createIconBitmap()
171 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics()); in addBitmapDrawable()
311 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
2821 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
11635 method public void setTargetDensity(android.graphics.Canvas);11636 method public void setTargetDensity(android.util.DisplayMetrics);11637 method public void setTargetDensity(int);11888 method public void setTargetDensity(android.graphics.Canvas);11889 method public void setTargetDensity(android.util.DisplayMetrics);11890 method public void setTargetDensity(int);
15303 method public void setTargetDensity(android.graphics.Canvas);15304 method public void setTargetDensity(android.util.DisplayMetrics);15305 method public void setTargetDensity(int);15667 method public void setTargetDensity(@NonNull android.graphics.Canvas);15668 method public void setTargetDensity(@NonNull android.util.DisplayMetrics);15669 method public void setTargetDensity(int);