/external/skia/src/core/ |
D | SkRect.cpp | 108 SkScalar L = SkMaxScalar(al, bl); \ 110 SkScalar T = SkMaxScalar(at, bt); \ 142 fRight = SkMaxScalar(fRight, right); in join() 143 fBottom = SkMaxScalar(fBottom, bottom); in join()
|
D | SkRRect.cpp | 68 leftRad = SkMaxScalar(leftRad, 0); in setNinePatch() 69 topRad = SkMaxScalar(topRad, 0); in setNinePatch() 70 rightRad = SkMaxScalar(rightRad, 0); in setNinePatch() 71 bottomRad = SkMaxScalar(bottomRad, 0); in setNinePatch()
|
D | SkPathMeasure.cpp | 149 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy() 158 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy() 164 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
|
D | SkRecordDraw.cpp | 445 SkScalar stroke = SkMaxScalar(op.paint.getStrokeWidth(), 0.01f); in bounds() 501 right = SkMaxScalar(right, op.xpos[i]); in bounds()
|
D | SkPictureShader.cpp | 198 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader()
|
D | SkShadowShader.cpp | 787 int variance = SkMaxScalar(shDepthsq - shDepth * shDepth, in shadeSpan() 795 lightProb = SkMaxScalar((lightProb - bias) / (1.0f - bias), 0.0f); in shadeSpan()
|
/external/skia/include/core/ |
D | SkRect.h | 575 fRight = SkMaxScalar(p0.fX, p1.fX); in set() 577 fBottom = SkMaxScalar(p0.fY, p1.fY); in set() 699 SkScalar L = SkMaxScalar(al, bl); in Intersects() 701 SkScalar T = SkMaxScalar(at, bt); in Intersects() 760 fRight = SkMaxScalar(fRight, r.right()); in joinPossiblyEmptyRect() 761 fBottom = SkMaxScalar(fBottom, r.bottom()); in joinPossiblyEmptyRect() 775 fRight = SkMaxScalar(x, fRight); in growToInclude() 777 fBottom = SkMaxScalar(y, fBottom); in growToInclude()
|
D | SkScalar.h | 145 static inline SkScalar SkMaxScalar(SkScalar a, SkScalar b) { return a > b ? a : b; } in SkMaxScalar() function
|
/external/skia/src/effects/ |
D | SkDropShadowImageFilter.cpp | 92 sigma.fX = SkMaxScalar(0, sigma.fX); in onFilterImage() 93 sigma.fY = SkMaxScalar(0, sigma.fY); in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 58 return SkMinScalar(SkMaxScalar(x, 0), 1); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
|
D | SkMagnifierImageFilter.cpp | 425 dist = SkMaxScalar(kScalar2 - dist, 0); in onFilterImage()
|
/external/skia/tests/ |
D | PaintBreakTextTest.cpp | 21 const SkScalar step = SkMaxScalar(width / 10, SK_Scalar1); in test_monotonic()
|
D | PaintTest.cpp | 193 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); in DEF_TEST()
|
/external/skia/gm/ |
D | drawminibitmaprect.cpp | 30 const SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
|
D | hairlines.cpp | 204 maxH = SkMaxScalar(maxH, bounds.height()); in onDraw()
|
D | shadertext2.cpp | 121 maxLabelW = SkMaxScalar(maxLabelW, labelW);
|
D | drawbitmaprect.cpp | 54 SkScalar radius = 4 * SkMaxScalar(wScalar, hScalar); in makebm()
|
D | convexpolyclip.cpp | 26 SkScalar radius = 3 * SkMaxScalar(wScalar, hScalar); in make_bmp()
|
/external/skia/tools/viewer/sk_app/ |
D | CommandSet.cpp | 124 keyWidth = SkMaxScalar(keyWidth, in drawHelp()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 138 int lodX = static_cast<int>(SkMaxScalar(topLength, bottomLength) / kPartitionSize); in GetLevelOfDetail() 139 int lodY = static_cast<int>(SkMaxScalar(leftLength, rightLength) / kPartitionSize); in GetLevelOfDetail()
|
/external/skia/src/views/ |
D | SkView.cpp | 63 width = SkMaxScalar(0, width); in setSize() 64 height = SkMaxScalar(0, height); in setSize()
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 158 SkScalar umbraAlpha = 1 / (1 + SkMaxScalar(zValue*kHeightFactor, 0)); in drawAmbientShadow() 196 SkScalar umbraAlpha = 1 / (1 + SkMaxScalar(zValue*kHeightFactor, 0)); in drawAmbientShadowAlt()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 124 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onCanDrawPath() 290 SkScalar maxDim = SkMaxScalar(bounds.width(), bounds.height()); in onPrepareDraws()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 30 stretch = SkMaxScalar(stretch, mat.mapRadius(SK_Scalar1)); in scaleToleranceToSrc() 344 scale = SkMaxScalar(scale, SkScalarAbs(klm[i])); in getConicKLM()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob.h | 142 fMaxMinScale = SkMaxScalar(scaledMax, fMaxMinScale); in setMinAndMaxScale()
|