Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSwitch.java106 private Drawable mTrackDrawable; field in Switch
248 mTrackDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_track); in Switch()
249 if (mTrackDrawable != null) { in Switch()
250 mTrackDrawable.setCallback(this); in Switch()
518 if (mTrackDrawable != null) { in setTrackDrawable()
519 mTrackDrawable.setCallback(null); in setTrackDrawable()
521 mTrackDrawable = track; in setTrackDrawable()
548 return mTrackDrawable; in getTrackDrawable()
642 if (mTrackDrawable != null && (mHasTrackTint || mHasTrackTintMode)) { in applyTrackTint()
643 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()