Searched refs:buttonDrawable (Results 1 – 4 of 4) sorted by relevance
49 void setButtonDrawable(Drawable buttonDrawable); in setButtonDrawable() argument116 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() local118 if (buttonDrawable != null && (mHasButtonTint || mHasButtonTintMode)) { in applyButtonTint()119 buttonDrawable = DrawableCompat.wrap(buttonDrawable); in applyButtonTint()120 buttonDrawable = buttonDrawable.mutate(); in applyButtonTint()122 DrawableCompat.setTintList(buttonDrawable, mButtonTintList); in applyButtonTint()125 DrawableCompat.setTintMode(buttonDrawable, mButtonTintMode); in applyButtonTint()129 if (buttonDrawable.isStateful()) { in applyButtonTint()130 buttonDrawable.setState(mView.getDrawableState()); in applyButtonTint()132 mView.setButtonDrawable(buttonDrawable); in applyButtonTint()[all …]
66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
372 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingLeft() local373 if (buttonDrawable != null) { in getCompoundPaddingLeft()374 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingLeft()384 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingRight() local385 if (buttonDrawable != null) { in getCompoundPaddingRight()386 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingRight()397 final Drawable buttonDrawable = mButtonDrawable; in getHorizontalOffsetForDrawables() local398 return (buttonDrawable != null) ? buttonDrawable.getIntrinsicWidth() : 0; in getHorizontalOffsetForDrawables()403 final Drawable buttonDrawable = mButtonDrawable; in onDraw() local404 if (buttonDrawable != null) { in onDraw()[all …]