Home
last modified time | relevance | path

Searched refs:thumbLeft (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java893 final int thumbLeft = mSwitchLeft + thumbOffset - mTouchSlop; in hitThumb() local
894 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb()
897 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb()
1177 final int thumbLeft = thumbInitialLeft - padding.left; in draw() local
1179 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()
1183 DrawableCompat.setHotspotBounds(background, thumbLeft, switchTop, in draw()
/frameworks/base/core/java/android/widget/
DSwitch.java914 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/
DView.java5929 final int thumbLeft = bounds.left + thumbOffset;
5931 if (x >= thumbLeft - adjust && x <= thumbLeft + thumbLength + adjust