Searched refs:inTargetDensity (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java117 * density does not match {@link #inTargetDensity}, then the bitmap
127 * @see #inTargetDensity
155 public int inTargetDensity; field in class:BitmapFactory.Options
160 * {@link #inTargetDensity} is actually the density the application
178 * @see #inTargetDensity
186 * {@link #inTargetDensity} are not 0, the
187 * bitmap will be scaled to match {@link #inTargetDensity} when loaded,
347 if (opts.inTargetDensity == 0 && res != null) {
348 opts.inTargetDensity = res.getDisplayMetrics().densityDpi;
513 final int targetDensity = opts.inTargetDensity;
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java58 final int targetDensity = opts.inTargetDensity;

Completed in 93 milliseconds