Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSwitch.java99 private Drawable mThumbDrawable; field in Switch
244 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb); in Switch()
245 if (mThumbDrawable != null) { in Switch()
246 mThumbDrawable.setCallback(this); in Switch()
670 if (mThumbDrawable != null) { in setThumbDrawable()
671 mThumbDrawable.setCallback(null); in setThumbDrawable()
673 mThumbDrawable = thumb; in setThumbDrawable()
702 return mThumbDrawable; in getThumbDrawable()
796 if (mThumbDrawable != null && (mHasThumbTint || mHasThumbTintMode)) { in applyThumbTint()
797 mThumbDrawable = mThumbDrawable.mutate(); in applyThumbTint()
[all …]
DFastScroller.java142 private Drawable mThumbDrawable; field in FastScroller
311 mThumbImage.setImageDrawable(mThumbDrawable); in updateAppearance()
314 if (mThumbDrawable != null) { in updateAppearance()
315 width = Math.max(width, mThumbDrawable.getIntrinsicWidth()); in updateAppearance()
363 mThumbDrawable = ta.getDrawable(index); in setStyle()