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.java47 void setButtonDrawable(Drawable buttonDrawable); in setButtonDrawable() argument
114 Drawable buttonDrawable = CompoundButtonCompat.getButtonDrawable(mView); in applyButtonTint() local
116 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 …]
DAppCompatCheckBox.java66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument
67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
DAppCompatRadioButton.java66 public void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() argument
67 super.setButtonDrawable(buttonDrawable); in setButtonDrawable()
/frameworks/base/core/java/android/widget/
DCompoundButton.java390 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingLeft() local
391 if (buttonDrawable != null) { in getCompoundPaddingLeft()
392 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingLeft()
402 final Drawable buttonDrawable = mButtonDrawable; in getCompoundPaddingRight() local
403 if (buttonDrawable != null) { in getCompoundPaddingRight()
404 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingRight()
415 final Drawable buttonDrawable = mButtonDrawable; in getHorizontalOffsetForDrawables() local
416 return (buttonDrawable != null) ? buttonDrawable.getIntrinsicWidth() : 0; in getHorizontalOffsetForDrawables()
421 final Drawable buttonDrawable = mButtonDrawable; in onDraw() local
422 if (buttonDrawable != null) { in onDraw()
[all …]