/external/skia/src/images/ |
D | SkImageEncoder.cpp | 19 quality = SkMin32(100, SkMax32(0, quality)); in encodeStream() 25 quality = SkMin32(100, SkMax32(0, quality)); in encodeFile() 32 quality = SkMin32(100, SkMax32(0, quality)); in encodeData()
|
/external/skia/src/effects/ |
D | SkArithmeticMode.cpp | 108 r = SkMin32(r, a); in xfer32() 109 g = SkMin32(g, a); in xfer32() 110 b = SkMin32(b, a); in xfer32()
|
D | SkMagnifierImageFilter.cpp | 329 SkScalar x_dist = SkMin32(x, width - x - 1) * inv_inset; in onFilterImageDeprecated() 330 SkScalar y_dist = SkMin32(y, height - y - 1) * inv_inset; in onFilterImageDeprecated()
|
/external/skia/src/opts/ |
D | SkMorphologyImageFilter_opts.h | 24 radius = SkMin32(radius, width - 1); in morph() 57 radius = SkMin32(radius, width - 1); in morph() 89 radius = SkMin32(radius, width - 1); in morph()
|
D | SkBlurImageFilter_opts.h | 108 int decrementStart = SkMin32(left + leftOffset, width); in box_blur_double() 109 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur_double() 230 int decrementStart = SkMin32(left + leftOffset, width); in box_blur() 231 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur()
|
/external/skia/src/views/ |
D | SkProgressView.cpp | 75 percent = SkMax32(0, SkMin32(percent, fMax << 8)); // now its pinned in onDraw() 81 U16CPU value = SkMax32(0, SkMin32(fValue, fMax)); in onDraw()
|
/external/skia/src/core/ |
D | SkColor.cpp | 36 unsigned min = SkMin32(r, SkMin32(g, b)); in SkRGBToHSV()
|
D | SkAAClip.cpp | 90 int n = SkMin32(width, 255); in ComputeRowSizeForWidth() 106 int n = SkMin32(width, 255); in AllocRect() 807 yArray.setReserve(SkMin32(bounds.height(), 1024)); in setRegion() 808 xArray.setReserve(SkMin32(bounds.width() * 128, 64 * 1024)); in setRegion() 1559 rite = leftA = leftB = SkMin32(riteA, riteB); in operatorX() 1634 bot = topA = topB = SkMin32(botA, botB); in operateY() 1956 int minN = SkMin32(srcN, rowN); in merge() 2067 int n = SkMin32(rowN, srcN); in mergeT() 2204 localStopY = SkMin32(localStopY + 1, stopY); in blitMask()
|
D | SkBitmapProcState.cpp | 394 int n = SkMin32(-ix, count); in Clamp_S32_D32_nofilter_trans_shaderproc() 406 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc() 457 int n = SkMin32(stopX - ix, count); in Repeat_S32_D32_nofilter_trans_shaderproc()
|
D | SkScan_Path.cpp | 272 int local_bot = SkMin32(leftE->fLastY, riteE->fLastY); in walk_convex_edges() 273 local_bot = SkMin32(local_bot, stop_y - 1); in walk_convex_edges()
|
/external/skia/src/utils/ |
D | SkTextureCompressor_Blitter.h | 341 const int endX = SkMin32(i + BlockDim, clip.right()); in blitMask() 342 const int endY = SkMin32(j + BlockDim, clip.bottom()); in blitMask() 534 finalX = SkMin32(nextX[i], finalX); in flushRuns() 608 finalX = SkMin32(nextX[i], finalX); in flushRuns()
|
/external/skia/gm/ |
D | stringart.cpp | 37 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight)); in onDraw()
|
D | fontmgr.cpp | 90 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in onDraw() 267 int count = SkMin32(fm->countFamilies(), 32); in onDraw()
|
D | shadertext3.cpp | 19 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
|
D | shadertext.cpp | 20 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
|
D | shadertext2.cpp | 17 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
|
/external/skia/samplecode/ |
D | SampleDash.cpp | 68 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval)); in onDrawContent()
|
/external/skia/bench/ |
D | BitmapRectBench.cpp | 25 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
|
D | FontCacheBench.cpp | 126 int count = SkMin32(count_glyphs(array), limit); in onDraw()
|
D | RepeatTileBench.cpp | 26 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
|
D | AlternatingColorPatternBench.cpp | 44 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
|
/external/skia/include/core/ |
D | SkRect.h | 298 fRight = SkMin32(a.fRight, b.fRight); in intersect() 299 fBottom = SkMin32(a.fBottom, b.fBottom); in intersect() 318 fRight = SkMin32(a.fRight, b.fRight); in intersectNoEmptyCheck() 319 fBottom = SkMin32(a.fBottom, b.fBottom); in intersectNoEmptyCheck()
|
/external/skia/tests/ |
D | PathCoverageTest.cpp | 64 uint32_t count = SkMin32(SkNextPow2(temp), MAX_POINTS_PER_CURVE); in compute_pointCount()
|
D | TextBlobCacheTest.cpp | 80 int count = SkMin32(fm->countFamilies(), maxFamilies); in text_blob_cache_inner()
|
D | FontNamesTest.cpp | 146 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in test_systemfonts()
|