Searched refs:opticalInsetLeft (Results 1 – 2 of 2) sorted by relevance
1077 int opticalInsetLeft = 0; in onLayout() local1088 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()1095 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()1096 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1099 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
1094 int opticalInsetLeft = 0; in onLayout() local1105 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); in onLayout()1112 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()1113 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1116 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()