Searched refs:mThumbPosition (Results 1 – 3 of 3) sorted by relevance
126 private float mThumbPosition; field in SwitchCompat943 final float newPos = constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()944 if (newPos != mThumbPosition) { in onTouchEvent()1017 mPositionAnimator = new ThumbAnimation(mThumbPosition, newCheckedState ? 1f : 0f); in animateThumbToCheckedState()1046 return mThumbPosition > 0.5f; in getTargetCheckedState()1055 mThumbPosition = position; in setThumbPosition()1300 thumbPosition = 1 - mThumbPosition; in getThumbOffset()1302 thumbPosition = mThumbPosition; in getThumbOffset()
119 private float mThumbPosition; field in Switch968 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()969 if (newPos != mThumbPosition) { in onTouchEvent()1051 return mThumbPosition > 0.5f; in getTargetCheckedState()1060 mThumbPosition = position; in setThumbPosition()1304 thumbPosition = 1 - mThumbPosition; in getThumbOffset()1306 thumbPosition = mThumbPosition; in getThumbOffset()1441 return object.mThumbPosition;
138 private int mThumbPosition; field in FastScroller382 mThumbPosition = ta.getInt(index, THUMB_POSITION_MIDPOINT); in setStyle()781 if (mThumbPosition == THUMB_POSITION_INSIDE) { in layoutTrack()805 if (mThumbPosition == THUMB_POSITION_INSIDE) { in updateOffsetAndRange()