Home
last modified time | relevance | path

Searched refs:mThumbDrawable (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java99 private Drawable mThumbDrawable; field in SwitchCompat
214 mThumbDrawable = a.getDrawable(R.styleable.SwitchCompat_android_thumb); in SwitchCompat()
215 if (mThumbDrawable != null) { in SwitchCompat()
216 mThumbDrawable.setCallback(this); in SwitchCompat()
586 if (mThumbDrawable != null) { in setThumbDrawable()
587 mThumbDrawable.setCallback(null); in setThumbDrawable()
589 mThumbDrawable = thumb; in setThumbDrawable()
617 return mThumbDrawable; in getThumbDrawable()
681 if (mThumbDrawable != null && (mHasThumbTint || mHasThumbTintMode)) { in applyThumbTint()
682 mThumbDrawable = mThumbDrawable.mutate(); in applyThumbTint()
[all …]
/frameworks/base/core/java/android/widget/
DSwitch.java92 private Drawable mThumbDrawable; field in Switch
227 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb); in Switch()
228 if (mThumbDrawable != null) { in Switch()
229 mThumbDrawable.setCallback(this); in Switch()
612 if (mThumbDrawable != null) { in setThumbDrawable()
613 mThumbDrawable.setCallback(null); in setThumbDrawable()
615 mThumbDrawable = thumb; in setThumbDrawable()
643 return mThumbDrawable; in getThumbDrawable()
707 if (mThumbDrawable != null && (mHasThumbTint || mHasThumbTintMode)) { in applyThumbTint()
708 mThumbDrawable = mThumbDrawable.mutate(); in applyThumbTint()
[all …]
DFastScroller.java135 private Drawable mThumbDrawable; field in FastScroller
300 mThumbImage.setImageDrawable(mThumbDrawable); in updateAppearance()
303 if (mThumbDrawable != null) { in updateAppearance()
304 width = Math.max(width, mThumbDrawable.getIntrinsicWidth()); in updateAppearance()
352 mThumbDrawable = ta.getDrawable(index); in setStyle()