Searched refs:switchTop (Results 1 – 1 of 1) sorted by relevance
1229 final int switchTop; in onLayout() local1234 switchTop = getPaddingTop(); in onLayout()1235 switchBottom = switchTop + mSwitchHeight; in onLayout()1239 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1241 switchBottom = switchTop + mSwitchHeight; in onLayout()1246 switchTop = switchBottom - mSwitchHeight; in onLayout()1251 mSwitchTop = switchTop; in onLayout()1260 final int switchTop = mSwitchTop; in draw() local1282 int trackTop = switchTop; in draw()1308 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]