/external/skqp/src/pathops/ |
D | SkPathOpsPoint.h | 157 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in approximatelyDEqual() 177 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in approximatelyEqual() 200 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY); in ApproximatelyEqual() 238 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in roughlyEqual() 252 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY); in RoughlyEqual()
|
D | SkPathOpsLine.cpp | 51 double tiniest = SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), fPts[1].fX), fPts[1].fY); in nearPoint() 75 double tiniest = SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), fPts[1].fX), fPts[1].fY); in nearRay() 107 double tiniest = SkTMin(SkTMin(y, left), right); in NearPointH() 142 double tiniest = SkTMin(SkTMin(x, top), bottom); in NearPointV()
|
D | SkOpCubicHull.cpp | 105 double smallest1distSq = SkTMin(dist1_0, dist1_3); in convexHull() 106 double smallest2distSq = SkTMin(dist2_0, dist2_3); in convexHull() 107 if (approximately_zero(SkTMin(smallest1distSq, smallest2distSq))) { in convexHull()
|
D | SkPathOpsRect.h | 18 fLeft = SkTMin(fLeft, pt.fX); in add() 19 fTop = SkTMin(fTop, pt.fY); in add()
|
D | SkPathOpsTightBounds.cpp | 20 moveBounds.fLeft = SkTMin(moveBounds.fLeft, pts[0].fX); in TightBounds() 21 moveBounds.fTop = SkTMin(moveBounds.fTop, pts[0].fY); in TightBounds()
|
D | SkPathOpsCurve.cpp | 18 minX = SkTMin(minX, fCubic.fPts[index].fX); in nearPoint() 27 minY = SkTMin(minY, fCubic.fPts[index].fY); in nearPoint() 48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY)); in nearPoint()
|
D | SkPathOpsQuad.cpp | 191 double tiniest = SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), in isLinear()
|
/external/skqp/gm/ |
D | trickycubicstrokes.cpp | 32 bounds.fLeft = SkTMin(SkTMin(P[0].x(), P[1].x()), SkTMin(P[2].x(), P[3].x())); in calc_tight_cubic_bounds() 33 bounds.fTop = SkTMin(SkTMin(P[0].y(), P[1].y()), SkTMin(P[2].y(), P[3].y())); in calc_tight_cubic_bounds()
|
/external/skqp/tests/ |
D | PDFGlyphsToUnicodeTest.cpp | 85 SkTMin<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST() 108 SkTMin<SkGlyphID>(0x00FF, lastGlyphID)); in DEF_TEST() 127 SkTMin<SkGlyphID>(0x00FE, lastGlyphID)); in DEF_TEST() 141 SkTMin<SkGlyphID>(0x110, lastGlyphID)); in DEF_TEST() 181 SkTMin<SkGlyphID>(0xFFFF, lastGlyphID)); in DEF_TEST()
|
D | PathOpsLineIntersectionTest.cpp | 121 double left = SkTMin(line1[0].fX, line1[1].fX); in testOne() 128 double left = SkTMin(line2[0].fX, line2[1].fX); in testOne() 135 double top = SkTMin(line1[0].fY, line1[1].fY); in testOne() 142 double top = SkTMin(line2[0].fY, line2[1].fY); in testOne() 164 double left = SkTMin(line1[0].fX, line1[1].fX); in testOneCoincident() 173 double left = SkTMin(line2[0].fX, line2[1].fX); in testOneCoincident() 182 double top = SkTMin(line1[0].fY, line1[1].fY); in testOneCoincident() 191 double top = SkTMin(line2[0].fY, line2[1].fY); in testOneCoincident()
|
D | PathOpsAngleIdeas.cpp | 248 result->tMin = SkTMin(t1, t2); in orderTRange() 287 double maxRadius = SkTMin(maxDist(quad1), maxDist(quad2)); in bruteMinT() 381 lastHighR = SkTMin(r, lastHighR); in bruteMinT() 490 minX = SkTMin(SkTMin(SkTMin(minX, origin.fX), q[1].fX), q[2].fX); in testQuadAngles() 491 minY = SkTMin(SkTMin(SkTMin(minY, origin.fY), q[1].fY), q[2].fY); in testQuadAngles() 639 double min = SkTMin(upperRange.t1, upperRange.t2); in DEF_TEST() 836 maxR = SkTMin(maxR, mDistance(reporter, agrees, quad1, quad2)); in DEF_TEST() 852 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST() 869 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST()
|
D | PathOpsCubicLineIntersectionIdeas.cpp | 93 t = SkTMin(1., t); in binary_search() 180 smallestR2 = SkTMin(smallestR2, R2MinusQ3); in DEF_TEST() 195 double smallest = SkTMin(allRoots[0], allRoots[1]); in DEF_TEST() 197 smallest = SkTMin(smallest, allRoots[2]); in DEF_TEST()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 32 w = SkTMin(w + kPadding, maxAtlasSize); in addRect() 35 h = SkTMin(h + kPadding, maxAtlasSize); in addRect() 72 fWidth = SkTMin(specs.fMinWidth + kPadding, fMaxTextureSize); in GrCCAtlas() 73 fHeight = SkTMin(specs.fMinHeight + kPadding, fMaxTextureSize); in GrCCAtlas() 135 fHeight = SkTMin(fHeight * 2, fMaxTextureSize); in internalPlaceRect() 139 fWidth = SkTMin(fWidth * 2, fMaxTextureSize); in internalPlaceRect()
|
/external/skqp/src/android/ |
D | SkBitmapRegionDecoderPriv.h | 46 int width = SkTMin(imageDims.width() - left, subset->width() - *outX); in adjust_subset_rect() 47 int height = SkTMin(imageDims.height() - top, subset->height() - *outY); in adjust_subset_rect()
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 432 fMaxVertexAttributes = SkTMin(fMaxVertexAttributes, 32); in applyDriverCorrectnessWorkarounds() 478 fMaxVertexAttributes = SkTMin(properties.limits.maxVertexInputAttributes, kMaxVertexAttributes); in initGrCaps() 482 fMaxRenderTargetSize = SkTMin(properties.limits.maxImageDimension2D, (uint32_t)INT_MAX); in initGrCaps() 483 fMaxTextureSize = SkTMin(properties.limits.maxImageDimension2D, (uint32_t)INT_MAX); in initGrCaps() 485 fMaxTextureSize = SkTMin(fMaxTextureSize, 4096); in initGrCaps() 489 fMaxRenderTargetSize = SkTMin(fMaxTextureSize, fMaxRenderTargetSize); in initGrCaps() 593 shaderCaps->fMaxFragmentSamplers = SkTMin( in initShaderCaps() 594 SkTMin(properties.limits.maxPerStageDescriptorSampledImages, in initShaderCaps()
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 107 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), in getBounds() 108 SkTMin(bounds.height(), maxRTSize)); in getBounds() 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds() 117 SkTMin(bounds.height(), kMaxHeight)); in getBounds()
|
/external/skqp/include/private/ |
D | SkFloatingPoint.h | 95 x = SkTMin<float>(x, SK_MaxS32FitsInFloat); in sk_float_saturate2int() 104 x = SkTMin<double>(x, SK_MaxS32); in sk_double_saturate2int() 113 x = SkTMin<float>(x, SK_MaxS64FitsInFloat); in sk_float_saturate2int64()
|
/external/skqp/src/utils/ |
D | SkFrontBufferedStream.cpp | 106 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset); in readFromBuffer() 125 const size_t bytesToBuffer = SkTMin(size, fBufferSize - fBufferedSoFar); in bufferAndWriteTo() 167 size = SkTMin(size, fBufferSize - start); in peek()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 82 fZIndex = SkTMin(9, fZIndex+1); in onQuery() 125 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath()
|
/external/skqp/include/core/ |
D | SkTypes.h | 193 template <typename T> constexpr const T& SkTMin(const T& a, const T& b) { in SkTMin() function 202 return (x < lo) ? lo : SkTMin(x, hi); in SkTClamp() 208 return SkTMax(SkTMin(value, max), min); in SkTPin()
|
/external/skqp/src/gpu/effects/ |
D | GrConfigConversionEffect.h | 42 color[2] = SkTMin(x, y); in TestForPreservingPMConversions() 43 color[1] = SkTMin(x, y); in TestForPreservingPMConversions() 44 color[0] = SkTMin(x, y); in TestForPreservingPMConversions()
|
/external/skqp/src/core/ |
D | SkStrike.cpp | 242 SkScalar min = SkTMin(SkTMin(pts[0], pts[2]), pts[4]); in quad_in_bounds() 251 SkScalar min = SkTMin(SkTMin(SkTMin(pts[0], pts[2]), pts[4]), pts[6]); in cubic_in_bounds() 271 intercept->fInterval[0] = SkTMin(intercept->fInterval[0], val); in AddInterval()
|
D | SkStream.cpp | 159 , fOffset(SkTMin(offset, fSize)) in SkFILEStream() 160 , fOriginalOffset(SkTMin(originalOffset, fSize)) in SkFILEStream() 225 fOffset = SkTMin(SkSafeMath::Add(position, fOriginalOffset), fSize); in seek() 241 fOffset = SkTMin(SkSafeMath::Add(fOffset, (size_t) offset), fSize); in move() 528 size = SkTMin(fTail->avail(), count); in write() 756 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read() 781 bytesToPeek = SkTMin(bytesToPeek, fSize - fOffset); in peek() 789 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek()
|
/external/skqp/fuzz/ |
D | FuzzMain.cpp | 483 const int linesToSkip = SkTMin(stripeHeight, height - i * stripeHeight); in fuzz_img() 488 const int linesToRead = SkTMin(stripeHeight, height - startY); in fuzz_img() 503 const int linesToRead = SkTMin(stripeHeight, height - startY); in fuzz_img() 507 const int linesToSkip = SkTMin(stripeHeight, height - (i + 1) * stripeHeight); in fuzz_img() 544 const int preScaleW = SkTMin(w, W - x); in fuzz_img() 545 const int preScaleH = SkTMin(h, H - y); in fuzz_img()
|
/external/skqp/bench/ |
D | PathTextBench.cpp | 63 float size = (1 - t0) * SkTMin(kScreenWidth, kScreenHeight) / 50 + in onDelayedSetup() 64 t0 * SkTMin(kScreenWidth, kScreenHeight) / 3; in onDelayedSetup()
|