/external/skia/src/animator/ |
D | SkParseSVGPath.cpp | 49 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); in quadApprox() 50 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); in quadApprox() 55 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); in quadApprox() 56 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)); in quadApprox()
|
/external/skia/samplecode/ |
D | SampleCull.cpp | 18 path->lineTo(SkScalarHalf(pts[0].fX + pts[1].fX) - tang.fY, in addbump() 19 SkScalarHalf(pts[0].fY + pts[1].fY) + tang.fX); in addbump() 138 canvas->translate( SkScalarHalf(this->width() - fClip.width()), in onDrawContent() 139 SkScalarHalf(this->height() - fClip.height())); in onDrawContent()
|
D | SampleOvalTest.cpp | 48 const SkScalar rad = SkScalarHalf(fSize.width()); in checkOval() 49 SkScalar cx = SkScalarHalf(fSize.width()); in checkOval() 50 SkScalar cy = SkScalarHalf(fSize.height()); in checkOval()
|
D | SampleBox.cpp | 25 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
D | SampleSpiral.cpp | 25 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
D | SampleHairline.cpp | 120 c.fX = SkScalarHalf(c.fX); in ave() 121 c.fY = SkScalarHalf(c.fY); in ave()
|
D | SampleLines.cpp | 54 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in drawRings()
|
D | SampleAnimatedGradient.cpp | 29 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
/external/webkit/Source/WebKit/android/ |
D | RenderSkinMediaButton.cpp | 180 SkScalar quarterHeight = SkScalarHalf(SkScalarHalf(bounds.height())); in Draw() 181 bounds.fTop += quarterHeight + SkScalarHalf(3); in Draw()
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 81 SkScalar dx = SkScalarHalf(pts[1].fX) - in quad_too_curvy() 82 SkScalarHalf(SkScalarHalf(pts[0].fX + pts[2].fX)); in quad_too_curvy() 83 SkScalar dy = SkScalarHalf(pts[1].fY) - in quad_too_curvy() 84 SkScalarHalf(SkScalarHalf(pts[0].fY + pts[2].fY)); in quad_too_curvy()
|
D | SkScan_Hairline.cpp | 179 SkScalar dx = SkScalarHalf(pts[0].fX + pts[2].fX) - pts[1].fX; in compute_int_quad_dist() 180 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; in compute_int_quad_dist() 329 SkScalar rx = SkScalarHalf(dx); in FrameRect() 330 SkScalar ry = SkScalarHalf(dy); in FrameRect()
|
D | SkPath.cpp | 414 SkScalar halfW = SkScalarHalf(w); in addRoundRect() 416 SkScalar halfH = SkScalarHalf(h); in addRoundRect() 500 rx = SkMinScalar(SkScalarHalf(rect.width()), rx); in add_corner_arc() 501 ry = SkMinScalar(SkScalarHalf(rect.height()), ry); in add_corner_arc() 556 SkScalar rx = SkScalarHalf(oval.width()); in addOval() 557 SkScalar ry = SkScalarHalf(oval.height()); in addOval() 660 matrix.setScale(SkScalarHalf(oval.width()), SkScalarHalf(oval.height())); in build_arc_points()
|
D | SkStrokerPriv.cpp | 221 sinHalfAngle = SkScalarSqrt(SkScalarHalf(SK_Scalar1 + dotProd)); in MiterJoiner()
|
D | SkDraw.cpp | 589 SkScalar radius = SkScalarHalf(width); in drawPoints() 839 return x + SkScalarHalf(y); in fast_len() 1547 offsetX = SkScalarHalf(underlineWidth); in drawText() 1595 stopX = SkScalarHalf(stopX); in drawText() 1596 stopY = SkScalarHalf(stopY); in drawText() 1972 pathLen = SkScalarHalf(pathLen); in drawTextOnPath()
|
D | SkScan_Antihair.cpp | 753 SkScalar rx = SkScalarHalf(strokeSize.fX); in AntiFrameRect() 754 SkScalar ry = SkScalarHalf(strokeSize.fY); in AntiFrameRect()
|
/external/skia/tests/ |
D | ClipperTest.cpp | 11 static const SkScalar CX = SkScalarHalf(L + R); in test_intersectline() 12 static const SkScalar CY = SkScalarHalf(T + B); in test_intersectline()
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 165 x = SkScalarHalf(marginWidth); in draw() 193 y = SkScalarHalf(height - textHeight); in draw()
|
D | SkWidgets.cpp | 286 canvas->drawRoundRect(r, SkScalarHalf(this->height()), SkScalarHalf(this->height()), p);
|
D | SkStackViewLayout.cpp | 60 static SkScalar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(… in center_align_proc()
|
D | SkWidget.cpp | 157 x = SkScalarHalf(this->width());
|
/external/skia/gpu/include/ |
D | GrScalar.h | 40 #define GrScalarHalf(a) SkScalarHalf(a)
|
/external/skia/include/core/ |
D | SkScalar.h | 193 #define SkScalarHalf(a) ((a) * 0.5f) macro 261 #define SkScalarHalf(a) ((a) >> 1) macro
|
D | SkRect.h | 343 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX() 344 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); } in centerY()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 102 xAdj = SkScalarHalf(xAdj); in align_text() 103 yAdj = SkScalarHalf(yAdj); in align_text() 639 SkScalar halfStroke = SkScalarHalf(strokeWidth); in drawPoints()
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | GraphicsContextAndroid.cpp | 175 shadow.blur = SkScalarHalf(SkIntToScalar(radius)); in setShadow() 566 const SkScalar radius = SkScalarHalf(diameter); in drawLine()
|