/external/skia/gm/ |
D | orientation.cpp | 62 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()
|
D | texelsubset.cpp | 194 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/skqp/src/utils/win/ |
D | SkDWriteGeometrySink.cpp | 102 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/angle/samples/multi_window/ |
D | MultiWindow.cpp | 124 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/ |
D | SkDWriteGeometrySink.cpp | 108 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/skqp/src/pathops/ |
D | SkReduceOrder.cpp | 137 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/ |
D | TriggerPad.kt | 145 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/ |
D | SkReduceOrder.cpp | 137 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/ |
D | BlurTest.cpp | 194 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()
|
D | RoundRectTest.cpp | 1097 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/ |
D | BlurTest.cpp | 195 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/ |
D | SkGeometry.cpp | 1253 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/ |
D | SkGeometry.cpp | 1456 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()
|