Lines Matching defs:eventX
503 final int eventX = isHoriz() ?
517 if (eventX < mLeftHandleX + hitWindow) {
518 mRotaryOffsetX = eventX - mLeftHandleX;
522 } else if (eventX > mRightHandleX - hitWindow) {
523 mRotaryOffsetX = eventX - mRightHandleX;
533 mRotaryOffsetX = eventX - mLeftHandleX;
536 if (eventX >= rightThresh - mEdgeTriggerThresh && !mTriggered) {
549 eventX - mLeftHandleX,
554 mRotaryOffsetX = eventX - mRightHandleX;
556 if (eventX <= mEdgeTriggerThresh && !mTriggered) {
569 eventX - mRightHandleX,
579 && Math.abs(eventX - mLeftHandleX) > 5) {
581 startAnimation(eventX - mLeftHandleX, 0, SNAP_BACK_ANIMATION_DURATION_MILLIS);
583 && Math.abs(eventX - mRightHandleX) > 5) {
585 startAnimation(eventX - mRightHandleX, 0, SNAP_BACK_ANIMATION_DURATION_MILLIS);