Home
last modified time | relevance | path

Searched refs:switchLeft (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java819 final int switchLeft; in onLayout() local
821 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()
822 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()
825 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
849 mSwitchLeft = switchLeft; in onLayout()
858 final int switchLeft = mSwitchLeft; in draw() local
863 int thumbInitialLeft = switchLeft + getThumbOffset(); in draw()
880 int trackLeft = switchLeft; in draw()
/frameworks/base/core/java/android/widget/
DSwitch.java1105 final int switchLeft; in onLayout() local
1107 switchLeft = getPaddingLeft() + opticalInsetLeft; in onLayout()
1108 switchRight = switchLeft + mSwitchWidth - opticalInsetLeft - opticalInsetRight; in onLayout()
1111 switchLeft = switchRight - mSwitchWidth + opticalInsetLeft + opticalInsetRight; in onLayout()
1135 mSwitchLeft = switchLeft; in onLayout()
1144 final int switchLeft = mSwitchLeft; in draw() local
1149 int thumbInitialLeft = switchLeft + getThumbOffset(); in draw()
1166 int trackLeft = switchLeft; in draw()