Searched refs:mSwitch (Results 1 – 1 of 1) sorted by relevance
47 private boolean mSwitch = false; field in Switcher58 if (mSwitch == onOff) return; in setSwitch()59 mSwitch = onOff; in setSwitch()66 if (mSwitch == onOff) return; in tryToSetSwitch()74 mSwitch = onOff; in tryToSetSwitch()109 tryToSetSwitch(mSwitch); in onTouchEvent()151 ANIMATION_SPEED * (mSwitch ? deltaTime : -deltaTime) / 1000; in onDraw()154 boolean done = (mPosition == (mSwitch ? available : 0)); in onDraw()161 mPosition = mSwitch ? available : 0; in onDraw()