Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSwitch.java121 private Drawable mTrackDrawable; field in Switch
263 mTrackDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_track); in Switch()
264 if (mTrackDrawable != null) { in Switch()
265 mTrackDrawable.setCallback(this); in Switch()
536 if (mTrackDrawable != null) { in setTrackDrawable()
537 mTrackDrawable.setCallback(null); in setTrackDrawable()
539 mTrackDrawable = track; in setTrackDrawable()
573 return mTrackDrawable; in getTrackDrawable()
686 if (mTrackDrawable != null && (mHasTrackTint || mHasTrackTintMode)) { in applyTrackTint()
687 mTrackDrawable = mTrackDrawable.mutate(); in applyTrackTint()
[all …]
DFastScroller.java144 private Drawable mTrackDrawable; field in FastScroller
305 mTrackImage.setImageDrawable(mTrackDrawable); in updateAppearance()
306 if (mTrackDrawable != null) { in updateAppearance()
307 width = Math.max(width, mTrackDrawable.getIntrinsicWidth()); in updateAppearance()
366 mTrackDrawable = ta.getDrawable(index); in setStyle()
1550 return isPointInsideX(x) && (mTrackDrawable != null || isPointInsideY(y)); in isPointInside()