Searched refs:MAX_ANGLE (Results 1 – 1 of 1) sorted by relevance
33 private static final double MAX_ANGLE = Math.PI / 3; field in ZoomControl166 progress = -(int)(((alpha + MAX_ANGLE) / mInterval)); in onTouchEvent()170 progress = (int)(mMaxProgress - ((alpha - MAX_ANGLE) / mInterval)); in onTouchEvent()215 if ((alpha >= -(Math.PI / 2)) && (alpha <= -MAX_ANGLE)) { in checkHit()219 if ((alpha >= MAX_ANGLE) && (alpha <= (Math.PI / 2))) { in checkHit()239 beta = ((mMaxProgress - mProgress) * mInterval) + Math.PI + MAX_ANGLE; in progressToPosition()247 } else if (beta > Math.PI / 2 && beta < (Math.PI / 2) + MAX_ANGLE) { in progressToPosition()266 mInterval = (Math.PI - MAX_ANGLE) / (mMaxProgress / 2); in computeInterval()