/external/skia/src/core/ |
D | SkRect.cpp | 108 SkScalar R = SkMinScalar(ar, br); \ 110 SkScalar B = SkMinScalar(ab, bb); \ 139 fLeft = SkMinScalar(fLeft, left); in join() 140 fTop = SkMinScalar(fTop, top); in join()
|
D | SkRRect.cpp | 29 SkScalar scale = SkMinScalar(rect.width() / (xRad + xRad), rect.height() / (yRad + yRad)); in setRectXY() 71 scale = SkMinScalar(scale, rect.height() / (topRad + bottomRad)); in setNinePatch()
|
D | SkTextBlob.cpp | 397 minX = SkMinScalar(x, minX); in ConservativeRunBounds()
|
D | SkPath.cpp | 25 dst->fLeft = SkMinScalar(dst->fLeft, src.fLeft); in joinNoEmptyChecks() 26 dst->fTop = SkMinScalar(dst->fTop, src.fTop); in joinNoEmptyChecks() 2599 min = SkMinScalar(min, pts[i].fX); in find_minmax()
|
D | SkRecordDraw.cpp | 487 left = SkMinScalar(left, op.xpos[i]); in bounds()
|
D | SkMatrix.cpp | 1471 results[0] = SkMinScalar(SkScalarAbs(m[SkMatrix::kMScaleX]), in get_scale_factor() 1503 results[0] = SkMinScalar(a, c); in get_scale_factor()
|
/external/skia/src/gpu/ |
D | GrAARectRenderer.cpp | 219 SkScalar inset = SkMinScalar(devRect.width(), SK_Scalar1); in generateAAFillRectGeometry() 220 inset = SK_ScalarHalf * SkMinScalar(inset, devRect.height()); in generateAAFillRectGeometry() 685 SkScalar inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry() 686 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry() 687 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry() 689 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() 691 inset = SK_ScalarHalf * SkMinScalar(inset, devOutsideAssist.fBottom - in generateAAStrokeRectGeometry() 845 SkScalar minDim = SkMinScalar(outside.width(), outside.height()); in BATCH_TEST_DEFINE()
|
D | GrAAConvexTessellator.cpp | 687 minDot = SkMinScalar(minDot, dot); in isConvex()
|
/external/skia/include/core/ |
D | SkRect.h | 574 fLeft = SkMinScalar(p0.fX, p1.fX); in set() 576 fTop = SkMinScalar(p0.fY, p1.fY); in set() 701 SkScalar R = SkMinScalar(ar, br); in Intersects() 703 SkScalar B = SkMinScalar(ab, bb); in Intersects() 759 fLeft = SkMinScalar(fLeft, r.left()); in joinPossiblyEmptyRect() 760 fTop = SkMinScalar(fTop, r.top()); in joinPossiblyEmptyRect() 775 fLeft = SkMinScalar(x, fLeft); in growToInclude() 777 fTop = SkMinScalar(y, fTop); in growToInclude()
|
D | SkScalar.h | 200 static inline SkScalar SkMinScalar(SkScalar a, SkScalar b) { return a < b ? a : b; } in SkMinScalar() function
|
/external/skia/src/effects/ |
D | SkMagnifierImageFilter.cpp | 364 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1); in onFilterImage() 366 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImage() 368 weight = SkMinScalar(sqDist, SK_Scalar1); in onFilterImage()
|
D | SkBlurImageFilter.cpp | 29 sigma.fX = SkMinScalar(SkScalarAbs(sigma.fX), MAX_SIGMA); in mapSigma() 30 sigma.fY = SkMinScalar(SkScalarAbs(sigma.fY), MAX_SIGMA); in mapSigma()
|
D | SkDashPathEffect.cpp | 226 SkScalar clampedInitialDashLength = SkMinScalar(length, fInitialDashLength); in asPoints()
|
D | SkBlurMaskFilter.cpp | 114 return SkMinScalar(xformedSigma, kMAX_BLUR_SIGMA); in computeXformedSigma()
|
/external/skia/samplecode/ |
D | SampleStringArt.cpp | 40 while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) in onDrawContent()
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV()
|
D | SkDisplayMath.cpp | 182 scalarResult = SkMinScalar(scalarResult, array->fOperand.fScalar); in executeFunction()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 98 x = SkMaxScalar(0, SkMinScalar(x, SK_Scalar1)); in SkPaint_Inflate()
|
/external/skia/gm/ |
D | imagefilterstransformed.cpp | 40 SkScalar radius = SkMinScalar(x, y) * 0.8f; in makeGradientCircle()
|
D | imagefiltersclipped.cpp | 46 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
|
D | imagefiltersscaled.cpp | 46 SkScalar radius = SkScalarMul(SkMinScalar(x, y), SkIntToScalar(4) / SkIntToScalar(5)); in make_gradient_circle()
|
D | imagefilterscropexpand.cpp | 63 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
|
/external/skia/src/pdf/ |
D | SkPDFUtils.cpp | 107 SkScalar bottom = SkMinScalar(rect.fBottom, rect.fTop); in AppendRectangle()
|
/external/skia/bench/ |
D | PathBench.cpp | 653 SkScalar rx = SkMinScalar(rect.width(), xIn); in add_corner_arc() 654 SkScalar ry = SkMinScalar(rect.height(), yIn); in add_corner_arc()
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 385 startPts[1].fX = SkMinScalar(startPts[0].fX + args.fIntervals[0] - args.fPhase, in generateGeometry()
|