Home
last modified time | relevance | path

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

/external/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.cpp194 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
195 canvas->drawLine({-1, midY}, {(float)size.fWidth+1, midY}, {}); in onDraw()
202 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
203 canvas->drawLine({-1, midY}, {(float)size.fWidth + 1, midY}, paint); in onDraw()
/external/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()
/external/angle/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()
/external/skqp/src/utils/win/
DSkDWriteGeometrySink.cpp102 float midY = cubic[0].y + dy10 * 3 / 2; in check_quadratic() local
103 if (!approximately_equal(midY, (dy23 * 3 / 2) + cubic[3].y)) { in check_quadratic()
108 reduction[1].y = midY; in check_quadratic()
/external/skqp/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()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DTriggerPad.kt145 val midY = mDrawRect.top + mDrawRect.height() / 2.0f in onDraw() constant
147 canvas.drawCircle(midX, midY, radius - 5.0f, mPaint) in onDraw()
/external/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()
/external/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()
/external/skqp/tests/
DBlurTest.cpp195 int midY = dst.fBounds.y() + dst.fBounds.height()/2; in ground_truth_2d() local
196 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
248 SkScalar midY = path.getBounds().centerY(); in blur_path() local
250 canvas->translate(-midX, -midY); in blur_path()
/external/skqp/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()
/external/skia/src/core/
DSkGeometry.cpp1456 SkScalar midY = dst[0].fPts[2].fY; in subdivide() local
1457 if (!between(startY, midY, endY)) { in subdivide()
1459 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()