Searched refs:opticalInsetRight (Results 1 – 2 of 2) sorted by relevance
804 int opticalInsetRight = 0; in onLayout() local815 opticalInsetRight = Math.max(0, insets.right - trackPadding.right); in onLayout()822 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()824 switchRight = getWidth() - getPaddingRight() - opticalInsetRight; in onLayout()825 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
1090 int opticalInsetRight = 0; in onLayout() local1101 opticalInsetRight = Math.max(0, insets.right - trackPadding.right); in onLayout()1108 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1110 switchRight = getWidth() - getPaddingRight() - opticalInsetRight; in onLayout()1111 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()