Searched refs:opticalInsetLeft (Results 1 – 2 of 2) sorted by relevance
1085 int opticalInsetLeft = 0; in onLayout() local1096 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()1103 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()1104 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1107 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
1090 int opticalInsetLeft = 0; in onLayout() local1101 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()1108 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()1109 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1112 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()