/development/perftests/panorama/feature_stab/db_vlvm/ |
db_utilities_geometry.h | 34 double cx,cy,m; local 36 cx=0;cy=0; 40 cy+= *X++; 46 c[1]=cy*m; 54 double cx,cy,m; local 57 cx=0;cy=0; 62 cy+=temp[1]; 68 c[1]=cy*m; 78 double cx,cy,cz,m; local 80 cx=0;cy=0;cz=0 100 double cx,cy,cz,m; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_geometry.h | 34 double cx,cy,m; local 36 cx=0;cy=0; 40 cy+= *X++; 46 c[1]=cy*m; 54 double cx,cy,m; local 57 cx=0;cy=0; 62 cy+=temp[1]; 68 c[1]=cy*m; 78 double cx,cy,cz,m; local 80 cx=0;cy=0;cz=0 100 double cx,cy,cz,m; local [all...] |
/external/eigen/blas/f2c/ |
complexdots.c | 22 *incx, complex *cy, integer *incy) 29 --cy; 33 cdotcw_(n, &cx[1], incx, &cy[1], incy, &res); 38 *incx, complex *cy, integer *incy) 45 --cy; 49 cdotuw_(n, &cx[1], incx, &cy[1], incy, &res); 54 doublecomplex *cy, integer *incy) 61 --cy; 65 zdotcw_(n, &cx[1], incx, &cy[1], incy, &res); 70 doublecomplex *cy, integer *incy [all...] |
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 41 * @param cy The y-coordinate of the center 51 public SweepGradient(float cx, float cy, 62 mCy = cy; 65 init(nativeCreate1(cx, cy, colors, positions)); 72 * @param cy The y-coordinate of the center 76 public SweepGradient(float cx, float cy, int color0, int color1) { 79 mCy = cy; 82 init(nativeCreate2(cx, cy, color0, color1));
|
/external/opencv3/samples/cpp/ |
dft.cpp | 60 int cy = mag.rows/2; local 65 Mat q0(mag, Rect(0, 0, cx, cy)); 66 Mat q1(mag, Rect(cx, 0, cx, cy)); 67 Mat q2(mag, Rect(0, cy, cx, cy)); 68 Mat q3(mag, Rect(cx, cy, cx, cy));
|
/external/opencv3/samples/cpp/tutorial_code/core/discrete_fourier_transform/ |
discrete_fourier_transform.cpp | 55 int cy = magI.rows/2; local 57 Mat q0(magI, Rect(0, 0, cx, cy)); // Top-Left - Create a ROI per quadrant 58 Mat q1(magI, Rect(cx, 0, cx, cy)); // Top-Right 59 Mat q2(magI, Rect(0, cy, cx, cy)); // Bottom-Left 60 Mat q3(magI, Rect(cx, cy, cx, cy)); // Bottom-Right
|
/external/skia/src/svg/parser/ |
SkSVGCircle.cpp | 17 SVG_ATTRIBUTE(cy), 26 SkScalar cx, cy, r; local 28 SkParse::FindScalar(f_cy.c_str(), &cy); 32 top = cy - r; 34 bottom = cy + r;
|
SkSVGEllipse.cpp | 17 SVG_ATTRIBUTE(cy), 27 SkScalar cx, cy, rx, ry; local 29 SkParse::FindScalar(f_cy.c_str(), &cy); 34 top = cy - ry; 36 bottom = cy + ry;
|
/external/skia/gm/ |
inversepaths.cpp | 12 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { 13 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); 19 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { 20 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); 26 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { 28 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); 32 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { 34 path.moveTo(cx - l / 2, cy); 35 path.lineTo(cx + l / 2, cy); 68 SkScalar cy = slideHeight / 2 + slideBoundary local [all...] |
/external/mesa3d/src/mesa/math/ |
m_clip_tmp.h | 60 const GLfloat cy = from[1]; local 68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); 69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); 78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; 79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; 98 vProj[i][1] = cy * oow; 140 const GLfloat cy = from[1]; local 148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); 149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); 158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT 195 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local 231 const GLfloat cx = from[0], cy = from[1]; local [all...] |
/external/fonttools/Lib/fontTools/misc/ |
bezierTools.py | 33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3) 41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3] 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 63 yRoots = [t for t in solveQuadratic(ay3, by2, cy) if 0 <= t < 1] 66 points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4] 204 cx, cy = c 215 c1y = ay*t1**2 + by*t1 + cy 229 cx, cy = c 241 c1y = (2*by*t1 + cy + 3*ay*t1**2) * delta 243 d1y = ay*t1**3 + by*t1**2 + cy*t1 + d [all...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
bilateral_filter.cu | 93 for (int cy = y - r; cy < ty; ++cy) 96 float space2 = (x - cx) * (x - cx) + (y - cy) * (y - cy); 100 value_type value = saturate_cast<value_type>(src(cy, cx)); 109 for (int cy = y - r; cy < ty; ++cy) 112 float space2 = (x - cx) * (x - cx) + (y - cy) * (y - cy) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoFallbackEffect.java | 108 float cy = d.centerY() * p + s.centerY() * (1 - p); local 115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2); 123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); 128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); 135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); 143 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2) [all...] |
/external/pdfium/third_party/agg23/ |
agg_math.h | 50 FX_FLOAT cx, FX_FLOAT cy, FX_FLOAT dx, FX_FLOAT dy, 53 FX_FLOAT num = FXSYS_Mul(ay - cy, dx - cx) - FXSYS_Mul(ax - cx, dy - cy); 54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeProgressBar.java | 142 final int cy = height / 2; local 203 drawCircle(canvas, cx, cy, mColor1, pct); 207 drawCircle(canvas, cx, cy, mColor2, pct); 211 drawCircle(canvas, cx, cy, mColor3, pct); 215 drawCircle(canvas, cx, cy, mColor4, pct); 219 drawCircle(canvas, cx, cy, mColor1, pct); 229 drawTrigger(canvas, cx, cy); 237 drawTrigger(canvas, cx, cy); 243 private void drawTrigger(Canvas canvas, int cx, int cy) { 245 canvas.drawCircle(cx, cy, cx * mTriggerPercentage, mPaint) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
PieRenderer.java | 84 float cy = bounds.centerY(); local 99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle); 100 PointF r1Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle); 103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); 104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); 120 clip.lineTo(cx, cy); 131 cy - donutSizePx, 133 cy + donutSizePx), 146 canvas.drawCircle(cx, cy, donutSizePx, f.getInnerEdgePaint()); 149 canvas.drawCircle(cx, cy, rad, f.getOuterEdgePaint()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterVignette.java | 61 Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady, 64 private float calcRadius(float cx, float cy, int w, int h) { 69 if (d < cy) { 70 d = cy; 72 if (d < (h - cy)) { 73 d = h - cy; 92 float cy = h / 2; local 93 float r = calcRadius(cx, cy, w, h); 105 cy = c[1]; 121 mScript.set_centery(cy); [all...] |
/external/skia/src/pathops/ |
SkPathOpsConic.cpp | 139 double cx, cy, cz; local 142 cy = fPts[2].fY; 146 cy = conic_eval_numerator(&fPts[0].fY, fWeight, t2); 150 cy = fPts[0].fY; 154 double by = 2 * dy - (ay + cy) / 2; 156 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}},
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
FabDrawable.java | 156 int cy = canvas.getHeight() / 2; local 158 canvas.drawCircle(cx, cy, mStrokeRadius, mStrokePaint); 159 canvas.drawCircle(cx, cy, mFabRadius, mFabPaint); 206 int cy = getBounds().height() / 2; local 210 cy - mStrokeRadius, 212 cy + mStrokeRadius,
|
/external/skia/include/effects/ |
SkGradientShader.h | 118 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, 122 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, 124 return CreateSweep(cx, cy, colors, pos, count, 0, NULL);
|
/external/opencv3/modules/calib3d/src/ |
p3p.h | 10 p3p(double fx, double fy, double cx, double cy); 29 cy = cameraMatrix.at<T> (1, 2); 41 points[i*5+1] = ipoints.at<IpointType>(i).y*fy + cy; 57 double fx, fy, cx, cy; member in class:p3p
|
/external/webrtc/webrtc/base/ |
win32window.h | 32 int x, int y, int cx, int cy);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 225 void paintRadius(Canvas canvas, float cx, float cy, float rx, float ry) { 231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry); 236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); 240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); 244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) { 255 rect.top = cy - dy; 257 rect.bottom = cy + dy; 262 rect.top = cy - dy; 264 rect.bottom = cy + dy [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/parse/ |
nosubspace.s | 11 add %r0,%r0,%r0 ; reset cy
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ShapeRenderer.java | 795 float cy = radius * MathUtils.sin(start * MathUtils.degreesToRadians);
local 803 renderer.vertex(x + cx, y + cy, 0);
806 renderer.vertex(x + cx, y + cy, 0);
808 cx = cos * cx - sin * cy;
809 cy = sin * temp + cos * cy;
811 renderer.vertex(x + cx, y + cy, 0);
814 renderer.vertex(x + cx, y + cy, 0);
822 renderer.vertex(x + cx, y + cy, 0);
824 cx = cos * cx - sin * cy;
854 float cx = radius, cy = 0; local 909 float cx = x + width \/ 2, cy = y + height \/ 2; local 950 float cx = x + width \/ 2, cy = y + height \/ 2; local 995 float cx = radius, cy = 0; local [all...] |