Home
last modified time | relevance | path

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

/external/skia/tests/
DPaintTest.cpp25 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in regression_cubic()
/external/skia/include/core/
DSkScalar.h167 inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function
230 #define SkMaxScalar(a, b) SkMax32(a, b) macro
/external/skia/src/animator/
DSkDrawColor.cpp37 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
DSkDisplayMath.cpp194 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); in executeFunction()
/external/skia/src/views/
DSkParsePaint.cpp91 x = SkMaxScalar(0, SkMinScalar(x, SK_Scalar1)); in SkPaint_Inflate()
DSkView.cpp54 width = SkMaxScalar(0, width); in setSize()
55 height = SkMaxScalar(0, height); in setSize()
DSkWidget.cpp315 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1));
/external/skia/src/core/
DSkPathMeasure.cpp86 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy()
92 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
DSkGeometry.cpp993 SkScalar max_y = SkMaxScalar(cubic[0].fY, cubic[3].fY); in SkXRayCrossesMonotonicCubic()
1014 SkMaxScalar( in SkXRayCrossesMonotonicCubic()
1015 SkMaxScalar( in SkXRayCrossesMonotonicCubic()
1016 SkMaxScalar(cubic[0].fX, cubic[1].fX), in SkXRayCrossesMonotonicCubic()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp360 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX())); in SkScalerContext_FreeType()
361 sy = SkMaxScalar(SkScalarAbs(m.getSkewY()), SkScalarAbs(sy)); in SkScalerContext_FreeType()