Searched refs:switchTop (Results 1 – 1 of 1) sorted by relevance
1294 final int switchTop; in onLayout() local1299 switchTop = getPaddingTop(); in onLayout()1300 switchBottom = switchTop + mSwitchHeight; in onLayout()1304 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()1306 switchBottom = switchTop + mSwitchHeight; in onLayout()1311 switchTop = switchBottom - mSwitchHeight; in onLayout()1316 mSwitchTop = switchTop; in onLayout()1325 final int switchTop = mSwitchTop; in draw() local1347 int trackTop = switchTop; in draw()1373 mThumbDrawable.setBounds(thumbLeft, switchTop, thumbRight, switchBottom); in draw()[all …]