Searched refs:SkMaxScalar (Results 1 – 18 of 18) sorted by relevance
/external/skia/src/core/ |
D | SkRect.cpp | 139 fLeft = SkMaxScalar(a.fLeft, b.fLeft); in intersect() 140 fTop = SkMaxScalar(a.fTop, b.fTop); in intersect()
|
D | SkEdgeClipper.cpp | 281 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()
|
D | SkPathMeasure.cpp | 78 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()
|
D | SkGeometry.cpp | 1083 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()
|
D | SkPath.cpp | 25 dst->fRight = SkMaxScalar(dst->fRight, src.fRight); in joinNoEmptyChecks() 26 dst->fBottom = SkMaxScalar(dst->fBottom, src.fBottom); in joinNoEmptyChecks()
|
D | SkMatrix.cpp | 1684 return SkMaxScalar(SkScalarAbs(fMat[kMScaleX]), in getMaxStretch() 1705 largerRoot = SkMaxScalar(a, c); in getMaxStretch()
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
|
D | SkDisplayMath.cpp | 186 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); in executeFunction()
|
/external/skia/include/core/ |
D | SkScalar.h | 204 inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function 278 #define SkMaxScalar(a, b) SkMax32(a, b) macro
|
D | SkRect.h | 556 fRight = SkMaxScalar(x, fRight); in growToInclude() 558 fBottom = SkMaxScalar(y, fBottom); in growToInclude()
|
/external/skia/tests/ |
D | PaintTest.cpp | 90 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in regression_cubic()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 98 x = SkMaxScalar(0, SkMinScalar(x, SK_Scalar1)); in SkPaint_Inflate()
|
D | SkView.cpp | 65 width = SkMaxScalar(0, width); in setSize() 66 height = SkMaxScalar(0, height); in setSize()
|
D | SkWidget.cpp | 322 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1));
|
/external/skia/gm/ |
D | drawbitmaprect.cpp | 30 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 30 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 761 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX())); in SkScalerContext_FreeType() 762 sy = SkMaxScalar(SkScalarAbs(m.getSkewY()), SkScalarAbs(sy)); in SkScalerContext_FreeType()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 1253 fZoomLevel = SkMaxScalar(fZoomLevel, MIN_ZOOM_LEVEL); in changeZoomLevel()
|