Lines Matching defs:density
63 * draw into. The initial target density is {@link Bitmap#DENSITY_NONE};
76 * <p>The initial target density of the canvas is the same as the given
77 * bitmap's density.
107 * <p>The initial target density of the canvas is the same as the initial
108 * density of bitmaps as per {@link Bitmap#getDensity() Bitmap.getDensity()}.
135 * updates the canvas's target density to match that of the bitmap.
192 * <p>Returns the target density of the canvas. The default density is
193 * derived from the density of its backing bitmap, or
196 * @return Returns the current target density of the canvas, which is used
207 * <p>Specifies the density for this Canvas' backing bitmap. This modifies
208 * the target density of the canvas itself, as well as the density of its
211 * @param density The new target density of the canvas, which is used
218 public void setDensity(int density) {
220 mBitmap.setDensity(density);
222 mDensity = density;
226 public void setScreenDensity(int density) {
227 mScreenDensity = density;
972 * same density as the canvas.
997 * <p>This function <em>ignores the density associated with the bitmap</em>.
1029 * <p>This function <em>ignores the density associated with the bitmap</em>.