Searched refs:radian (Results 1 – 5 of 5) sorted by relevance
156 float radian = -degrees * DEGREE_TO_RADIAN; in setRenderToRotate() local157 float cosTheta = FloatMath.cos(radian); in setRenderToRotate()158 float sinTheta = FloatMath.sin(radian); in setRenderToRotate()208 float radian = (horizontalDegrees - horizontalRounds * 180) * DEGREE_TO_RADIAN; in setRenderToFlip() local209 float cosTheta = FloatMath.cos(radian); in setRenderToFlip()210 float sinTheta = FloatMath.sin(radian); in setRenderToFlip()226 float radian = (verticalDegrees - verticalRounds * 180) * DEGREE_TO_RADIAN; in setRenderToFlip() local227 float cosTheta = FloatMath.cos(radian); in setRenderToFlip()228 float sinTheta = FloatMath.sin(radian); in setRenderToFlip()
122 private void layoutIcon(View view, double radian) { in layoutIcon() argument125 radian += mRotateAngle; in layoutIcon()126 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in layoutIcon()127 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon()
346 double radian = mChildRadians[i]; in onLayout() local354 || (radian < (startVisibleRadians - HIGHLIGHT_RADIANS / 2)) in onLayout()355 || (radian > (endVisibleRadians + HIGHLIGHT_RADIANS / 2))) { in onLayout()360 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in onLayout()361 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in onLayout()
137 private void layoutIcon(View view, double radian) { in layoutIcon() argument140 radian += mRotateAngle; in layoutIcon()141 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in layoutIcon()142 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon()
480 double radian = mChildRadians[i]; in onLayout() local491 || (radian < (startVisibleRadians - HIGHLIGHT_RADIANS / 2)) in onLayout()492 || (radian > (endVisibleRadians + HIGHLIGHT_RADIANS / 2))) { in onLayout()497 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in onLayout()498 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in onLayout()