Searched refs:switchTop (Results 1 – 1 of 1) sorted by relevance
1210 final int switchTop; in onLayout() local1215 switchTop = getPaddingTop(); in onLayout()1216 switchBottom = switchTop + mSwitchHeight; in onLayout()1220 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1222 switchBottom = switchTop + mSwitchHeight; in onLayout()1227 switchTop = switchBottom - mSwitchHeight; in onLayout()1232 mSwitchTop = switchTop; in onLayout()1241 final int switchTop = mSwitchTop; in draw() local1263 int trackTop = switchTop; in draw()1289 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]