HomeSort by relevance Sort by last modified time
    Searched refs:SkScalarHalf (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/skia/gm/
stringart.cpp 35 SkScalar angle = kAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI);
37 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
44 while (length < (SkScalarHalf(size) - 10.f))
49 length += SkScalarDiv(angle, SkScalarHalf(SK_ScalarPI));
conicpaths.cpp 31 SkScalarHalf(SkScalarSqrt(2)));
34 SkScalarHalf(SkScalarSqrt(2)));
37 SkScalarHalf(SkScalarSqrt(2)));
40 SkScalarHalf(SkScalarSqrt(2)));
filterbitmap.cpp 48 SkScalar cx = SkScalarHalf(fBM.width());
49 SkScalar cy = SkScalarHalf(fBM.height());
  /external/chromium_org/third_party/skia/src/animator/
SkParseSVGPath.cpp 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY));
42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY));
47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY));
48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY));
  /external/skia/src/animator/
SkParseSVGPath.cpp 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY));
42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY));
47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY));
48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY));
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 92 SkScalar radius = SkScalarHalf(rec.getWidth());
186 fNormal.scale(SkScalarHalf(rec->getWidth()));
399 results->fSize.set(SkScalarHalf(fIntervals[0]), SkScalarHalf(rec.getWidth()));
401 results->fSize.set(SkScalarHalf(rec.getWidth()), SkScalarHalf(fIntervals[0]));
460 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, SkScalarHalf(clampedInitialDashLength));
461 SkScalar y = pts[0].fY + SkScalarMul(tangent.fY, SkScalarHalf(clampedInitialDashLength));
464 halfWidth = SkScalarHalf(clampedInitialDashLength);
465 halfHeight = SkScalarHalf(rec.getWidth())
    [all...]
  /external/skia/src/effects/
SkDashPathEffect.cpp 92 SkScalar radius = SkScalarHalf(rec.getWidth());
186 fNormal.scale(SkScalarHalf(rec->getWidth()));
399 results->fSize.set(SkScalarHalf(fIntervals[0]), SkScalarHalf(rec.getWidth()));
401 results->fSize.set(SkScalarHalf(rec.getWidth()), SkScalarHalf(fIntervals[0]));
460 SkScalar x = pts[0].fX + SkScalarMul(tangent.fX, SkScalarHalf(clampedInitialDashLength));
461 SkScalar y = pts[0].fY + SkScalarMul(tangent.fY, SkScalarHalf(clampedInitialDashLength));
464 halfWidth = SkScalarHalf(clampedInitialDashLength);
465 halfHeight = SkScalarHalf(rec.getWidth())
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkRRect.cpp 38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) {
225 if (fRadii[0].fX >= SkScalarHalf(fRect.width()) &&
226 fRadii[0].fY >= SkScalarHalf(fRect.height())) {
405 SkASSERT(SkScalarNearlyEqual(fRadii[i].fX, SkScalarHalf(fRect.width())));
406 SkASSERT(SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height())));
SkPathMeasure.cpp 62 SkScalar dx = SkScalarHalf(pts[1].fX) -
63 SkScalarHalf(SkScalarHalf(pts[0].fX + pts[2].fX));
64 SkScalar dy = SkScalarHalf(pts[1].fY) -
65 SkScalarHalf(SkScalarHalf(pts[0].fY + pts[2].fY));
SkScan_Hairline.cpp 199 SkScalar dx = SkScalarHalf(pts[0].fX + pts[2].fX) - pts[1].fX;
200 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY;
350 SkScalar rx = SkScalarHalf(dx);
351 SkScalar ry = SkScalarHalf(dy);
  /external/skia/src/core/
SkRRect.cpp 38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) {
225 if (fRadii[0].fX >= SkScalarHalf(fRect.width()) &&
226 fRadii[0].fY >= SkScalarHalf(fRect.height())) {
405 SkASSERT(SkScalarNearlyEqual(fRadii[i].fX, SkScalarHalf(fRect.width())));
406 SkASSERT(SkScalarNearlyEqual(fRadii[i].fY, SkScalarHalf(fRect.height())));
SkPathMeasure.cpp 62 SkScalar dx = SkScalarHalf(pts[1].fX) -
63 SkScalarHalf(SkScalarHalf(pts[0].fX + pts[2].fX));
64 SkScalar dy = SkScalarHalf(pts[1].fY) -
65 SkScalarHalf(SkScalarHalf(pts[0].fY + pts[2].fY));
SkScan_Hairline.cpp 199 SkScalar dx = SkScalarHalf(pts[0].fX + pts[2].fX) - pts[1].fX;
200 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY;
350 SkScalar rx = SkScalarHalf(dx);
351 SkScalar ry = SkScalarHalf(dy);
  /external/chromium_org/third_party/skia/include/core/
SkRRect.h 147 SkScalar xRad = SkScalarHalf(oval.width());
148 SkScalar yRad = SkScalarHalf(oval.height());
SkScalar.h 162 #define SkScalarHalf(a) ((a) * 0.5f)
238 #define SkScalarHalf(a) ((a) >> 1)
  /external/skia/include/core/
SkRRect.h 147 SkScalar xRad = SkScalarHalf(oval.width());
148 SkScalar yRad = SkScalarHalf(oval.height());
SkScalar.h 162 #define SkScalarHalf(a) ((a) * 0.5f)
238 #define SkScalarHalf(a) ((a) >> 1)
  /external/chromium_org/third_party/skia/src/views/
SkTextBox.cpp 187 x = SkScalarHalf(marginWidth);
215 y = SkScalarHalf(height - textHeight);
SkWidgets.cpp 293 canvas->drawRoundRect(r, SkScalarHalf(this->height()), SkScalarHalf(this->height()), p);
  /external/skia/bench/
ChartBench.cpp 23 (*dataPts)[i] = gRandom.nextRangeScalar(yAvg - SkScalarHalf(ySpread),
24 yAvg + SkScalarHalf(ySpread));
  /external/skia/src/views/
SkTextBox.cpp 187 x = SkScalarHalf(marginWidth);
215 y = SkScalarHalf(height - textHeight);
  /external/skia/tests/
ClipperTest.cpp 75 static const SkScalar CX = SkScalarHalf(L + R);
76 static const SkScalar CY = SkScalarHalf(T + B);
RoundRectTest.cpp 66 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) };
168 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight));
  /external/chromium_org/third_party/skia/src/gpu/
GrOvalRenderer.cpp 506 SkScalar radius = vm.mapRadius(SkScalarHalf(circle.width()));
535 halfWidth = SkScalarHalf(strokeWidth);
619 SkScalar ellipseXRadius = SkScalarHalf(ellipse.width());
620 SkScalar ellipseYRadius = SkScalarHalf(ellipse.height());
742 SkScalar xRadius = SkScalarHalf(ellipse.width());
743 SkScalar yRadius = SkScalarHalf(ellipse.height());
    [all...]
  /external/skia/src/gpu/
GrOvalRenderer.cpp 506 SkScalar radius = vm.mapRadius(SkScalarHalf(circle.width()));
535 halfWidth = SkScalarHalf(strokeWidth);
619 SkScalar ellipseXRadius = SkScalarHalf(ellipse.width());
620 SkScalar ellipseYRadius = SkScalarHalf(ellipse.height());
742 SkScalar xRadius = SkScalarHalf(ellipse.width());
743 SkScalar yRadius = SkScalarHalf(ellipse.height());
    [all...]

Completed in 1668 milliseconds

1 2 3