Searched defs:inTargetDensity (Results 1 - 1 of 1) sorted by last modified time

/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java176 * density does not match {@link #inTargetDensity}, then the bitmap
186 * @see #inTargetDensity
214 public int inTargetDensity; field in class:BitmapFactory.Options
219 * {@link #inTargetDensity} is actually the density the application
237 * @see #inTargetDensity
245 * {@link #inTargetDensity} are not 0, the
246 * bitmap will be scaled to match {@link #inTargetDensity} when loaded,
440 if (opts.inTargetDensity == 0 && res != null) {
441 opts.inTargetDensity = res.getDisplayMetrics().densityDpi;
557 final int targetDensity = opts.inTargetDensity;
[all...]

Completed in 47 milliseconds