Home
last modified time | relevance | path

Searched refs:setTargetDensity (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java155 public void setTargetDensity(@NonNull Canvas canvas) { in setTargetDensity() method in NinePatchDrawable
156 setTargetDensity(canvas.getDensity()); in setTargetDensity()
167 public void setTargetDensity(@NonNull DisplayMetrics metrics) { in setTargetDensity() method in NinePatchDrawable
168 setTargetDensity(metrics.densityDpi); in setTargetDensity()
179 public void setTargetDensity(int density) { in setTargetDensity() method in NinePatchDrawable
DBitmapDrawable.java263 public void setTargetDensity(Canvas canvas) { in setTargetDensity() method in BitmapDrawable
264 setTargetDensity(canvas.getDensity()); in setTargetDensity()
275 public void setTargetDensity(DisplayMetrics metrics) { in setTargetDensity() method in BitmapDrawable
276 setTargetDensity(metrics.densityDpi); in setTargetDensity()
287 public void setTargetDensity(int density) { in setTargetDensity() method in BitmapDrawable
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java171 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics()); in addBitmapDrawable()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java375 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java376 bitmapDrawable.setTargetDensity(mContext.getResources().getDisplayMetrics()); in createIconBitmap()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java3084 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
/frameworks/base/core/api/
Dcurrent.txt16438 method public void setTargetDensity(android.graphics.Canvas);
16439 method public void setTargetDensity(android.util.DisplayMetrics);
16440 method public void setTargetDensity(int);
16805 method public void setTargetDensity(@NonNull android.graphics.Canvas);
16806 method public void setTargetDensity(@NonNull android.util.DisplayMetrics);
16807 method public void setTargetDensity(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11635 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);