Lines Matching refs:mTempRect
92 private final Rect mTempRect = new Rect();
169 mTrackDrawable.getPadding(mTempRect);
173 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right);
213 mThumbDrawable.getPadding(mTempRect);
217 mTempRect.left + mTempRect.right + mTouchSlop;
396 mTrackDrawable.getPadding(mTempRect);
397 int switchInnerLeft = switchLeft + mTempRect.left;
398 int switchInnerTop = switchTop + mTempRect.top;
399 int switchInnerRight = switchRight - mTempRect.right;
400 int switchInnerBottom = switchBottom - mTempRect.bottom;
403 mThumbDrawable.getPadding(mTempRect);
405 int thumbLeft = switchInnerLeft - mTempRect.left + thumbPos;
406 int thumbRight = switchInnerLeft + thumbPos + mThumbWidth + mTempRect.right;
440 mTrackDrawable.getPadding(mTempRect);
441 return mSwitchWidth - mThumbWidth - mTempRect.left - mTempRect.right;