Home
last modified time | relevance | path

Searched refs:mThumbPosition (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java126 private float mThumbPosition; field in SwitchCompat
943 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()
/frameworks/base/core/java/android/widget/
DSwitch.java119 private float mThumbPosition; field in Switch
968 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;
DFastScroller.java138 private int mThumbPosition; field in FastScroller
382 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()