Searched refs:radius (Results 1 - 19 of 19) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DPointCloud.java47 private float radius = 50; field in class:PointCloud.WaveManager
51 radius = r;
55 return radius;
70 private float radius = 0.0f; field in class:PointCloud.GlowManager
98 radius = r;
102 return radius;
109 float radius; field in class:PointCloud.Point
114 radius = r;
138 Log.w(TAG, "Must specify an inner radius");
183 if (glowDistance < glowManager.radius) {
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DCircleTimerView.java39 private float mRadiusOffset; // amount to remove from radius to account for markers on circle
147 float radius = Math.min(xCenter, yCenter) - mRadiusOffset;
150 xCenter = (int) (radius + mRadiusOffset);
159 canvas.drawCircle (xCenter, yCenter, radius, mPaint);
161 drawRedDiamond(canvas, 0f, xCenter, yCenter, radius);
168 mArcRect.top = yCenter - radius;
169 mArcRect.bottom = yCenter + radius;
170 mArcRect.left = xCenter - radius;
171 mArcRect.right = xCenter + radius;
195 if (mMarkerTime != -1 && radius >
212 drawRedDiamond( Canvas canvas, float degrees, int xCenter, int yCenter, float radius) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DSlidingKeyInputPreview.java80 final float radius = mPreviewBodyRadius;
82 CoordinateUtils.x(mPreviewFrom), CoordinateUtils.y(mPreviewFrom), radius,
83 CoordinateUtils.x(mPreviewTo), CoordinateUtils.y(mPreviewTo), radius);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterColorBorderRepresentation.java27 public FilterColorBorderRepresentation(int color, int size, int radius) { argument
31 mBorderRadius = radius;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlWheel.java93 double radius = Math.sqrt(dx * dx + dy * dy);
161 double radius, int color, int width) {
162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius),
163 (float) (mCenterX + radius), (float) (mCenterY + radius));
160 drawArc(Canvas canvas, int startAngle, int sweepAngle, double radius, int color, int width) argument
H A DIndicatorControlWheelContainer.java76 double radius = Math.sqrt(dx * dx + dy * dy);
79 if (radius <= mShutterButtonRadius) {
H A DIndicatorControlWheel.java261 double radius = Math.sqrt(dx * dx + dy * dy);
264 if ((radius <= (mWheelRadius + mStrokeWidth)) && (radius > mShutterButtonRadius)) {
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h140 double radius; member in struct:__anon4
H A DBlend.cpp1083 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1093 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1126 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1136 wx = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1330 // Calculate radius position to make ends exactly the same Y offset
1332 m_wb.radius = dy + radiusTheta * cos(m_wb.theta);
1333 if (m_wb.radius < 0.0) m_wb.radius = -m_wb.radius;
1338 // Calculate radius positio
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DMosaicTypes.h140 double radius; member in struct:__anon11
H A DBlend.cpp1083 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1093 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1126 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1136 wx = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1330 // Calculate radius position to make ends exactly the same Y offset
1332 m_wb.radius = dy + radiusTheta * cos(m_wb.theta);
1333 if (m_wb.radius < 0.0) m_wb.radius = -m_wb.radius;
1338 // Calculate radius positio
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h140 double radius; member in struct:__anon18
H A DBlend.cpp1063 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1073 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1106 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1116 wx = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1310 // Calculate radius position to make ends exactly the same Y offset
1312 m_wb.radius = dy + radiusTheta * cos(m_wb.theta);
1313 if (m_wb.radius < 0.0) m_wb.radius = -m_wb.radius;
1318 // Calculate radius positio
[all...]
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralRS.java218 private void generateSpiral(ScriptField_VertexColor_s points, float depth, float radius, argument
232 Float3 position = new Float3(radius * (float) Math.cos(radians),
233 radius * (float) Math.sin(radians), (percentage * depth) - halfDepth);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DZoomControl.java207 final double radius = Math.sqrt((x * x) + (y * y));
208 if (radius < mInternalRadius) {
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java189 int radius = mDrawRect.width() / 2;
190 int delta = distanceFromCenter - radius;
205 } else if (distanceFromCenter < radius) {
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DCountingTimerView.java402 // circle we are trying to fit the text into has its radius sized to the smaller of the
520 float radius = Math.min(width, height) / 2;
522 // Within the circle button if distance to the center is less than the radius.
524 return distance < radius;
/packages/apps/Camera/src/com/android/camera/ui/
H A DPieRenderer.java553 // get angle and radius from x/y
680 private static void convertCart(int angle, int radius, Point out) { argument
682 out.x = (int) (radius * Math.cos(a) + 0.5);
683 out.y = (int) (radius * Math.sin(a) + 0.5);
/packages/apps/Gallery2/src/com/android/camera/ui/
H A DPieRenderer.java700 // get angle and radius from x/y
940 private static void convertCart(int angle, int radius, Point out) { argument
942 out.x = (int) (radius * Math.cos(a) + 0.5);
943 out.y = (int) (radius * Math.sin(a) + 0.5);

Completed in 414 milliseconds