Lines Matching defs:drawable

30 import android.graphics.drawable.BitmapDrawable;
31 import android.graphics.drawable.Drawable;
70 // these are applied to the drawable
184 * hard to know where the drawable actually is. This is made
186 * can be applied. In theory we could get the drawable's bounds
212 * to preserve the aspect ratio of its drawable
215 * to presrve the original aspect ratio of the drawable
227 * to preserve the aspect ratio of its drawable.
229 * to presrve the original aspect ratio of the drawable
319 /** Return the view's drawable, or null if no drawable has been
327 * Sets a drawable as the content of this ImageView.
331 * consider using {@link #setImageDrawable(android.graphics.drawable.Drawable)} or
335 * @param resId the resource identifier of the the drawable
363 * consider using {@link #setImageDrawable(android.graphics.drawable.Drawable)} or
391 * Sets a drawable as the content of this ImageView.
393 * @param drawable The drawable to set
395 public void setImageDrawable(Drawable drawable) {
396 if (mDrawable != drawable) {
403 updateDrawable(drawable);
420 // to reduce the intermediate drawable object
441 * {@link android.graphics.drawable.LevelListDrawable}.
548 view's drawable when it is drawn. If there is not matrix,
551 applied to the drawable, be sure to call setImageMatrix().
626 // Load drawable through Resources, to get the source density information
739 // If no drawable, its intrinsic size is 0.
750 // ratio of our drawable. See if that is possible.
875 /* If the drawable has no intrinsic size, or we're told to
881 // We need to do the scaling ourself, so have the drawable
1106 * Returns the alpha that will be applied to the drawable of this ImageView.
1108 * @return the alpha that will be applied to the drawable of this ImageView