/third_party/flutter/flutter/examples/stocks/lib/ |
D | stock_arrow.dart | 22 final double centerX = padding + r; 31 arrowY = centerX + 1.0; 33 arrowY = centerX - 1.0; 36 path.moveTo(centerX, arrowY - h); // top of the arrow 37 path.lineTo(centerX + w, arrowY + h); 38 path.lineTo(centerX - w, arrowY + h); 45 canvas.drawCircle(Offset(centerX, centerY), r, paint);
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLInputEventExample/src/ |
D | WLEyes.cpp | 147 CreateEllipsePoints(const float& centerX, const float& centerY, in CreateEllipsePoints() argument 155 centerX - diam * 0.5f, in CreateEllipsePoints() 227 WLEye::CreateEyeLiner(const float& centerX, const float& centerY, in CreateEyeLiner() argument 234 CreateEllipsePoints(centerX, centerY, diam, trans, m_nPoint, m_eyeLiner); in CreateEyeLiner() 236 CreateWhiteEye(centerX, centerY, diam * 0.8, trans); in CreateEyeLiner() 240 WLEye::CreateWhiteEye(const float& centerX, const float& centerY, in CreateWhiteEye() argument 247 CreateEllipsePoints(centerX, centerY, diam, trans, m_nWhiteEyePoint, m_whiteEye); in CreateWhiteEye() 251 WLEye::CreatePupil(const float& centerX, const float& centerY, in CreatePupil() argument 258 CreateEllipsePoints(centerX, centerY, diam, trans, m_nPupilPoint, m_pupil); in CreatePupil()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLInputEventExample/include/ |
D | WLEyes.h | 41 void CreateEyeLiner(const float& centerX, 45 void CreatePupil(const float& centerX, 55 void CreateWhiteEye(const float& centerX,
|
/third_party/flutter/skia/tests/ |
D | PathOpsAsWindingTest.cpp | 21 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 23 path.quadTo(rect.fRight, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 25 path.quadTo(rect.fLeft, rect.fTop, rect.centerX(), rect.fTop); in build_squircle() 28 path.addCircle(rect.centerX(), rect.centerY(), rect.width() / 2, dir); in build_squircle() 36 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 38 path.cubicTo(rect.fRight, aY34, aX34, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 40 path.cubicTo(rect.fLeft, aY14, aX14, rect.fTop, rect.centerX(), rect.fTop); in build_squircle()
|
/third_party/skia/tests/ |
D | PathOpsAsWindingTest.cpp | 21 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 23 path.quadTo(rect.fRight, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 25 path.quadTo(rect.fLeft, rect.fTop, rect.centerX(), rect.fTop); in build_squircle() 28 path.addCircle(rect.centerX(), rect.centerY(), rect.width() / 2, dir); in build_squircle() 36 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 38 path.cubicTo(rect.fRight, aY34, aX34, rect.fBottom, rect.centerX(), rect.fBottom); in build_squircle() 40 path.cubicTo(rect.fLeft, aY14, aX14, rect.fTop, rect.centerX(), rect.fTop); in build_squircle()
|
/third_party/flutter/skia/gm/ |
D | pictureimagegenerator.cpp | 75 canvas->drawCircle(iBox.centerX(), in draw_vector_logo() 81 path.moveTo(iBox.centerX() - accentSize / 2, iBox.bottom() + kVerticalSpacing * accentSize); in draw_vector_logo() 83 path.lineTo(iBox.centerX(), underlineY); in draw_vector_logo() 86 SkRect underlineRect = SkRect::MakeLTRB(iBox.centerX() - iBox.width() * accentSize * 3, in draw_vector_logo() 88 iBox.centerX(), in draw_vector_logo() 91 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
|
D | addarc.cpp | 283 SkScalar centerX = 50; variable 291 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), 293 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]), 296 html_canvas_arc(&path, centerX, outerRadius, outerRadius, 299 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 301 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
/third_party/skia/gm/ |
D | pictureimagegenerator.cpp | 73 canvas->drawCircle(iBox.centerX(), in draw_vector_logo() 79 path.moveTo(iBox.centerX() - accentSize / 2, iBox.bottom() + kVerticalSpacing * accentSize); in draw_vector_logo() 81 path.lineTo(iBox.centerX(), underlineY); in draw_vector_logo() 84 SkRect underlineRect = SkRect::MakeLTRB(iBox.centerX() - iBox.width() * accentSize * 3, in draw_vector_logo() 86 iBox.centerX(), in draw_vector_logo() 89 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
|
D | addarc.cpp | 281 SkScalar centerX = 50; variable 289 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), 291 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]), 294 html_canvas_arc(&path, centerX, outerRadius, outerRadius, 297 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 299 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | localmatrixshader.cpp | 187 auto g1 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 193 auto g2 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 200 auto g3 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 206 auto g4 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()},
|
D | orientation.cpp | 97 drawLabel("top", midX - bounds.centerX(), -bounds.top() + kPad); in make_images() 100 drawLabel("bottom", midX - bounds.centerX(), kImgH - kPad - bounds.bottom()); in make_images() 113 drawLabel(num.c_str(), midX - bounds.centerX(), baseY); in make_images()
|
/third_party/skia/docs/examples/ |
D | Rect_centerX.cpp | 9 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw() 11 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw()
|
D | Matrix_setRSXform.cpp | 14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw() 16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setRotate_2.cpp | 15 canvas->translate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setSinCos_2.cpp | 15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Rect_centerX.cpp | 9 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw() 11 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw()
|
D | Matrix_setRSXform.cpp | 14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw() 16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setRotate_2.cpp | 15 canvas->translate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setSinCos_2.cpp | 15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 1012 glw::GLuint centerX = m_test_configuration.get_width() / 2; in checkLinear() local 1028 index = y * outRowWidth + centerX * out_components + c; in checkLinear() 1032 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1034 << "at point (x, y) = (" << centerX << "," << y in checkLinear() 1047 index = y * outRowWidth + centerX * out_components + c; in checkLinear() 1051 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1053 << "at point (x, y) = (" << centerX << "," << y in checkLinear() 1062 for (glw::GLuint x = centerX; x < centerX + stepX; ++x) in checkLinear() 1070 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1081 for (glw::GLuint x = centerY; x > centerX - stepX; --x) in checkLinear() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ProvokingVertexTest.cpp | 234 float centerX = sumX / 3.0f * 0.5f + 0.5f; in TEST_P() local 237 static_cast<unsigned int>(centerX * static_cast<GLfloat>(getWindowWidth())); in TEST_P() 290 float centerX = sumX / 3.0f * 0.5f + 0.5f; in TEST_P() local 293 static_cast<unsigned int>(centerX * static_cast<GLfloat>(getWindowWidth())); in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ProvokingVertexTest.cpp | 229 float centerX = sumX / 3.0f * 0.5f + 0.5f; in TEST_P() local 232 static_cast<unsigned int>(centerX * static_cast<GLfloat>(getWindowWidth())); in TEST_P() 285 float centerX = sumX / 3.0f * 0.5f + 0.5f; in TEST_P() local 288 static_cast<unsigned int>(centerX * static_cast<GLfloat>(getWindowWidth())); in TEST_P()
|
/third_party/skia/samplecode/ |
D | SampleArc.cpp | 92 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines() 101 SkTextUtils::DrawString(canvas, str.c_str(), rect.centerX(), in DrawLabel()
|
D | SampleFillType.cpp | 40 canvas->translate(r.centerX(), r.centerY()); in showPath() 42 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
/third_party/flutter/skia/samplecode/ |
D | SampleArc.cpp | 92 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines() 101 SkTextUtils::DrawString(canvas, str.c_str(), rect.centerX(), in DrawLabel()
|