Searched refs:switchTop (Results 1 – 1 of 1) sorted by relevance
530 int switchTop = 0; in onLayout() local535 switchTop = getPaddingTop(); in onLayout()536 switchBottom = switchTop + mSwitchHeight; in onLayout()540 switchTop = (getPaddingTop() + getHeight() - getPaddingBottom()) / 2 - in onLayout()542 switchBottom = switchTop + mSwitchHeight; in onLayout()547 switchTop = switchBottom - mSwitchHeight; in onLayout()552 mSwitchTop = switchTop; in onLayout()563 int switchTop = mSwitchTop; in onDraw() local567 mTrackDrawable.setBounds(switchLeft, switchTop, switchRight, switchBottom); in onDraw()574 int switchInnerTop = switchTop + mTempRect.top; in onDraw()[all …]