Lines Matching defs:drawable
34 import android.graphics.drawable.Drawable;
72 * Sets a drawable for the fragment background.
74 * @param drawable The drawable used for the background.
76 public void setBackgroundDrawable(Drawable drawable) {
77 mBackgroundDrawable = drawable;
78 if (drawable != null) {
79 final int opacity = drawable.getOpacity();
88 * Returns the background drawable. May be null if a default is used.
95 * Sets the drawable to be used for the error image.
97 * @param drawable The drawable used for the error image.
99 public void setImageDrawable(Drawable drawable) {
100 mDrawable = drawable;
105 * Returns the drawable used for the error image.