/external/skqp/src/core/ |
D | SkRect.cpp | 89 SkScalar L = SkMaxScalar(al, bl); \ 91 SkScalar T = SkMaxScalar(at, bt); \ 124 fRight = SkMaxScalar(fRight, right); in join() 125 fBottom = SkMaxScalar(fBottom, bottom); in join()
|
D | SkRectPriv.h | 45 r->fRight = SkMaxScalar(pt.fX, r->fRight); in GrowToInclude() 47 r->fBottom = SkMaxScalar(pt.fY, r->fBottom); in GrowToInclude()
|
D | SkRRect.cpp | 67 leftRad = SkMaxScalar(leftRad, 0); in setNinePatch() 68 topRad = SkMaxScalar(topRad, 0); in setNinePatch() 69 rightRad = SkMaxScalar(rightRad, 0); in setNinePatch() 70 bottomRad = SkMaxScalar(bottomRad, 0); in setNinePatch()
|
D | SkPathMeasure.cpp | 150 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy() 159 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy() 165 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
|
D | SkRecordDraw.cpp | 406 SkScalar stroke = SkMaxScalar(op.paint.getStrokeWidth(), 0.01f); in bounds()
|
D | SkMatrix.cpp | 1441 results[0] = SkMaxScalar(SkScalarAbs(m[SkMatrix::kMScaleX]), in get_scale_factor() 1473 results[0] = SkMaxScalar(a, c); in get_scale_factor()
|
D | SkTextBlob.cpp | 326 maxX = SkMaxScalar(x, maxX); in ConservativeRunBounds()
|
/external/skqp/include/core/ |
D | SkRect.h | 1084 fRight = SkMaxScalar(p0.fX, p1.fX); in set() 1086 fBottom = SkMaxScalar(p0.fY, p1.fY); in set() 1276 SkScalar L = SkMaxScalar(al, bl); in Intersects() 1278 SkScalar T = SkMaxScalar(at, bt); in Intersects() 1378 fRight = SkMaxScalar(fRight, r.right()); in joinPossiblyEmptyRect() 1379 fBottom = SkMaxScalar(fBottom, r.bottom()); in joinPossiblyEmptyRect() 1523 SkMaxScalar(fLeft, fRight), SkMaxScalar(fTop, fBottom)); in makeSorted()
|
D | SkScalar.h | 132 static inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function
|
/external/skqp/samplecode/ |
D | Sample.cpp | 90 width = SkMaxScalar(0, width); in setSize() 91 height = SkMaxScalar(0, height); in setSize()
|
D | SampleThinAA.cpp | 412 case '-': fStrokeWidth = SkMaxScalar(0.1f, fStrokeWidth - 0.05f); return true; in onQuery()
|
/external/skqp/src/effects/imagefilters/ |
D | SkDropShadowImageFilter.cpp | 94 sigma.fX = SkMaxScalar(0, sigma.fX); in onFilterImage() 95 sigma.fY = SkMaxScalar(0, sigma.fY); in onFilterImage()
|
D | SkMagnifierImageFilter.cpp | 167 dist = SkMaxScalar(kScalar2 - dist, 0); in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 64 return SkMinScalar(SkMaxScalar(x, 0), 1); in pin_0_1()
|
/external/skqp/gm/ |
D | drawminibitmaprect.cpp | 27 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
|
D | hairlines.cpp | 204 maxH = SkMaxScalar(maxH, bounds.height()); in onDraw()
|
D | drawbitmaprect.cpp | 48 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
|
D | convexpolyclip.cpp | 27 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp()
|
/external/skqp/tools/sk_app/ |
D | CommandSet.cpp | 129 keyWidth = SkMaxScalar(keyWidth, in drawHelp()
|
/external/skqp/src/utils/ |
D | SkPatchUtils.cpp | 185 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail() 186 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 199 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader()
|
/external/skqp/tests/ |
D | PaintTest.cpp | 183 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 31 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc() 345 scale = SkMaxScalar(scale, SkScalarAbs(klm[i])); in getConicKLM()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 207 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() 407 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws()
|
/external/skqp/src/gpu/text/ |
D | GrTextBlob.h | 152 fMaxMinScale = SkMaxScalar(scaledMax, fMaxMinScale); in setMinAndMaxScale()
|