Home
last modified time | relevance | path

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

/external/skia/gm/
Dorientation.cpp64 SkScalar midY = kImgH / 2.f; in make_images() local
66 SkScalar h = midY - 1; in make_images()
71 canvas->drawRect(SkRect::MakeXYWH(1, midY, w, h), paint); in make_images()
73 canvas->drawRect(SkRect::MakeXYWH(midX, midY, w, h), paint); in make_images()
106 SkScalar baseY = midY - measure("leftright").centerY(); in make_images()
Dtexelsubset.cpp204 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
205 canvas->drawLine({-1, midY}, {(float)size.fWidth+1, midY}, {}); in onDraw()
212 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() local
213 canvas->drawLine({-1, midY}, {(float)size.fWidth + 1, midY}, paint); in onDraw()
/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/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/skia/src/pathops/
DSkReduceOrder.cpp144 double midY = cubic[0].fY + dy10 * 3 / 2; in check_quadratic() local
145 double sideAy = midY - cubic[3].fY; in check_quadratic()
153 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/tests/
DBlurTest.cpp199 int midY = dst.fBounds.y() + dst.fBounds.height()/2; in ground_truth_2d() local
200 uint8_t* bytes = dst.getAddr8(midX, midY); in ground_truth_2d()
252 SkScalar midY = path.getBounds().centerY(); in blur_path() local
254 canvas->translate(-midX, -midY); in blur_path()
DRoundRectTest.cpp1107 float midY = maxTop + 0.5f * innerHeight; in test_inner_bounds() local
1110 REPORTER_ASSERT(reporter, maxInner.contains(maxLeft, midY)); in test_inner_bounds()
1111 REPORTER_ASSERT(reporter, maxInner.contains(maxLeft + innerWidth, midY)); in test_inner_bounds()
/external/skia/src/core/
DSkGeometry.cpp1505 SkScalar midY = dst[0].fPts[2].fY; in subdivide() local
1506 if (!between(startY, midY, endY)) { in subdivide()
1508 SkScalar closerY = SkTAbs(midY - startY) < SkTAbs(midY - endY) ? startY : endY; in subdivide()