/external/mesa3d/src/mesa/math/ |
D | m_clip_tmp.h | 60 const GLfloat cy = from[1]; in TAG() local 68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG() 79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG() 98 vProj[i][1] = cy * oow; in TAG() 140 const GLfloat cy = from[1]; in TAG() local 148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
D | m_clip_tmp.h | 60 const GLfloat cy = from[1]; in TAG() local 68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG() 79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG() 98 vProj[i][1] = cy * oow; in TAG() 140 const GLfloat cy = from[1]; in TAG() local 148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG() [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | 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] + [pt… 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 + dy [all …]
|
/external/chromium_org/third_party/skia/gm/ |
D | inversepaths.cpp | 14 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument 15 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); in generate_square() 21 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument 22 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); in generate_rect_line() 28 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument 30 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle() 34 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument 36 path.moveTo(cx - l / 2, cy); in generate_line() 37 path.lineTo(cx + l / 2, cy); in generate_line() 87 SkScalar cy = slideHeight / 2 + slideBoundary; in onDraw() local [all …]
|
/external/skia/gm/ |
D | inversepaths.cpp | 14 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument 15 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); in generate_square() 21 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument 22 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); in generate_rect_line() 28 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument 30 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle() 34 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument 36 path.moveTo(cx - l / 2, cy); in generate_line() 37 path.lineTo(cx + l / 2, cy); in generate_line() 87 SkScalar cy = slideHeight / 2 + slideBoundary; in onDraw() local [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | CubicParameterization_TestUtility.cpp | 13 double ay, by, cy, dy; in parameter_coeffs() local 15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy); in parameter_coeffs() 17 set_abcd(&cubic[0].y, ay, by, cy, dy); in parameter_coeffs() 20 if (!try_alt) calc_bc(dy, by, cy); in parameter_coeffs() 28 double cy = cubic[2].y; in parameter_coeffs() 30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs); in parameter_coeffs() 34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy); in parameter_coeffs()
|
D | EdgeWalkerPolygon4x4_Test.cpp | 22 int cy = state.c >> 2; in testSimplify4x4QuadralateralsMain() local 41 path.lineTo(cx, cy); in testSimplify4x4QuadralateralsMain() 53 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplify4x4QuadralateralsMain() 116 int cy = state.c >> 2; in testSimplify4x4NondegeneratesMain() local 136 path.lineTo(cx, cy); in testSimplify4x4NondegeneratesMain() 146 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplify4x4NondegeneratesMain() 187 int cy = c >> 2; in SimplifyNondegenerate4x4TrianglesThreaded_Test() local 188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) { in SimplifyNondegenerate4x4TrianglesThreaded_Test() 213 int cy = state.c >> 2; in testSimplify4x4DegeneratesMain() local 231 path.lineTo(cx, cy); in testSimplify4x4DegeneratesMain() [all …]
|
/external/skia/experimental/Intersection/ |
D | CubicParameterization_TestUtility.cpp | 13 double ay, by, cy, dy; in parameter_coeffs() local 15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy); in parameter_coeffs() 17 set_abcd(&cubic[0].y, ay, by, cy, dy); in parameter_coeffs() 20 if (!try_alt) calc_bc(dy, by, cy); in parameter_coeffs() 28 double cy = cubic[2].y; in parameter_coeffs() 30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs); in parameter_coeffs() 34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy); in parameter_coeffs()
|
D | EdgeWalkerPolygon4x4_Test.cpp | 22 int cy = state.c >> 2; in testSimplify4x4QuadralateralsMain() local 41 path.lineTo(cx, cy); in testSimplify4x4QuadralateralsMain() 53 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplify4x4QuadralateralsMain() 116 int cy = state.c >> 2; in testSimplify4x4NondegeneratesMain() local 136 path.lineTo(cx, cy); in testSimplify4x4NondegeneratesMain() 146 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); in testSimplify4x4NondegeneratesMain() 187 int cy = c >> 2; in SimplifyNondegenerate4x4TrianglesThreaded_Test() local 188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) { in SimplifyNondegenerate4x4TrianglesThreaded_Test() 213 int cy = state.c >> 2; in testSimplify4x4DegeneratesMain() local 231 path.lineTo(cx, cy); in testSimplify4x4DegeneratesMain() [all …]
|
/external/chromium_org/third_party/skia/src/svg/ |
D | SkSVGCircle.cpp | 17 SVG_ATTRIBUTE(cy), 26 SkScalar cx, cy, r; in DEFINE_SVG_INFO() local 28 SkParse::FindScalar(f_cy.c_str(), &cy); in DEFINE_SVG_INFO() 32 top = cy - r; in DEFINE_SVG_INFO() 34 bottom = cy + r; in DEFINE_SVG_INFO()
|
D | SkSVGEllipse.cpp | 17 SVG_ATTRIBUTE(cy), 27 SkScalar cx, cy, rx, ry; in DEFINE_SVG_INFO() local 29 SkParse::FindScalar(f_cy.c_str(), &cy); in DEFINE_SVG_INFO() 34 top = cy - ry; in DEFINE_SVG_INFO() 36 bottom = cy + ry; in DEFINE_SVG_INFO()
|
/external/skia/src/svg/ |
D | SkSVGCircle.cpp | 17 SVG_ATTRIBUTE(cy), 26 SkScalar cx, cy, r; in DEFINE_SVG_INFO() local 28 SkParse::FindScalar(f_cy.c_str(), &cy); in DEFINE_SVG_INFO() 32 top = cy - r; in DEFINE_SVG_INFO() 34 bottom = cy + r; in DEFINE_SVG_INFO()
|
D | SkSVGEllipse.cpp | 17 SVG_ATTRIBUTE(cy), 27 SkScalar cx, cy, rx, ry; in DEFINE_SVG_INFO() local 29 SkParse::FindScalar(f_cy.c_str(), &cy); in DEFINE_SVG_INFO() 34 top = cy - ry; in DEFINE_SVG_INFO() 36 bottom = cy + ry; in DEFINE_SVG_INFO()
|
/external/chromium_org/third_party/icu/source/data/lang/ |
D | cy.txt | 6 // * Source File: <path>/common/main/cy.xml 10 * ICU <specials> source: <path>/common/main/cy.xml 12 cy{ 14 cy{"Cymraeg"}
|
/external/skia/samplecode/ |
D | SampleRotateCircles.cpp | 16 SkScalar cx, SkScalar cy) { in rotateAbout() argument 17 canvas->translate(cx, cy); in rotateAbout() 19 canvas->translate(-cx, -cy); in rotateAbout() 47 SkScalar cy = 240; in onDrawContent() local 64 rotateAbout(canvas, fAngle * scale * sign, cx, cy); in onDrawContent() 65 canvas->drawCircle(cx, cy, rad, paint); in onDrawContent() 72 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy); in onDrawContent() 73 canvas->drawCircle(cx + DX, cy, 10, paint); in onDrawContent() 77 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy + DX); in onDrawContent() 78 canvas->drawCircle(cx + DX, cy + DX, 10, paint); in onDrawContent() [all …]
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleRotateCircles.cpp | 16 SkScalar cx, SkScalar cy) { in rotateAbout() argument 17 canvas->translate(cx, cy); in rotateAbout() 19 canvas->translate(-cx, -cy); in rotateAbout() 47 SkScalar cy = 240; in onDrawContent() local 64 rotateAbout(canvas, fAngle * scale * sign, cx, cy); in onDrawContent() 65 canvas->drawCircle(cx, cy, rad, paint); in onDrawContent() 72 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy); in onDrawContent() 73 canvas->drawCircle(cx + DX, cy, 10, paint); in onDrawContent() 77 rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy + DX); in onDrawContent() 78 canvas->drawCircle(cx + DX, cy + DX, 10, paint); in onDrawContent() [all …]
|
/external/chromium_org/third_party/android_opengl/etc1/ |
D | etc1.cpp | 565 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local 566 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() 567 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image() 568 if (y + cy < height) { in etc1_encode_image() 609 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local 610 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() 612 stride * std::min(y + cy, height - 1); in etc1_encode_image() 633 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_encode_image() local 634 etc1_byte* q = block + (cy * 4) * 3; in etc1_encode_image() 694 for (etc1_uint32 cy = 0; cy < yEnd; cy++) { in etc1_decode_image() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/animation/ |
D | UnitBezier.h | 43 cy = 3.0 * p1y; in UnitBezier() 44 by = 3.0 * (p2y - p1y) - cy; in UnitBezier() 45 ay = 1.0 - cy - by; in UnitBezier() 86 return ((ay * t + by) * t + cy) * t; in sampleCurveY() 156 double cy; member
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
D | popup.js | 87 var cy = 77; 93 ctx.moveTo(cx - 4 * hourX, cy - 4 * hourY); 94 ctx.lineTo(cx + 20 * hourX, cy + 20 * hourY); 97 ctx.moveTo(cx - 8 * minX, cy - 8 * minY); 98 ctx.lineTo(cx + 35 * minX, cy + 33 * minY); 105 ctx.moveTo(cx - 4 * hourX, cy - 4 * hourY); 106 ctx.lineTo(cx + 20 * hourX, cy + 20 * hourY); 109 ctx.moveTo(cx - 8 * minX, cy - 8 * minY); 110 ctx.lineTo(cx + 35 * minX, cy + 33 * minY); 117 ctx.moveTo(cx - 4 * secX, cy - 4 * secY); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGTransform.cpp | 121 void SVGTransform::setRotate(float angle, float cx, float cy) in setRotate() argument 125 m_center = FloatPoint(cx, cy); in setRotate() 129 m_matrix.translate(cx, cy); in setRotate() 131 m_matrix.translate(-cx, -cy); in setRotate() 212 …float cy = narrowPrecisionToFloat(cosAngle != 1 ? (m_matrix.e() * sinAngle / (1 - cosAngle) + m_ma… in valueAsString() local 213 if (cx || cy) in valueAsString() 214 …eturn prefix + String::number(m_angle) + ' ' + String::number(cx) + ' ' + String::number(cy) + ')'; in valueAsString()
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
D | svg-cursor-changes.svg | 5 <circle onclick="document.getElementById('mycursor').setAttribute('x', '100');" cx="80" cy="150" r=… 8 <circle onclick="document.getElementById('mycursor').x.baseVal.value = 100;" cx="230" cy="150" r="7… 14 <circle onclick="document.getElementById('mycursor2').setAttribute('x', '100');" cx="80" cy="310" r… 17 <circle onclick="document.getElementById('mycursor3').x.baseVal.value = 100;" cx="230" cy="310" r="… 22 …rg/1999/xlink', 'xlink:href', 'resources/webkit-background.png');" cx="80" cy="470" r="70" fill="g… 27 …d('mycursor5').href.baseVal = 'resources/webkit-background.png';" cx="230" cy="470" r="70" fill="g…
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkPatchUtils.cpp | 51 SkScalar cx[4], cy[4]; in FwDCubicEvaluator() local 52 SkGetCubicCoeff(fPoints, cx, cy); in FwDCubicEvaluator() 53 fCoefs[0].set(cx[0], cy[0]); in FwDCubicEvaluator() 54 fCoefs[1].set(cx[1], cy[1]); in FwDCubicEvaluator() 55 fCoefs[2].set(cx[2], cy[2]); in FwDCubicEvaluator() 56 fCoefs[3].set(cx[3], cy[3]); in FwDCubicEvaluator() 64 SkScalar cx[4], cy[4]; in FwDCubicEvaluator() local 65 SkGetCubicCoeff(fPoints, cx, cy); in FwDCubicEvaluator() 66 fCoefs[0].set(cx[0], cy[0]); in FwDCubicEvaluator() 67 fCoefs[1].set(cx[1], cy[1]); in FwDCubicEvaluator() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aatritemp.h | 223 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable 227 array->z[count] = (GLuint) solve_plane(cx, cy, zPlane); 229 array->rgba[count][RCOMP] = solve_plane_chan(cx, cy, rPlane); 230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane); 231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane); 232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane); 285 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable 290 array->z[ix] = (GLuint) solve_plane(cx, cy, zPlane); 292 array->rgba[ix][RCOMP] = solve_plane_chan(cx, cy, rPlane); 293 array->rgba[ix][GCOMP] = solve_plane_chan(cx, cy, gPlane); [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
D | s_aatritemp.h | 223 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable 227 array->z[count] = (GLuint) solve_plane(cx, cy, zPlane); 229 array->rgba[count][RCOMP] = solve_plane_chan(cx, cy, rPlane); 230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane); 231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane); 232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane); 285 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable 290 array->z[ix] = (GLuint) solve_plane(cx, cy, zPlane); 292 array->rgba[ix][RCOMP] = solve_plane_chan(cx, cy, rPlane); 293 array->rgba[ix][GCOMP] = solve_plane_chan(cx, cy, gPlane); [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
D | SDL_os2fslib.c | 124 LONG cx, LONG cy, in SetAccessableWindowPos() argument 140 if (y+cy>swpDesktop.cy) in SetAccessableWindowPos() 141 y = swpDesktop.cy - cy; in SetAccessableWindowPos() 142 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl); in SetAccessableWindowPos() 154 if (y+swp.cy>swpDesktop.cy) in SetAccessableWindowPos() 155 y = swpDesktop.cy - swp.cy; in SetAccessableWindowPos() 156 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl); in SetAccessableWindowPos() 170 if (y+cy>swpDesktop.cy) in SetAccessableWindowPos() 171 y = swpDesktop.cy - cy; in SetAccessableWindowPos() 172 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl | SWP_MOVE); in SetAccessableWindowPos() [all …]
|