Searched refs:mSwitchWidth (Results 1 – 2 of 2) sorted by relevance
112 private int mSwitchWidth; field in SwitchCompat579 mSwitchWidth = switchWidth; in onMeasure()822 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()825 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()990 int padding = super.getCompoundPaddingLeft() + mSwitchWidth; in getCompoundPaddingLeft()1002 int padding = super.getCompoundPaddingRight() + mSwitchWidth; in getCompoundPaddingRight()1037 return mSwitchWidth - mThumbWidth - padding.left - padding.right in getThumbScrollRange()
124 private int mSwitchWidth; field in Switch864 mSwitchWidth = switchWidth; in onMeasure()1108 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()1111 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()1275 int padding = super.getCompoundPaddingLeft() + mSwitchWidth; in getCompoundPaddingLeft()1287 int padding = super.getCompoundPaddingRight() + mSwitchWidth; in getCompoundPaddingRight()1322 return mSwitchWidth - mThumbWidth - padding.left - padding.right in getThumbScrollRange()