Searched refs:SkMaxScalar (Results 1 – 10 of 10) sorted by relevance
/external/skia/tests/ |
D | PaintTest.cpp | 25 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in regression_cubic()
|
/external/skia/include/core/ |
D | SkScalar.h | 167 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/ |
D | SkDrawColor.cpp | 37 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
|
D | SkDisplayMath.cpp | 194 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); in executeFunction()
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 91 x = SkMaxScalar(0, SkMinScalar(x, SK_Scalar1)); in SkPaint_Inflate()
|
D | SkView.cpp | 54 width = SkMaxScalar(0, width); in setSize() 55 height = SkMaxScalar(0, height); in setSize()
|
D | SkWidget.cpp | 315 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1));
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 86 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()
|
D | SkGeometry.cpp | 993 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/ |
D | SkFontHost_FreeType.cpp | 360 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX())); in SkScalerContext_FreeType() 361 sy = SkMaxScalar(SkScalarAbs(m.getSkewY()), SkScalarAbs(sy)); in SkScalerContext_FreeType()
|