Home
last modified time | relevance | path

Searched refs:SkMin32 (Results 1 – 25 of 34) 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.h109 int decrementStart = SkMin32(left + leftOffset, width); in box_blur_double()
110 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur_double()
227 int decrementStart = SkMin32(left + leftOffset, width); in box_blur()
228 int decrementEnd = SkMin32(right + leftOffset, width); in box_blur()
/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()
392 return MakeLTRB(SkMin32(fLeft, fRight), SkMin32(fTop, fBottom), in makeSorted()
DSkTypes.h366 static inline int32_t SkMin32(int32_t a, int32_t b) { in SkMin32() function
/external/skia/src/core/
DSkColor.cpp36 unsigned min = SkMin32(r, SkMin32(g, b)); in SkRGBToHSV()
DSkBitmapProcState.cpp254 int n = SkMin32(-ix, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
266 int n = SkMin32(maxX - ix + 1, count); in Clamp_S32_D32_nofilter_trans_shaderproc()
317 int n = SkMin32(stopX - ix, count); in Repeat_S32_D32_nofilter_trans_shaderproc()
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()
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()
DSkScalerContext.cpp284 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
294 fir[subpxl_index] = SkMin32(fir[subpxl_index], 255); in pack4xHToLCD16()
/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()
Dshadertext2.cpp18 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
Dshadertext.cpp21 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
/external/skia/bench/
DRepeatTileBench.cpp25 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
DBitmapRectBench.cpp24 SkIntToScalar(SkMin32(w, h))*3/8, p); in draw_into_bitmap()
DFontCacheBench.cpp126 int count = SkMin32(count_glyphs(array), limit); in onDraw()
DAlternatingColorPatternBench.cpp44 SkScalar s = SkIntToScalar(SkMin32(w, h)); in makebm()
DBitmapBench.cpp112 SkIntToScalar(SkMin32(w, h))*3/8, p); in onDrawIntoBitmap()
/external/skia/samplecode/
DSampleDash.cpp67 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval)); in onDrawContent()
/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.cpp401 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage()
402 SkScalar y_dist = SkMin32(y, dstHeight - y - 1) * invInset; in onFilterImage()

12