/external/skia/src/animator/ |
D | SkParseSVGPath.cpp | 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); in quadApprox() 42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); in quadApprox() 47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); in quadApprox() 48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)); in quadApprox()
|
/external/skia/samplecode/ |
D | SampleCull.cpp | 25 path->lineTo(SkScalarHalf(pts[0].fX + pts[1].fX) - tang.fY, in addbump() 26 SkScalarHalf(pts[0].fY + pts[1].fY) + tang.fX); in addbump() 145 canvas->translate( SkScalarHalf(this->width() - fClip.width()), in onDrawContent() 146 SkScalarHalf(this->height() - fClip.height())); in onDrawContent()
|
D | SampleOvalTest.cpp | 55 const SkScalar rad = SkScalarHalf(fSize.width()); in checkOval() 56 SkScalar cx = SkScalarHalf(fSize.width()); in checkOval() 57 SkScalar cy = SkScalarHalf(fSize.height()); in checkOval()
|
D | SampleBox.cpp | 32 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
D | SampleSpiral.cpp | 32 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
D | SampleHairline.cpp | 127 c.fX = SkScalarHalf(c.fX); in ave() 128 c.fY = SkScalarHalf(c.fY); in ave()
|
D | SampleLines.cpp | 61 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in drawRings()
|
D | SampleAnimatedGradient.cpp | 36 paint.setStrokeWidth(SkScalarHalf(SkIntToScalar(3))); in onDrawContent()
|
/external/webkit/Source/WebKit/android/ |
D | RenderSkinMediaButton.cpp | 179 SkScalar quarterHeight = SkScalarHalf(SkScalarHalf(bounds.height())); in Draw() 180 bounds.fTop += quarterHeight + SkScalarHalf(3); in Draw()
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 73 SkScalar dx = SkScalarHalf(pts[1].fX) - in quad_too_curvy() 74 SkScalarHalf(SkScalarHalf(pts[0].fX + pts[2].fX)); in quad_too_curvy() 75 SkScalar dy = SkScalarHalf(pts[1].fY) - in quad_too_curvy() 76 SkScalarHalf(SkScalarHalf(pts[0].fY + pts[2].fY)); in quad_too_curvy()
|
D | SkScan_Hairline.cpp | 178 SkScalar dx = SkScalarHalf(pts[0].fX + pts[2].fX) - pts[1].fX; in compute_int_quad_dist() 179 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; in compute_int_quad_dist() 335 SkScalar rx = SkScalarHalf(dx); in FrameRect() 336 SkScalar ry = SkScalarHalf(dy); in FrameRect()
|
D | SkPath.cpp | 595 SkScalar halfW = SkScalarHalf(w); in addRoundRect() 597 SkScalar halfH = SkScalarHalf(h); in addRoundRect() 681 rx = SkMinScalar(SkScalarHalf(rect.width()), rx); in add_corner_arc() 682 ry = SkMinScalar(SkScalarHalf(rect.height()), ry); in add_corner_arc() 737 SkScalar rx = SkScalarHalf(oval.width()); in addOval() 738 SkScalar ry = SkScalarHalf(oval.height()); in addOval() 841 matrix.setScale(SkScalarHalf(oval.width()), SkScalarHalf(oval.height())); in build_arc_points()
|
D | SkStrokerPriv.cpp | 213 sinHalfAngle = SkScalarSqrt(SkScalarHalf(SK_Scalar1 + dotProd)); in MiterJoiner()
|
D | SkScan_Antihair.cpp | 774 SkScalar rx = SkScalarHalf(strokeSize.fX); in AntiFrameRect() 775 SkScalar ry = SkScalarHalf(strokeSize.fY); in AntiFrameRect()
|
D | SkDraw.cpp | 601 SkScalar radius = SkScalarHalf(width); in drawPoints() 843 return x + SkScalarHalf(y); in fast_len() 1573 stopX = SkScalarHalf(stopX); in drawText() 1574 stopY = SkScalarHalf(stopY); in drawText() 1966 pathLen = SkScalarHalf(pathLen); in drawTextOnPath()
|
/external/skia/tests/ |
D | ClipperTest.cpp | 36 static const SkScalar CX = SkScalarHalf(L + R); in test_intersectline() 37 static const SkScalar CY = SkScalarHalf(T + B); in test_intersectline()
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 157 x = SkScalarHalf(marginWidth); in draw() 185 y = SkScalarHalf(height - textHeight); in draw()
|
D | SkWidgets.cpp | 293 canvas->drawRoundRect(r, SkScalarHalf(this->height()), SkScalarHalf(this->height()), p);
|
D | SkStackViewLayout.cpp | 67 static SkScalar center_align_proc(SkScalar childLimit, SkScalar parentLimit) { return SkScalarHalf(… in center_align_proc()
|
D | SkWidget.cpp | 164 x = SkScalarHalf(this->width());
|
/external/skia/include/gpu/ |
D | GrScalar.h | 33 #define GrScalarHalf(a) SkScalarHalf(a)
|
/external/skia/include/core/ |
D | SkScalar.h | 186 #define SkScalarHalf(a) ((a) * 0.5f) macro 260 #define SkScalarHalf(a) ((a) >> 1) macro
|
D | SkRect.h | 372 SkScalar centerX() const { return SkScalarHalf(fLeft + fRight); } in centerX() 373 SkScalar centerY() const { return SkScalarHalf(fTop + fBottom); } in centerY()
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
D | PlatformGraphicsContext.cpp | 143 shadow.blur = SkScalarHalf(SkIntToScalar(radius)); in setShadow()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 97 xAdj = SkScalarHalf(xAdj); in align_text() 98 yAdj = SkScalarHalf(yAdj); in align_text() 644 SkScalar halfStroke = SkScalarHalf(strokeWidth); in drawPoints()
|