Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSwitch.java100 private Drawable mThumbDrawable; field in Switch
245 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb); in Switch()
246 if (mThumbDrawable != null) { in Switch()
247 mThumbDrawable.setCallback(this); in Switch()
668 if (mThumbDrawable != null) { in setThumbDrawable()
669 mThumbDrawable.setCallback(null); in setThumbDrawable()
671 mThumbDrawable = thumb; in setThumbDrawable()
700 return mThumbDrawable; in getThumbDrawable()
794 if (mThumbDrawable != null && (mHasThumbTint || mHasThumbTintMode)) { in applyThumbTint()
795 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()