Searched refs:switchTop (Results 1 – 2 of 2) sorted by relevance
1101 final int switchTop; in onLayout() local1106 switchTop = getPaddingTop(); in onLayout()1107 switchBottom = switchTop + mSwitchHeight; in onLayout()1111 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1113 switchBottom = switchTop + mSwitchHeight; in onLayout()1118 switchTop = switchBottom - mSwitchHeight; in onLayout()1123 mSwitchTop = switchTop; in onLayout()1132 final int switchTop = mSwitchTop; in draw() local1154 int trackTop = switchTop; in draw()1180 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]
1124 final int switchTop; in onLayout() local1129 switchTop = getPaddingTop(); in onLayout()1130 switchBottom = switchTop + mSwitchHeight; in onLayout()1134 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1136 switchBottom = switchTop + mSwitchHeight; in onLayout()1141 switchTop = switchBottom - mSwitchHeight; in onLayout()1146 mSwitchTop = switchTop; in onLayout()1155 final int switchTop = mSwitchTop; in draw() local1177 int trackTop = switchTop; in draw()1203 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]