Lines Matching refs:drawable
17 package android.graphics.drawable;
56 * <p>Create a new rotating drawable with an empty state.</p>
63 * <p>Create a new rotating drawable with the specified state. A copy of
65 * drawable.</p>
67 * @param rotateState the state for this drawable
94 * Returns the drawable rotated by this RotateDrawable.
240 Drawable drawable = null;
242 drawable = r.getDrawable(res);
256 if ((drawable = Drawable.createFromXmlInner(r, parser, attrs)) == null) {
257 Log.w("drawable", "Bad element under <rotate>: "
262 if (drawable == null) {
263 Log.w("drawable", "No drawable specified for <rotate>");
266 mState.mDrawable = drawable;
274 if (drawable != null) {
275 drawable.setCallback(this);
289 * <p>Represents the state of a rotation for a given drawable. The same
290 * rotate drawable can be invoked with different states to drive several