/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 155 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in approximatelyDEqual() 175 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in approximatelyEqual() 198 float tiniest = SkTMin(SkTMin(SkTMin(a.fX, b.fX), a.fY), b.fY); in ApproximatelyEqual() 236 double tiniest = SkTMin(SkTMin(SkTMin(fX, a.fX), fY), a.fY); in roughlyEqual() 250 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 | 16 fLeft = SkTMin(fLeft, pt.fX); in add() 17 fTop = SkTMin(fTop, pt.fY); in add()
|
D | SkPathOpsQuad.cpp | 181 double tiniest = SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), in isLinear()
|
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 | 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 | SkPathOpsCubic.cpp | 219 double tiniest = SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), in isLinear()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 154 fMaxVertexAttributes = SkTMin(properties.limits.maxVertexInputAttributes, kMaxVertexAttributes); in initGrCaps() 157 fMaxVertexAttributes = SkTMin(fMaxVertexAttributes, 32); in initGrCaps() 162 fMaxRenderTargetSize = SkTMin(properties.limits.maxImageDimension2D, (uint32_t)INT_MAX); in initGrCaps() 163 fMaxTextureSize = SkTMin(properties.limits.maxImageDimension2D, (uint32_t)INT_MAX); in initGrCaps() 251 shaderCaps->fMaxFragmentSamplers = SkTMin( in initShaderCaps() 252 SkTMin(properties.limits.maxPerStageDescriptorSampledImages, in initShaderCaps() 255 shaderCaps->fMaxCombinedSamplers = SkTMin( in initShaderCaps() 256 SkTMin(properties.limits.maxDescriptorSetSampledImages, in initShaderCaps()
|
/external/skia/tests/ |
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() 641 double min = SkTMin(upperRange.t1, upperRange.t2); in DEF_TEST() 838 maxR = SkTMin(maxR, mDistance(reporter, agrees, quad1, quad2)); in DEF_TEST() 854 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST() 871 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()
|
D | SRGBReadWritePixelsTest.cpp | 48 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion() 73 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion() 81 upper = SkTMin(255.f, (float) upperComponent + error); in check_double_conversion()
|
/external/skia/src/opts/ |
D | SkMorphologyImageFilter_opts.h | 112 B = SkTMin(b, B); in morph() 113 G = SkTMin(g, G); in morph() 114 R = SkTMin(r, R); in morph() 115 A = SkTMin(a, A); in morph()
|
D | SkBlend_opts.h | 57 int count = SkTMin(ndst, nsrc); in srcover_srgb_srgb() 131 int count = SkTMin(ndst, nsrc); in srcover_srgb_srgb() 174 int n = SkTMin(ndst, nsrc); in srcover_srgb_srgb()
|
/external/skia/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/skia/gm/ |
D | gammaencodedpremul.cpp | 21 SkTMin(a, r), in clamp_to_alpha() 22 SkTMin(a, g), in clamp_to_alpha() 23 SkTMin(a, b)); in clamp_to_alpha()
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 104 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset); in readFromBuffer() 123 const size_t bytesToBuffer = SkTMin(size, fBufferSize - fBufferedSoFar); in bufferAndWriteTo() 165 size = SkTMin(size, fBufferSize - start); in peek()
|
/external/skia/src/gpu/ |
D | GrProcessor.cpp | 240 fParams.setFilterMode(SkTMin(params.filterMode(), texture->texturePriv().highestFilterMode())); in reset() 250 filterMode = SkTMin(filterMode, texture->texturePriv().highestFilterMode()); in reset() 265 fParams.setFilterMode(SkTMin(params.filterMode(), texture->texturePriv().highestFilterMode())); in reset() 279 filterMode = SkTMin(filterMode, texture->texturePriv().highestFilterMode()); in reset()
|
/external/skia/include/gpu/ |
D | GrColor.h | 116 unsigned r = SkTMin<unsigned>(GrColorUnpackR(c0) + GrColorUnpackR(c1), 0xff); in GrColorSatAdd() 117 unsigned g = SkTMin<unsigned>(GrColorUnpackG(c0) + GrColorUnpackG(c1), 0xff); in GrColorSatAdd() 118 unsigned b = SkTMin<unsigned>(GrColorUnpackB(c0) + GrColorUnpackB(c1), 0xff); in GrColorSatAdd() 119 unsigned a = SkTMin<unsigned>(GrColorUnpackA(c0) + GrColorUnpackA(c1), 0xff); in GrColorSatAdd()
|
/external/skia/bench/ |
D | SkBlend_optsBench.cpp | 39 int n = SkTMin(ndst, nsrc); in brute_force_srcover_srgb_srgb() 51 int n = SkTMin(ndst, nsrc); in trivial_srcover_srgb_srgb() 70 int count = SkTMin(ndst, nsrc); in best_non_simd_srcover_srgb_srgb()
|
/external/skia/fuzz/ |
D | fuzz.cpp | 298 const int linesToSkip = SkTMin(stripeHeight, height - i * stripeHeight); in fuzz_img() 303 const int linesToRead = SkTMin(stripeHeight, height - startY); in fuzz_img() 319 const int linesToRead = SkTMin(stripeHeight, height - startY); in fuzz_img() 323 const int linesToSkip = SkTMin(stripeHeight, height - (i + 1) * stripeHeight); in fuzz_img() 360 const int preScaleW = SkTMin(w, W - x); in fuzz_img() 361 const int preScaleH = SkTMin(h, H - y); in fuzz_img()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 156 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), in getBounds() 157 SkTMin(bounds.height(), maxRTSize)); in getBounds() 166 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds() 167 SkTMin(bounds.height(), kMaxHeight)); in getBounds()
|
/external/skia/src/core/ |
D | SkStream.cpp | 162 , fOffset(SkTMin(offset, fSize)) in SkFILEStream() 163 , fOriginalOffset(SkTMin(originalOffset, fSize)) in SkFILEStream() 492 size = SkTMin(fTail->avail(), count); in write() 656 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read() 681 bytesToPeek = SkTMin(bytesToPeek, fSize - fOffset); in peek() 689 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek()
|
D | SkRWBuffer.cpp | 40 size_t amount = SkTMin(this->avail(), length); in append() 167 return SkTMin(fBlock->fCapacity, fRemaining); in size() 292 size_t avail = SkTMin(size - fLocalOffset, request - bytesRead); in read()
|