/external/opencv3/samples/cpp/ |
contours2.cpp | 48 int dy = (i/2)*150; local 58 cvRound(dy+100-90*sin(angle))), 60 cvRound(dy+100-30*sin(angle))), white, 1, 8, 0); 64 ellipse( img, Point(dx+150, dy+100), Size(100,70), 0, 0, 360, white, -1, 8, 0 ); 65 ellipse( img, Point(dx+115, dy+70), Size(30,20), 0, 0, 360, black, -1, 8, 0 ); 66 ellipse( img, Point(dx+185, dy+70), Size(30,20), 0, 0, 360, black, -1, 8, 0 ); 67 ellipse( img, Point(dx+115, dy+70), Size(15,15), 0, 0, 360, white, -1, 8, 0 ); 68 ellipse( img, Point(dx+185, dy+70), Size(15,15), 0, 0, 360, white, -1, 8, 0 ); 69 ellipse( img, Point(dx+115, dy+70), Size(5,5), 0, 0, 360, black, -1, 8, 0 ); 70 ellipse( img, Point(dx+185, dy+70), Size(5,5), 0, 0, 360, black, -1, 8, 0 ) [all...] |
/external/skia/experimental/SkV8Example/ |
DrawingMethods.cpp | 76 double dy = args[1]->NumberValue(); local 77 canvas->translate(SkDoubleToScalar(dx), SkDoubleToScalar(dy));
|
/external/skia/gm/ |
imageblur2.cpp | 52 SkScalar dy = HEIGHT / sigmaCount; variable 76 SkIntToScalar(y * dy + textSize * i + textSize),
|
hairmodes.cpp | 110 SkScalar dy = drawCell(canvas, mode, variable 115 canvas->translate(0, dy * 5 / 4);
|
imagefilters.cpp | 120 SkScalar dx = 0, dy = 0; local 124 SkRRect rr = SkRRect::MakeRectXY(r.makeOffset(dx, dy), 20, 20); 135 dy = offset;
|
imagefiltersgraph.cpp | 38 static SkImageFilter* Create(SkScalar dx, SkScalar dy, SkImageFilter* input) { 39 return new SimpleOffsetFilter(dx, dy, input); 77 SimpleOffsetFilter(SkScalar dx, SkScalar dy, SkImageFilter* input) 78 : SkImageFilter(1, &input), fDX(dx), fDY(dy) {} 90 SkScalar dy = buffer.readScalar(); local 91 return Create(dx, dy, common.getInput(0));
|
inversepaths.cpp | 70 SkScalar dy = slideHeight + 2 * slideBoundary; local 121 canvas->translate(0, dy);
|
offsetimagefilter.cpp | 58 SkScalar dy = SkIntToScalar(i*10); variable 59 SkAutoTUnref<SkImageFilter> filter(SkOffsetImageFilter::Create(dx, dy, tileInput,
|
shapes.cpp | 136 float dy = (rand.nextF() - 0.5f) * (outer.rect().height() - s * inner.rect().height()); variable 137 innerXform.setTranslate(outer.rect().centerX() + dx, outer.rect().centerY() + dy);
|
typeface.cpp | 138 SkScalar dy = paint.getFontMetrics(nullptr); variable 139 SkScalar y = dy; 152 y += dy;
|
/external/skia/samplecode/ |
SampleAARects.cpp | 77 SkScalar dy = SkIntToScalar(100); local 181 canvas->translate(0, dy);
|
SampleMeasure.cpp | 38 SkScalar dy = paint.getFontMetrics(nullptr); local 77 canvas->translate(0, dy);
|
SampleAARectModes.cpp | 116 SkScalar dy = drawCell(canvas, mode, local 121 canvas->translate(0, dy * 5 / 4);
|
SampleBlur.cpp | 35 float dy = y - cy; local 36 dy *= dy; 41 float d = (dx + dy) / (cx/2);
|
SampleHairModes.cpp | 114 SkScalar dy = drawCell(canvas, mode, local 119 canvas->translate(0, dy * 5 / 4);
|
/external/skia/src/effects/ |
SkBlurDrawLooper.cpp | 21 SkScalar dx, SkScalar dy, uint32_t flags) { 22 this->init(sigma, dx, dy, color, flags); 54 void SkBlurDrawLooper::init(SkScalar sigma, SkScalar dx, SkScalar dy, 58 fDy = dy; 69 const SkScalar dy = buffer.readScalar(); local 71 return Create(color, sigma, dx, dy, flags); 161 str->append(" dy: ");
|
/external/skia/tests/ |
PathOpsSimplifyTrianglesThreadedTest.cpp | 27 int dy = d >> 2; local 37 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { 46 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); 56 str += sprintf(str, " path.moveTo(%d, %d);\n", dx, dy);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
Rectangle.java | 61 Point dy = vAxis.scaledTo(size.y / 2.0f); local 63 return new Rectangle(center.minus(dx).minus(dy), 64 center.plus(dx).minus(dy), 65 center.minus(dx).plus(dy), 66 center.plus(dx).plus(dy));
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Geometry.h | 104 double dy = y2 - y0; local 106 double len1 = sqrt(dx * dx + dy * dy); 107 double m1 = dy / dx; 119 dy = y1 - m1 * x + b1; 120 mass = len1 * sqrt(dx * dx + dy * dy);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Circle.java | 163 float dy = y - point.y;
local 164 return dx * dx + dy * dy <= radius * radius;
173 final float dy = y - c.y;
local 174 final float dst = dx * dx + dy * dy;
183 float dy = y - c.y;
local 184 float distance = dx * dx + dy * dy;
|
/external/opencv3/modules/videostab/src/ |
outlier_rejection.cpp | 106 float dx, dy, dxBest, dyBest; local 126 dy = points1_[idx].y - points0_[idx].y; 132 y1 = points0_[cell[i]].y + dy; 144 dyBest = dy;
|
/external/pdfium/third_party/agg23/ |
agg_curves.cpp | 63 FX_FLOAT dy = y4 - y1; local 64 FX_FLOAT d2 = FXSYS_fabs(FXSYS_Mul(x2 - x4, dy) - FXSYS_Mul(y2 - y4, dx)); 65 FX_FLOAT d3 = FXSYS_fabs(FXSYS_Mul(x3 - x4, dy) - FXSYS_Mul(y3 - y4, dx)); 79 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) { 86 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) { 93 FXSYS_Mul(dx, dx) + FXSYS_Mul(dy, dy))) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
Vector2.java | 96 float dy = y - other.y; local 97 return (dx * dx) + (dy * dy);
|
/external/skia/bench/ |
VertBench.cpp | 44 const SkScalar dy = SkIntToScalar(H) / COL; local 65 yy += dy;
|
/external/skia/src/core/ |
SkBitmapProcState_matrix.h | 103 SkFixed dy = s.fInvKy; local 109 fy += dy;
|