Searched refs:switchTop (Results 1 – 2 of 2) sorted by relevance
828 final int switchTop; in onLayout() local833 switchTop = getPaddingTop(); in onLayout()834 switchBottom = switchTop + mSwitchHeight; in onLayout()838 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()840 switchBottom = switchTop + mSwitchHeight; in onLayout()845 switchTop = switchBottom - mSwitchHeight; in onLayout()850 mSwitchTop = switchTop; in onLayout()859 final int switchTop = mSwitchTop; in draw() local881 int trackTop = switchTop; in draw()907 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]
1114 final int switchTop; in onLayout() local1119 switchTop = getPaddingTop(); in onLayout()1120 switchBottom = switchTop + mSwitchHeight; in onLayout()1124 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1126 switchBottom = switchTop + mSwitchHeight; in onLayout()1131 switchTop = switchBottom - mSwitchHeight; in onLayout()1136 mSwitchTop = switchTop; in onLayout()1145 final int switchTop = mSwitchTop; in draw() local1167 int trackTop = switchTop; in draw()1193 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]