Home
last modified time | relevance | path

Searched refs:radian (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DRendererUtils.java156 float radian = -degrees * DEGREE_TO_RADIAN; in setRenderToRotate() local
157 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() local
209 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() local
227 float cosTheta = FloatMath.cos(radian); in setRenderToFlip()
228 float sinTheta = FloatMath.sin(radian); in setRenderToFlip()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlWheel.java122 private void layoutIcon(View view, double radian) { in layoutIcon() argument
125 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()
DIndicatorControlWheel.java346 double radian = mChildRadians[i]; in onLayout() local
354 || (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()
/packages/apps/Camera/src/com/android/camera/ui/
DZoomControlWheel.java137 private void layoutIcon(View view, double radian) { in layoutIcon() argument
140 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()
DIndicatorControlWheel.java480 double radian = mChildRadians[i]; in onLayout() local
491 || (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()