Home
last modified time | relevance | path

Searched refs:midY (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/gm/
Dorientation.cpp62 SkScalar midY = kImgH / 2.f; in make_images() local
64 SkScalar h = midY - 1; in make_images()
69 canvas->drawRect(SkRect::MakeXYWH(1, midY, w, h), paint); in make_images()
71 canvas->drawRect(SkRect::MakeXYWH(midX, midY, w, h), paint); in make_images()
104 SkScalar baseY = midY - measure("leftright").centerY(); in make_images()
Dtexelsubset.cpp201 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
202 canvas->drawLine({-1, midY}, {(float)size.fWidth+1, midY}, {}); in onDraw()
209 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
210 canvas->drawLine({-1, midY}, {(float)size.fWidth + 1, midY}, paint); in onDraw()
/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp108 float midY = cubic[0].y + dy10 * 3 / 2; in check_quadratic() local
109 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
112 quadraticP1 = {midX, midY}; in check_quadratic()
/third_party/flutter/skia/third_party/externals/angle2/samples/multi_window/
DMultiWindow.cpp124 float midY = (top + bottom) * 0.5f; in draw() local
126 Matrix4 modelMatrix = Matrix4::translate(Vector3(midX, midY, 0.0f)) * in draw()
128 Matrix4::translate(Vector3(-midX, -midY, 0.0f)); in draw()
/third_party/skia/third_party/externals/angle2/samples/multi_window/
DMultiWindow.cpp124 float midY = (top + bottom) * 0.5f; in draw() local
126 Matrix4 modelMatrix = Matrix4::translate(Vector3(midX, midY, 0.0f)) * in draw()
128 Matrix4::translate(Vector3(-midX, -midY, 0.0f)); in draw()
/third_party/flutter/skia/src/utils/win/
DSkDWriteGeometrySink.cpp103 float midY = cubic[0].y + dy10 * 3 / 2; in check_quadratic() local
104 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
109 reduction[1].y = midY; in check_quadratic()
/third_party/flutter/skia/src/pathops/
DSkReduceOrder.cpp137 double midY = cubic[0].fY + dy10 * 3 / 2; in check_quadratic() local
138 double sideAy = midY - cubic[3].fY; in check_quadratic()
146 reduction[1].fY = midY; in check_quadratic()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dconic.dart104 final double midY = conic0.p2y;
105 if (!_between(startY, midY, endY)) {
109 (midY - startY).abs() < (midY - endY).abs() ? startY : endY;
/third_party/skia/src/pathops/
DSkReduceOrder.cpp137 double midY = cubic[0].fY + dy10 * 3 / 2; in check_quadratic() local
138 double sideAy = midY - cubic[3].fY; in check_quadratic()
146 reduction[1].fY = midY; in check_quadratic()
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DTriggerPad.kt150 var midY = mDrawRect.top + mDrawRect.height() / 2.0f in onDraw() variable
152 canvas.drawCircle(midX, midY, radius - 5.0f, mPaint) in onDraw()
/third_party/skia/tests/
DBlurTest.cpp194 int midY = dst.fBounds.y() + dst.fBounds.height()/2; in ground_truth_2d() local
195 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
247 SkScalar midY = path.getBounds().centerY(); in blur_path() local
249 canvas->translate(-midX, -midY); in blur_path()
DRoundRectTest.cpp1097 float midY = maxTop + 0.5f * innerHeight; in test_inner_bounds() local
1100 REPORTER_ASSERT(reporter, maxInner.contains(maxLeft, midY)); in test_inner_bounds()
1101 REPORTER_ASSERT(reporter, maxInner.contains(maxLeft + innerWidth, midY)); in test_inner_bounds()
/third_party/flutter/skia/tests/
DBlurTest.cpp197 int midY = dst.fBounds.y() + dst.fBounds.height()/2; in ground_truth_2d() local
198 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
250 SkScalar midY = path.getBounds().centerY(); in blur_path() local
252 canvas->translate(-midX, -midY); in blur_path()
/third_party/flutter/skia/src/core/
DSkGeometry.cpp1253 SkScalar midY = dst[0].fPts[2].fY; in subdivide() local
1254 if (!between(startY, midY, endY)) { in subdivide()
1256 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()
/third_party/skia/src/core/
DSkGeometry.cpp1452 SkScalar midY = dst[0].fPts[2].fY; in subdivide() local
1453 if (!between(startY, midY, endY)) { in subdivide()
1455 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/
Dsemantics.dart1326 final double midY = activatingElementRect.top +
1329 final double deltaY = activationPoint.y - midY;