Searched refs:buttonDrawable (Results 1 – 4 of 4) sorted by relevance
47 void setButtonDrawable(Drawable buttonDrawable); in setButtonDrawable() argument114 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() local116 if (buttonDrawable != null && (mHasButtonTint || mHasButtonTintMode)) { in applyButtonTint()117 buttonDrawable = DrawableCompat.wrap(buttonDrawable); in applyButtonTint()118 buttonDrawable = buttonDrawable.mutate(); in applyButtonTint()120 DrawableCompat.setTintList(buttonDrawable, mButtonTintList); in applyButtonTint()123 DrawableCompat.setTintMode(buttonDrawable, mButtonTintMode); in applyButtonTint()127 if (buttonDrawable.isStateful()) { in applyButtonTint()128 buttonDrawable.setState(mView.getDrawableState()); in applyButtonTint()130 mView.setButtonDrawable(buttonDrawable); in applyButtonTint()[all …]
66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
390 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingLeft() local391 if (buttonDrawable != null) { in getCompoundPaddingLeft()392 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingLeft()402 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingRight() local403 if (buttonDrawable != null) { in getCompoundPaddingRight()404 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingRight()415 final Drawable buttonDrawable = mButtonDrawable; in getHorizontalOffsetForDrawables() local416 return (buttonDrawable != null) ? buttonDrawable.getIntrinsicWidth() : 0; in getHorizontalOffsetForDrawables()421 final Drawable buttonDrawable = mButtonDrawable; in onDraw() local422 if (buttonDrawable != null) { in onDraw()[all …]