/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | PointCloud.java | 47 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 D | CircleTimerView.java | 39 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 D | SlidingKeyInputPreview.java | 80 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 D | FilterColorBorderRepresentation.java | 27 public FilterColorBorderRepresentation(int color, int size, int radius) { argument 31 mBorderRadius = radius;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ZoomControlWheel.java | 93 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 D | IndicatorControlWheelContainer.java | 76 double radius = Math.sqrt(dx * dx + dy * dy); 79 if (radius <= mShutterButtonRadius) {
|
H A D | IndicatorControlWheel.java | 261 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 D | MosaicTypes.h | 140 double radius; member in struct:__anon4
|
H A D | Blend.cpp | 1083 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 D | MosaicTypes.h | 140 double radius; member in struct:__anon11
|
H A D | Blend.cpp | 1083 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 D | MosaicTypes.h | 140 double radius; member in struct:__anon18
|
H A D | Blend.cpp | 1063 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 D | HoloSpiralRS.java | 218 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 D | ZoomControl.java | 207 final double radius = Math.sqrt((x * x) + (y * y)); 208 if (radius < mInternalRadius) {
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | HighlightView.java | 189 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 D | CountingTimerView.java | 402 // 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 D | PieRenderer.java | 553 // 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 D | PieRenderer.java | 700 // 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);
|