Searched refs:switchTop (Results 1 – 2 of 2) sorted by relevance
1102 final int switchTop; in onLayout() local1107 switchTop = getPaddingTop(); in onLayout()1108 switchBottom = switchTop + mSwitchHeight; in onLayout()1112 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1114 switchBottom = switchTop + mSwitchHeight; in onLayout()1119 switchTop = switchBottom - mSwitchHeight; in onLayout()1124 mSwitchTop = switchTop; in onLayout()1133 final int switchTop = mSwitchTop; in draw() local1155 int trackTop = switchTop; in draw()1181 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]
1119 final int switchTop; in onLayout() local1124 switchTop = getPaddingTop(); in onLayout()1125 switchBottom = switchTop + mSwitchHeight; in onLayout()1129 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1131 switchBottom = switchTop + mSwitchHeight; in onLayout()1136 switchTop = switchBottom - mSwitchHeight; in onLayout()1141 mSwitchTop = switchTop; in onLayout()1150 final int switchTop = mSwitchTop; in draw() local1172 int trackTop = switchTop; in draw()1198 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]