Lines Matching defs:drawable

17 package android.graphics.drawable;
44 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
76 * Create an empty drawable, not dealing with density.
78 * that the drawable has correctly set its target density.
86 * Create an empty drawable, setting initial target density based on
96 * Create drawable from a bitmap, not dealing with density.
98 * that the drawable has correctly set its target density.
106 * Create drawable from a bitmap, setting initial target density based on
115 * Create a drawable by opening a given file path and decoding the bitmap.
117 * that the drawable has correctly set its target density.
128 * Create a drawable by opening a given file path and decoding the bitmap.
140 * Create a drawable by decoding a bitmap from the given input stream.
142 * that the drawable has correctly set its target density.
153 * Create a drawable by decoding a bitmap from the given input stream.
165 * Returns the paint used to render this drawable.
172 * Returns the bitmap used by this drawable to render. May be null.
196 * Set the density scale at which this drawable will be rendered. This
197 * method assumes the drawable will be rendered at the same density as the
210 * Set the density scale at which this drawable will be rendered.
212 * @param metrics The DisplayMetrics indicating the density scale for this drawable.
222 * Set the density at which this drawable will be rendered.
224 * @param density The density scale for this drawable.
260 * Enables or disables anti-aliasing for this drawable. Anti-aliasing affects
261 * the edges of the bitmap only so it applies only when the drawable is rotated.
283 * Indicates the repeat behavior of this drawable on the X axis.
293 * Indicates the repeat behavior of this drawable on the Y axis.
303 * Sets the repeat behavior of this drawable on the X axis. By default, the drawable
306 * is smaller than this drawable.
308 * @param mode The repeat mode for this drawable.
318 * Sets the repeat behavior of this drawable on the Y axis. By default, the drawable
321 * is smaller than this drawable.
323 * @param mode The repeat mode for this drawable.
333 * Sets the repeat behavior of this drawable on both axis. By default, the drawable
336 * is smaller than this drawable.
338 * @param xmode The X repeat mode for this drawable.
339 * @param ymode The Y repeat mode for this drawable.
423 * @return This drawable.