Searched refs:cy (Results 51 - 75 of 246) sorted by relevance

12345678910

/external/skia/experimental/Intersection/
H A DQuadraticSubDivide.cpp48 double cy = dst[2].y = interp_quad_coords(&src[0].y, t2); local
50 /* by = */ dst[1].y = 2*dy - (ay + cy)/2;
H A DEdgeWalkerQuadratic4x4_Test.cpp25 int cy = state.c >> 2; local
43 path.quadTo(bx, by, cx, cy);
53 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
/external/chromium_org/skia/ext/
H A Drecursive_gaussian_convolution_unittest.cc188 const int cy = centre_point.y(); local
189 unsigned char value_x = output[dest_row_stride * cy + cx];
196 EXPECT_EQ(output[dest_row_stride * cy + cx - offset],
197 output[dest_row_stride * cy + cx + offset]);
198 EXPECT_LE(output[dest_row_stride * cy + cx - offset], value_x);
199 value_x = output[dest_row_stride * cy + cx - offset];
202 EXPECT_EQ(output[dest_row_stride * (cy - offset) + cx],
203 output[dest_row_stride * (cy + offset) + cx]);
204 EXPECT_LE(output[dest_row_stride * (cy - offset) + cx], value_y);
205 value_y = output[dest_row_stride * (cy
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_debug_clip.c83 const GLfloat cy = from[1]; local
89 if ( -cy + cw < 0 ) mask |= CLIP_TOP_BIT;
90 if ( cy + cw < 0 ) mask |= CLIP_BOTTOM_BIT;
107 vProj[i][1] = cy * oow;
139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local
143 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT;
144 else if ( cy < -1.0 ) mask |= CLIP_BOTTOM_BIT;
177 const GLfloat cx = from[0], cy = from[1]; local
181 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT;
182 else if ( cy <
[all...]
/external/mesa3d/src/mesa/math/
H A Dm_debug_clip.c83 const GLfloat cy = from[1]; local
89 if ( -cy + cw < 0 ) mask |= CLIP_TOP_BIT;
90 if ( cy + cw < 0 ) mask |= CLIP_BOTTOM_BIT;
107 vProj[i][1] = cy * oow;
139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local
143 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT;
144 else if ( cy < -1.0 ) mask |= CLIP_BOTTOM_BIT;
177 const GLfloat cx = from[0], cy = from[1]; local
181 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT;
182 else if ( cy <
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkMaskFilter.cpp73 int cy = center.y(); local
79 m.fBounds.fBottom = cy;
89 m.fBounds.fBottom = cy;
99 m.fBounds.fTop = cy + 1;
109 m.fBounds.fTop = cy + 1;
119 outerR.top() + cy - mask.fBounds.top(),
121 outerR.bottom() + (cy + 1 - mask.fBounds.bottom()));
167 *mask.getAddr8(mask.fBounds.left() + x, mask.fBounds.top() + cy));
178 *mask.getAddr8(mask.fBounds.right() - x - 1, mask.fBounds.top() + cy));
/external/skia/src/core/
H A DSkMaskFilter.cpp73 int cy = center.y(); local
79 m.fBounds.fBottom = cy;
89 m.fBounds.fBottom = cy;
99 m.fBounds.fTop = cy + 1;
109 m.fBounds.fTop = cy + 1;
119 outerR.top() + cy - mask.fBounds.top(),
121 outerR.bottom() + (cy + 1 - mask.fBounds.bottom()));
167 *mask.getAddr8(mask.fBounds.left() + x, mask.fBounds.top() + cy));
178 *mask.getAddr8(mask.fBounds.right() - x - 1, mask.fBounds.top() + cy));
/external/chromium_org/third_party/skia/include/effects/
H A DSkGradientShader.h193 static SkShader* CreateSweep(SkScalar cx, SkScalar cy,
197 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, argument
199 return CreateSweep(cx, cy, colors, pos, count, 0, NULL);
203 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, argument
207 return CreateSweep(cx, cy, colors, pos, count, flags, localMatrix);
/external/fonttools/Lib/fontTools/pens/
H A DpointInsidePen.py122 cy = (y2 - dy) * 3.0
123 by = (y3 - y2) * 3.0 - cy
124 ay = y4 - dy - cy - by
125 solutions = sorted(solveCubic(ay, by, cy, dy - y))
144 direction = 3*ay*t2 + 2*by*t + cy
/external/fonttools/Tools/fontTools/pens/
H A DpointInsidePen.py122 cy = (y2 - dy) * 3.0
123 by = (y3 - y2) * 3.0 - cy
124 ay = y4 - dy - cy - by
125 solutions = sorted(solveCubic(ay, by, cy, dy - y))
144 direction = 3*ay*t2 + 2*by*t + cy
/external/skia/include/effects/
H A DSkGradientShader.h193 static SkShader* CreateSweep(SkScalar cx, SkScalar cy,
197 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, argument
199 return CreateSweep(cx, cy, colors, pos, count, 0, NULL);
203 static SkShader* CreateSweep(SkScalar cx, SkScalar cy, argument
207 return CreateSweep(cx, cy, colors, pos, count, flags, localMatrix);
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
H A DSDL_os2fslib.c124 LONG cx, LONG cy,
140 if (y+cy>swpDesktop.cy)
141 y = swpDesktop.cy - cy;
142 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl);
154 if (y+swp.cy>swpDesktop.cy)
155 y = swpDesktop.cy - swp.cy;
122 SetAccessableWindowPos(HWND hwnd, HWND hwndInsertBehind, LONG x, LONG y, LONG cx, LONG cy, ULONG fl) argument
1057 int cx, cy, ncx, ncy; local
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeWalkerQuadratic4x4_Test.cpp25 int cy = state.c >> 2; local
43 path.quadTo(bx, by, cx, cy);
53 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSimplifyQuadThreadedTest.cpp24 int cy = state.fC >> 2; local
43 SkIntToScalar(cx), SkIntToScalar(cy));
55 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp24 int cy = state.fC >> 2; local
43 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
56 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy);
H A DInfRectTest.cpp43 int cy = r.centerY(); local
45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy);
/external/skia/tests/
H A DPathOpsSimplifyQuadThreadedTest.cpp24 int cy = state.fC >> 2; local
43 SkIntToScalar(cx), SkIntToScalar(cy));
55 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp24 int cy = state.fC >> 2; local
43 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
56 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy);
H A DInfRectTest.cpp43 int cy = r.centerY(); local
45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy);
/external/chromium_org/native_client_sdk/src/examples/api/mouse_cursor/
H A Dmouse_cursor.cc75 void DrawCircle(int cx, int cy, float alpha_radius, float radius, argument
84 int dy = (y - cy);
/external/chromium_org/third_party/skia/gm/
H A Dfilterindiabox.cpp51 SkScalar cy = SkScalarHalf(fBM.height()); local
57 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleOvalTest.cpp56 SkScalar cy = SkScalarHalf(fSize.height()); local
64 SkScalar dist = SkPoint::Length(px - cx, py - cy);
/external/chromium_org/third_party/webrtc/base/
H A Dwin32window.cc33 DWORD exstyle, int x, int y, int cx, int cy) {
62 x, y, cx, cy, parent, NULL, instance_, this);
32 Create(HWND parent, const wchar_t* title, DWORD style, DWORD exstyle, int x, int y, int cx, int cy) argument
/external/skia/samplecode/
H A DSampleOvalTest.cpp56 SkScalar cy = SkScalarHalf(fSize.height()); local
64 SkScalar dist = SkPoint::Length(px - cx, py - cy);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c247 arc->cx, arc->cy,
248 &arc->cx, &arc->cy);
260 vec0[1] = arc->y1 - arc->cy;
262 vec1[1] = arc->y2 - arc->cy;
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy);
328 y1 = arc->cy + a_cos_eta1 * arc->sin_theta +
335 y2 = arc->cy + a_cos_eta2 * arc->sin_theta +
369 double cx, cy; local
384 cy = cy1;
387 cy
[all...]

Completed in 816 milliseconds

12345678910