Searched refs:switchRight (Results 1 – 2 of 2) sorted by relevance
1100 final int switchRight; in onLayout() local1104 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1106 switchRight = getWidth() - getPaddingRight() - opticalInsetRight; in onLayout()1107 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()1134 mSwitchRight = switchRight; in onLayout()1142 final int switchRight = mSwitchRight; in draw() local1164 int trackRight = switchRight; in draw()
1105 final int switchRight; in onLayout() local1109 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1111 switchRight = getWidth() - getPaddingRight() - opticalInsetRight; in onLayout()1112 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()1139 mSwitchRight = switchRight; in onLayout()1147 final int switchRight = mSwitchRight; in draw() local1169 int trackRight = switchRight; in draw()