Searched refs:thumbLeft (Results 1 – 1 of 1) sorted by relevance
396 final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop; in hitThumb() local397 final int thumbRight = thumbLeft + mThumbWidth + in hitThumb()400 return x > thumbLeft && x < thumbRight && y > thumbTop && y < thumbBottom; in hitThumb()581 int thumbLeft = switchInnerLeft - mTempRect.left + thumbPos; in onDraw() local584 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in onDraw()596 canvas.translate((thumbLeft + thumbRight) / 2 - switchText.getWidth() / 2, in onDraw()