Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSwitch.java114 private Drawable mThumbDrawable; field in Switch
259 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb); in Switch()
260 if (mThumbDrawable != null) { in Switch()
261 mThumbDrawable.setCallback(this); in Switch()
714 if (mThumbDrawable != null) { in setThumbDrawable()
715 mThumbDrawable.setCallback(null); in setThumbDrawable()
717 mThumbDrawable = thumb; in setThumbDrawable()
753 return mThumbDrawable; in getThumbDrawable()
867 if (mThumbDrawable != null && (mHasThumbTint || mHasThumbTintMode)) { in applyThumbTint()
868 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()