Searched refs:thumbLeft (Results 1 – 2 of 2) sorted by relevance
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 625 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() local 626 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb() 629 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb() 905 final int thumbLeft = thumbInitialLeft - padding.left; in draw() local 907 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 911 DrawableCompat.setHotspotBounds(background, thumbLeft, switchTop, in draw()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 909 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() local 910 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb() 913 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb() 1191 final int thumbLeft = thumbInitialLeft - padding.left; in draw() local 1193 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw() 1197 background.setHotspotBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()
|