Home
last modified time | relevance | path

Searched refs:SkMaxScalar (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/core/
DSkRect.cpp139 fLeft = SkMaxScalar(a.fLeft, b.fLeft); in intersect()
140 fTop = SkMaxScalar(a.fTop, b.fTop); in intersect()
DSkEdgeClipper.cpp281 tmp[4].fY = SkMaxScalar(tmp[4].fY, clip.fTop); in chop_cubic_in_Y()
282 tmp[5].fY = SkMaxScalar(tmp[5].fY, tmp[4].fY); in chop_cubic_in_Y()
360 tmp[4].fX = SkMaxScalar(tmp[4].fX, clip.fLeft); in clipMonoCubic()
361 tmp[5].fX = SkMaxScalar(tmp[5].fX, tmp[4].fX); in clipMonoCubic()
DSkPathMeasure.cpp78 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy()
84 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
DSkGeometry.cpp1083 SkScalar max_y = SkMaxScalar(cubic[0].fY, cubic[3].fY); in SkXRayCrossesMonotonicCubic()
1112 SkMaxScalar( in SkXRayCrossesMonotonicCubic()
1113 SkMaxScalar( in SkXRayCrossesMonotonicCubic()
1114 SkMaxScalar(cubic[0].fX, cubic[1].fX), in SkXRayCrossesMonotonicCubic()
DSkPath.cpp25 dst->fRight = SkMaxScalar(dst->fRight, src.fRight); in joinNoEmptyChecks()
26 dst->fBottom = SkMaxScalar(dst->fBottom, src.fBottom); in joinNoEmptyChecks()
DSkMatrix.cpp1684 return SkMaxScalar(SkScalarAbs(fMat[kMScaleX]), in getMaxStretch()
1705 largerRoot = SkMaxScalar(a, c); in getMaxStretch()
/external/skia/src/animator/
DSkDrawColor.cpp29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
DSkDisplayMath.cpp186 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); in executeFunction()
/external/skia/include/core/
DSkScalar.h204 inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function
278 #define SkMaxScalar(a, b) SkMax32(a, b) macro
DSkRect.h556 fRight = SkMaxScalar(x, fRight); in growToInclude()
558 fBottom = SkMaxScalar(y, fBottom); in growToInclude()
/external/skia/tests/
DPaintTest.cpp90 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in regression_cubic()
/external/skia/src/views/
DSkParsePaint.cpp98 x = SkMaxScalar(0, SkMinScalar(x, SK_Scalar1)); in SkPaint_Inflate()
DSkView.cpp65 width = SkMaxScalar(0, width); in setSize()
66 height = SkMaxScalar(0, height); in setSize()
DSkWidget.cpp322 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1));
/external/skia/gm/
Ddrawbitmaprect.cpp30 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
/external/skia/src/gpu/
DGrPathUtils.cpp30 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp761 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX())); in SkScalerContext_FreeType()
762 sy = SkMaxScalar(SkScalarAbs(m.getSkewY()), SkScalarAbs(sy)); in SkScalerContext_FreeType()
/external/skia/samplecode/
DSampleApp.cpp1253 fZoomLevel = SkMaxScalar(fZoomLevel, MIN_ZOOM_LEVEL); in changeZoomLevel()