Lines Matching refs:drawable
17 package android.graphics.drawable;
59 final Drawable drawable = state.mDrawable;
60 if (drawable != null) {
61 drawable.setFilterBitmap(true);
62 if (drawable instanceof BitmapDrawable) {
63 ((BitmapDrawable) drawable).setAntiAlias(true);
72 final Drawable drawable = st.mDrawable;
73 final Rect bounds = drawable.getBounds();
83 drawable.draw(canvas);
136 * Returns the drawable rotated by this RotateDrawable.
233 Drawable drawable = null;
235 drawable = r.getDrawable(res);
249 if ((drawable = Drawable.createFromXmlInner(r, parser, attrs)) == null) {
250 Log.w("drawable", "Bad element under <animated-rotate>: "
255 if (drawable == null) {
256 Log.w("drawable", "No drawable specified for <animated-rotate>");
260 rotateState.mDrawable = drawable;
270 if (drawable != null) {
271 drawable.setCallback(this);