/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 156 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY); in approximatelyDEqual() 157 largest = SkTMax(largest, -tiniest); in approximatelyDEqual() 176 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY); in approximatelyEqual() 177 largest = SkTMax(largest, -tiniest); in approximatelyEqual() 199 float largest = SkTMax(SkTMax(SkTMax(a.fX, b.fX), a.fY), b.fY); in ApproximatelyEqual() 200 largest = SkTMax(largest, -tiniest); in ApproximatelyEqual() 237 double largest = SkTMax(SkTMax(SkTMax(fX, a.fX), fY), a.fY); in roughlyEqual() 238 largest = SkTMax(largest, -tiniest); in roughlyEqual() 251 float largest = SkTMax(SkTMax(SkTMax(a.fX, b.fX), a.fY), b.fY); in RoughlyEqual() 252 largest = SkTMax(largest, -tiniest); in RoughlyEqual() [all …]
|
D | SkPathOpsLine.cpp | 52 double largest = SkTMax(SkTMax(SkTMax(fPts[0].fX, fPts[0].fY), fPts[1].fX), fPts[1].fY); in nearPoint() 53 largest = SkTMax(largest, -tiniest); in nearPoint() 76 double largest = SkTMax(SkTMax(SkTMax(fPts[0].fX, fPts[0].fY), fPts[1].fX), fPts[1].fY); in nearRay() 77 largest = SkTMax(largest, -tiniest); in nearRay() 108 double largest = SkTMax(SkTMax(y, left), right); in NearPointH() 109 largest = SkTMax(largest, -tiniest); in NearPointH() 143 double largest = SkTMax(SkTMax(x, top), bottom); in NearPointV() 144 largest = SkTMax(largest, -tiniest); in NearPointV()
|
D | SkPathOpsCurve.cpp | 19 maxX = SkTMax(maxX, fCubic.fPts[index].fX); in nearPoint() 28 maxY = SkTMax(maxY, fCubic.fPts[index].fY); in nearPoint() 48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY)); in nearPoint() 105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), in setCurveHullSweep()
|
D | SkPathOpsQuad.cpp | 183 double largest = SkTMax(SkTMax(SkTMax(SkTMax(SkTMax(fPts[0].fX, fPts[0].fY), in isLinear() 185 largest = SkTMax(largest, -tiniest); in isLinear()
|
D | SkPathOpsRect.h | 18 fRight = SkTMax(fRight, pt.fX); in add() 19 fBottom = SkTMax(fBottom, pt.fY); in add()
|
D | SkPathOpsTightBounds.cpp | 22 moveBounds.fRight = SkTMax(moveBounds.fRight, pts[0].fX); in TightBounds() 23 moveBounds.fBottom = SkTMax(moveBounds.fBottom, pts[0].fY); in TightBounds()
|
D | SkOpAngle.cpp | 253 int end = SkTMax(fSectorStart, fSectorEnd); in checkCrossesZero() 420 longest = SkTMax(longest, lenSq); in distEndRatio() 459 smallTs[index] = t = testAscends ? SkTMax(t, testT) : SkTMin(t, testT); in endsIntersect() 508 maxX = SkTMax(maxX, curve[idx2].fX); in endsIntersect() 509 maxY = SkTMax(maxY, curve[idx2].fY); in endsIntersect() 511 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endsIntersect() 568 maxX = SkTMax(maxX, curve[idx2].fX); in endToSide() 569 maxY = SkTMax(maxY, curve[idx2].fY); in endToSide() 571 double maxWidth = SkTMax(maxX - minX, maxY - minY); in endToSide() 1000 int end = SkTMax(fSectorStart, fSectorEnd); in setSector()
|
/external/skia/tests/ |
D | PathOpsLineIntersectionTest.cpp | 122 double right = SkTMax(line1[0].fX, line1[1].fX); in testOne() 129 double right = SkTMax(line2[0].fX, line2[1].fX); in testOne() 136 double bottom = SkTMax(line1[0].fY, line1[1].fY); in testOne() 143 double bottom = SkTMax(line2[0].fY, line2[1].fY); in testOne() 165 double right = SkTMax(line1[0].fX, line1[1].fX); in testOneCoincident() 174 double right = SkTMax(line2[0].fX, line2[1].fX); in testOneCoincident() 183 double bottom = SkTMax(line1[0].fY, line1[1].fY); in testOneCoincident() 192 double bottom = SkTMax(line2[0].fY, line2[1].fY); in testOneCoincident()
|
D | PathOpsCubicLineIntersectionIdeas.cpp | 83 t = SkTMax(0., t); in binary_search() 181 largestR2 = SkTMax(largestR2, R2MinusQ3); in DEF_TEST() 184 double largest = SkTMax(fabs(allRoots[0]), fabs(allRoots[1])); in DEF_TEST() 186 largest = SkTMax(largest, fabs(allRoots[2])); in DEF_TEST() 229 worstStep[largeBits] = SkTMax(worstStep[largeBits], diff); in DEF_TEST()
|
D | PathOpsAngleIdeas.cpp | 125 double longest = SkTMax(v[0].length(), SkTMax(v[1].length(), v[2].length())); in distEndRatio() 271 max = SkTMax(max, corner[index].length()); in maxDist() 279 max = SkTMax(max, fabs(quad[index].fX)); in maxQuad() 280 max = SkTMax(max, fabs(quad[index].fY)); in maxQuad() 288 double maxQuads = SkTMax(maxQuad(quad1), maxQuad(quad2)); in bruteMinT() 492 maxX = SkTMax(SkTMax(SkTMax(maxX, origin.fX), q[1].fX), q[2].fX); in testQuadAngles() 493 maxY = SkTMax(SkTMax(SkTMax(maxY, origin.fY), q[1].fY), q[2].fY); in testQuadAngles() 494 maxWidth = SkTMax(maxWidth, SkTMax(maxX - minX, maxY - minY)); in testQuadAngles()
|
D | StrokerTest.cpp | 209 bestTan = SkTMax(bestTan, gMaxRecursion[0]); in DEF_TEST() 210 bestCubic = SkTMax(bestCubic, gMaxRecursion[1]); in DEF_TEST() 319 bestTan = SkTMax(bestTan, gMaxRecursion[0]); in DEF_TEST() 320 bestCubic = SkTMax(bestCubic, gMaxRecursion[1]); in DEF_TEST() 404 best[0] = SkTMax(best[0], gMaxRecursion[0]); in DEF_TEST() 405 best[1] = SkTMax(best[1], gMaxRecursion[1]); in DEF_TEST()
|
D | SRGBReadWritePixelsTest.cpp | 47 float lower = SkTMax(0.f, (float) inputComponent - error); in check_conversion() 72 float lower = SkTMax(0.f, (float) inputComponent - error); in check_double_conversion() 80 lower = SkTMax(0.f, (float) lowerComponent - error); in check_double_conversion()
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 361 SkScalar scaleOffset = (scale - 1.0f) * SkTMax(SkTMax(SkTAbs(pathRect.fLeft), in drawSpotShadowAlt() 363 SkTMax(SkTAbs(pathRect.fTop), in drawSpotShadowAlt() 380 SkScalar insetRad = SkTMax(shadowRRect.getSimpleRadii().fX - insetAmount/2.0f, in drawSpotShadowAlt() 481 SkScalar zValue = SkTMax(1.0f, 2 + fZDelta); in onDrawContent() 490 zValue = SkTMax(1.0f, 4 + fZDelta); in onDrawContent() 499 zValue = SkTMax(1.0f, 8 + fZDelta); in onDrawContent() 507 zValue = SkTMax(1.0f, 64 + fZDelta); in onDrawContent() 516 zValue = SkTMax(1.0f, 8 + fZDelta); in onDrawContent() 524 zValue = SkTMax(1.0f, 16 + fZDelta); in onDrawContent() 539 zValue = SkTMax(1.0f, 32 + fZDelta); in onDrawContent() [all …]
|
/external/skia/src/utils/ |
D | SkMultiPictureDocumentPriv.h | 24 joined = SkSize::Make(SkTMax(joined.width(), s.width()), in Join() 25 SkTMax(joined.height(), s.height())); in Join()
|
/external/skia/src/opts/ |
D | SkMorphologyImageFilter_opts.h | 107 B = SkTMax(b, B); in morph() 108 G = SkTMax(g, G); in morph() 109 R = SkTMax(r, R); in morph() 110 A = SkTMax(a, A); in morph()
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 24 minAllocSize = SkTMax<size_t>(GrSizeAlignUp(minAllocSize, kAlignment), kSmallestMinAllocSize); in GrMemoryPool() 25 preallocSize = SkTMax<size_t>(GrSizeAlignUp(preallocSize, kAlignment), minAllocSize); in GrMemoryPool() 51 blockSize = SkTMax<size_t>(blockSize, fMinAllocSize); in allocate() 123 blockSize = SkTMax<size_t>(blockSize, kHeaderSize); in CreateBlock()
|
D | GrResourceCache.cpp | 110 fHighWaterCount = SkTMax(this->getResourceCount(), fHighWaterCount); in insertResource() 111 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource() 119 fBudgetedHighWaterCount = SkTMax(fBudgetedCount, fBudgetedHighWaterCount); in insertResource() 120 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in insertResource() 407 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in didChangeGpuMemorySize() 414 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in didChangeGpuMemorySize() 432 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in didChangeBudgetStatus() 433 fBudgetedHighWaterCount = SkTMax(fBudgetedCount, fBudgetedHighWaterCount); in didChangeBudgetStatus()
|
D | GrPipelineAnalysis.h | 121 return SkTMax(0, fProcessorsVisitedWithKnownOutput); in initialProcessorsToEliminate() 128 return SkTMax(0, fProcessorsVisitedWithKnownOutput); in initialProcessorsToEliminate()
|
/external/skia/src/android/ |
D | SkBitmapRegionDecoderPriv.h | 38 int left = SkTMax(0, subset->fLeft); in adjust_subset_rect() 39 int top = SkTMax(0, subset->fTop); in adjust_subset_rect()
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 529 newL = SkTMax(newL, r.fLeft + radii.fX - p.fX); in compute_central_occluder() 530 newT = SkTMax(newT, r.fTop + radii.fY - p.fY); in compute_central_occluder() 538 newT = SkTMax(newT, r.fTop + radii.fY - p.fY); in compute_central_occluder() 553 newL = SkTMax(newL, r.fLeft + radii.fX - p.fX); in compute_central_occluder() 569 SkScalar maxT = SkTMax(ul.fY, ur.fY); in compute_widest_occluder() 570 SkScalar maxB = SkTMax(ll.fY, lr.fY); in compute_widest_occluder() 585 SkScalar maxL = SkTMax(ul.fX, ll.fX); in compute_tallest_occluder() 586 SkScalar maxR = SkTMax(ur.fX, lr.fX); in compute_tallest_occluder()
|
/external/skia/gm/ |
D | drawatlas.cpp | 135 const SkScalar max = SkTMax(SkTMax(SkScalarAbs(font.fLeft), SkScalarAbs(font.fRight)), 136 SkTMax(SkScalarAbs(font.fTop), SkScalarAbs(font.fBottom)));
|
D | bleed.cpp | 336 SkScalar x = SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw() 337 SkTMax(corners[2].fX, corners[3].fX)); in onDraw() 395 SkScalar x = kBlockSize + SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw() 396 SkTMax(corners[2].fX, corners[3].fX)); in onDraw() 397 maxX = SkTMax(maxX, x); in onDraw()
|
D | aaxfermodes.cpp | 206 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() 208 SkTMax(SkColorGetG(kBGColor) + SkColorGetG(color), in setupShapePaint()
|
/external/skia/src/core/ |
D | SkGlyphCache.cpp | 223 SkScalar max = SkTMax(SkTMax(pts[0], pts[2]), pts[4]); in quad_in_bounds() 232 SkScalar max = SkTMax(SkTMax(SkTMax(pts[0], pts[2]), pts[4]), pts[6]); in cubic_in_bounds() 249 intercept->fInterval[1] = SkTMax(intercept->fInterval[1], val); in AddInterval() 638 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge() 641 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()
|
/external/skia/src/effects/shadows/ |
D | SkSpotShadowMaskFilter.cpp | 269 SkScalar scaleOffset = (scale - 1.0f) * SkTMax(SkTMax(SkTAbs(rrect.rect().fLeft), in directFilterRRectMaskGPU() 271 SkTMax(SkTAbs(rrect.rect().fTop), in directFilterRRectMaskGPU() 297 SkScalar insetRad = SkTMax(spotShadowRRect.getSimpleRadii().fX - insetAmount / 2.0f, in directFilterRRectMaskGPU()
|