/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...] |
/external/python/cpython2/Demo/curses/ |
tclock.py | 83 cy = curses.LINES // 2 84 ch = min( cy-1, int(cx // ASPECT) - 1) 93 stdscr.addstr(cy - sdy, cx + sdx, "%d" % (i + 1)) 119 dline(3, cx, cy, cx + mdx, cy - mdy, ord('#')) 122 dline(2, cx, cy, cx + hdx, cy - hdy, ord('.')) 128 plot(cx + sdx, cy - sdy, ord('O')) 143 plot(cx + sdx, cy - sdy, ord(' ')) 144 dline(0, cx, cy, cx + hdx, cy - hdy, ord(' ') [all...] |
/external/skia/experimental/svg/model/ |
SkSVGCircle.cpp | 19 void SkSVGCircle::setCy(const SkSVGLength& cy) { 20 fCy = cy; 35 if (const auto* cy = v.as<SkSVGLengthValue>()) { 36 this->setCy(*cy); 51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local 54 return std::make_tuple(SkPoint::Make(cx, cy), r);
|
SkSVGEllipse.cpp | 19 void SkSVGEllipse::setCy(const SkSVGLength& cy) { 20 fCy = cy; 39 if (const auto* cy = v.as<SkSVGLengthValue>()) { 40 this->setCy(*cy); 60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local 65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2)
|
SkSVGRadialGradient.cpp | 19 void SkSVGRadialGradient::setCy(const SkSVGLength& cy) { 20 fCy = cy; 43 if (const auto* cy = v.as<SkSVGLengthValue>()) { 44 this->setCy(*cy);
|
/external/skqp/experimental/svg/model/ |
SkSVGCircle.cpp | 19 void SkSVGCircle::setCy(const SkSVGLength& cy) { 20 fCy = cy; 35 if (const auto* cy = v.as<SkSVGLengthValue>()) { 36 this->setCy(*cy); 51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local 54 return std::make_tuple(SkPoint::Make(cx, cy), r);
|
SkSVGEllipse.cpp | 19 void SkSVGEllipse::setCy(const SkSVGLength& cy) { 20 fCy = cy; 39 if (const auto* cy = v.as<SkSVGLengthValue>()) { 40 this->setCy(*cy); 60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local 65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2)
|
SkSVGRadialGradient.cpp | 19 void SkSVGRadialGradient::setCy(const SkSVGLength& cy) { 20 fCy = cy; 43 if (const auto* cy = v.as<SkSVGLengthValue>()) { 44 this->setCy(*cy);
|
/external/skia/gm/ |
inversepaths.cpp | 13 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { 14 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); 20 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { 21 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); 27 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { 29 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); 33 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { 35 path.moveTo(cx - l / 2, cy); 36 path.lineTo(cx + l / 2, cy); 84 SkScalar cy = slideHeight / 2 + slideBoundary local [all...] |
/external/skqp/gm/ |
inversepaths.cpp | 13 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { 14 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); 20 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { 21 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); 27 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { 29 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); 33 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { 35 path.moveTo(cx - l / 2, cy); 36 path.lineTo(cx + l / 2, cy); 84 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/pdfium/third_party/agg23/ |
agg_math.h | 50 float cx, float cy, float dx, float dy, 53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy)); 54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx));
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyGLProducerCtsActivity.java | 66 int cy = mHeight / 2; local 70 glScissor(0, cy, cx, mHeight - cy); 73 glScissor(cx, cy, mWidth - cx, mHeight - cy); 76 glScissor(0, 0, cx, cy); 79 glScissor(cx, 0, mWidth - cx, cy);
|
/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...] |
/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/tensorflow/tensorflow/contrib/resampler/kernels/ |
resampler_ops_gpu.cu.cc | 81 const int cy = fy + 1; local 83 const T dy = static_cast<T>(cy) - y; 88 const T img_cxcy = (cx <= data_width - 1 && cy <= data_height - 1) 89 ? (one - dx) * (one - dy) * GET_DATA_POINT(cx, cy) 92 const T img_fxcy = (fx >= 0 && cy <= data_height - 1) 93 ? dx * (one - dy) * GET_DATA_POINT(fx, cy) 192 const int cy = fy + 1; local 194 const T dy = static_cast<T>(cy) - y; 198 const T img_cxcy = (cx <= data_width - 1 && cy <= data_height - 1) 199 ? GET_DATA_POINT(cx, cy) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 45 * @param cy The y-coordinate of the center 55 public SweepGradient(float cx, float cy, 66 mCy = cy; 75 * @param cy The y-coordinate of the center 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { 82 mCy = cy;
|
/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...] |
/external/skia/include/effects/ |
SkGradientShader.h | 176 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 181 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 184 return MakeSweep(cx, cy, colors, pos, count, SkShader::kClamp_TileMode, 0, 360, flags, 187 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 189 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); 208 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 214 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 218 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 224 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr) [all...] |
/external/skqp/include/effects/ |
SkGradientShader.h | 176 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 181 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 184 return MakeSweep(cx, cy, colors, pos, count, SkShader::kClamp_TileMode, 0, 360, flags, 187 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 189 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); 208 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 214 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 218 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, 224 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr) [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 | 142 double cx, cy, cz; local 145 cy = fPts[2].fY; 149 cy = conic_eval_numerator(&fPts[0].fY, fWeight, t2); 153 cy = fPts[0].fY; 157 double by = 2 * dy - (ay + cy) / 2; 159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
|
/external/skqp/src/pathops/ |
SkPathOpsConic.cpp | 142 double cx, cy, cz; local 145 cy = fPts[2].fY; 149 cy = conic_eval_numerator(&fPts[0].fY, fWeight, t2); 153 cy = fPts[0].fY; 157 double by = 2 * dy - (ay + cy) / 2; 159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
FabDrawable.java | 157 int cy = canvas.getHeight() / 2; local 159 canvas.drawCircle(cx, cy, mStrokeRadius, mStrokePaint); 160 canvas.drawCircle(cx, cy, mFabRadius, mFabPaint); 207 int cy = getBounds().height() / 2; local 211 cy - mStrokeRadius, 213 cy + mStrokeRadius,
|