Home
last modified time | relevance | path

Searched refs:SkMin32 (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp88 count = SkMin32(count, 100); in append_bfchar_section()
108 count = SkMin32(count, 100); in append_bfrange_section()
170 SkMin32(lastGlyphID + 1, glyphToUnicode.count()) - glyphOffset; in SkPDFAppendCmapSections()
/external/skia/src/opts/
DSkMorphologyImageFilter_opts.h26 radius = SkMin32(radius, width - 1); in morph()
59 radius = SkMin32(radius, width - 1); in morph()
91 radius = SkMin32(radius, width - 1); in morph()
DSkBlurImageFilter_opts.h113 int decrementStart = SkMin32(left + leftOffset, width); in box_blur_double()
114 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur_double()
235 int decrementStart = SkMin32(left + leftOffset, width); in box_blur()
236 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur()
/external/skia/src/core/
DSkColor.cpp36 unsigned min = SkMin32(r, SkMin32(g, b)); in SkRGBToHSV()
DSkAAClip.cpp89 int n = SkMin32(width, 255); in ComputeRowSizeForWidth()
105 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()
1586 rite = leftA = leftB = SkMin32(riteA, riteB); in operatorX()
1661 bot = topA = topB = SkMin32(botA, botB); in operateY()
1983 int minN = SkMin32(srcN, rowN); in merge()
2094 int n = SkMin32(rowN, srcN); in mergeT()
2231 localStopY = SkMin32(localStopY + 1, stopY); in blitMask()
DSkBitmapProcState.cpp379 int n = SkMin32(-ix, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
391 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
442 int n = SkMin32(stopX - ix, count); in Repeat_S32_D32_nofilter_trans_shaderproc()
DSkScan_Path.cpp236 int local_bot = SkMin32(leftE->fLastY, riteE->fLastY); in walk_convex_edges()
237 local_bot = SkMin32(local_bot, stop_y - 1); in walk_convex_edges()
/external/skia/gm/
Dstringart.cpp40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight)); in onDraw()
Dfontmgr.cpp91 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in onDraw()
268 int count = SkMin32(fm->countFamilies(), 32); in onDraw()
Dshadertext3.cpp20 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
Dshadertext.cpp21 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
Dshadertext2.cpp18 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
/external/skia/samplecode/
DSampleDash.cpp67 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval)); in onDrawContent()
/external/skia/bench/
DBitmapRectBench.cpp24 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
DFontCacheBench.cpp126 int count = SkMin32(count_glyphs(array), limit); in onDraw()
DRepeatTileBench.cpp25 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
DAlternatingColorPatternBench.cpp44 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
/external/skia/src/utils/
DSkShadowPaintFilterCanvas.cpp62 int dMapWidth = SkMin32(maxDepth * fabs(light.dir().fX) + width, in ComputeDepthMapSize()
64 int dMapHeight = SkMin32(maxDepth * fabs(light.dir().fY) + height, in ComputeDepthMapSize()
/external/skia/include/core/
DSkRect.h298 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()
DSkTypes.h365 static inline int32_t SkMin32(int32_t a, int32_t b) { in SkMin32() function
/external/skia/tests/
DPathCoverageTest.cpp64 uint32_t count = SkMin32(SkNextPow2(temp), MAX_POINTS_PER_CURVE); in compute_pointCount()
DTextBlobCacheTest.cpp71 int count = SkMin32(fm->countFamilies(), maxFamilies); in text_blob_cache_inner()
DFontNamesTest.cpp146 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in test_systemfonts()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp411 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
412 SkScalar y_dist = SkMin32(y, dstHeight - y - 1) * invInset; in onFilterImage()
/external/skia/include/private/
DSkTDArray.h280 int count = SkMin32(max, fCount - index); in copyRange()

12