Home
last modified time | relevance | path

Searched refs:buttonDrawable (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatCompoundButtonHelper.java49 void setButtonDrawable(Drawable buttonDrawable); in setButtonDrawable() argument
116 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() local
118 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 …]
DAppCompatRadioButton.java66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument
67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
DAppCompatCheckBox.java66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument
67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
/frameworks/base/core/java/android/widget/
DCompoundButton.java372 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingLeft() local
373 if (buttonDrawable != null) { in getCompoundPaddingLeft()
374 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingLeft()
384 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingRight() local
385 if (buttonDrawable != null) { in getCompoundPaddingRight()
386 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingRight()
397 final Drawable buttonDrawable = mButtonDrawable; in getHorizontalOffsetForDrawables() local
398 return (buttonDrawable != null) ? buttonDrawable.getIntrinsicWidth() : 0; in getHorizontalOffsetForDrawables()
403 final Drawable buttonDrawable = mButtonDrawable; in onDraw() local
404 if (buttonDrawable != null) { in onDraw()
[all …]