Lines Matching refs:mDrawable
45 private Drawable mDrawable;
89 mDrawable = drawable != null ? drawable.mutate() : null;
97 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null;
103 if (mDrawable instanceof StateListDrawable) {
104 StateListDrawable d = (StateListDrawable) mDrawable;
110 if (mDrawable instanceof StateListDrawable) {
111 StateListDrawable d = (StateListDrawable) mDrawable;
124 if (mDrawable instanceof StateListDrawable) {
125 StateListDrawable d = (StateListDrawable) mDrawable;
143 return mDrawable != null && mEnabled;
152 if (mDrawable instanceof StateListDrawable) {
153 StateListDrawable d = (StateListDrawable) mDrawable;
170 } else if (mDrawable != null) {
171 mDrawable.setBounds(0, 0,
172 mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight());
233 return mDrawable != null ? mDrawable.getIntrinsicWidth() : 0;
237 return mDrawable != null ? mDrawable.getIntrinsicHeight() : 0;
241 if (mDrawable == null || !mEnabled) {
248 mDrawable.setAlpha((int) Math.round(mAlpha * 255f));
249 mDrawable.draw(canvas);