Searched refs:thumbLeft (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 895 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() local 896 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb() 899 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb() 1179 final int thumbLeft = thumbInitialLeft - padding.left; in draw() local 1181 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 1185 DrawableCompat.setHotspotBounds(background, thumbLeft, switchTop, in draw()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 914 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() local 915 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb() 918 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb() 1196 final int thumbLeft = thumbInitialLeft - padding.left; in draw() local 1198 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 1202 background.setHotspotBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 5891 final int thumbLeft = bounds.left + thumbOffset; 5893 if (x >= thumbLeft - adjust && x <= thumbLeft + thumbLength + adjust
|