Searched refs:opticalInsetLeft (Results 1 – 2 of 2) sorted by relevance
803 int opticalInsetLeft = 0; in onLayout() local814 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()821 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()822 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()825 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
1089 int opticalInsetLeft = 0; in onLayout() local1100 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()1107 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()1108 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1111 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()