Home
last modified time | relevance | path

Searched refs:SkMax32 (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/effects/
DSkAvoidXfermode.cpp70 return SkMax32(dr, SkMax32(dg, db)); in color_dist16()
84 return SkMax32(dr, SkMax32(dg, db)); in color_dist4444()
98 return SkMax32(dr, SkMax32(dg, db)); in color_dist32()
DSkColorMatrixFilter.cpp130 max = SkMax32(max, value); in setup()
/external/skia/src/images/
DSkImageEncoder.cpp26 quality = SkMin32(100, SkMax32(0, quality)); in encodeStream()
32 quality = SkMin32(100, SkMax32(0, quality)); in encodeFile()
/external/skia/include/core/
DSkRect.h154 fLeft = SkMax32(a.fLeft, b.fLeft); in intersect()
155 fTop = SkMax32(a.fTop, b.fTop); in intersect()
175 fLeft = SkMax32(a.fLeft, b.fLeft); in intersectNoEmptyCheck()
176 fTop = SkMax32(a.fTop, b.fTop); in intersectNoEmptyCheck()
DSkTypes.h230 static inline int32_t SkMax32(int32_t a, int32_t b) { in SkMax32() function
DSkScalar.h230 #define SkMaxScalar(a, b) SkMax32(a, b)
/external/skia/src/views/
DSkProgressView.cpp67 percent = SkMax32(0, SkMin32(percent, fMax << 8)); // now its pinned in onDraw()
73 U16CPU value = SkMax32(0, SkMin32(fValue, fMax)); in onDraw()
DSkWidget.cpp210 return SkToU16(SkMax32(0, SkMin32(value, max)));
272 U16CPU value = SkMax32(0, SkMin32(fValue, fMax));
DSkListWidget.cpp87 index = SkMax32(index - 1, 0); in moveSelectionUp()
231 int n = SkMax32(1, fVisibleRowCount); in ensureCache()
DSkListView.cpp263 index = SkMax32(index - 1, 0);
608 index = SkMax32(index - 1, 0);
/external/skia/src/core/
DSkColor.cpp62 unsigned max = SkMax32(r, SkMax32(g, b)); in SkRGBToHSV()
DSkWriter32.cpp69 fHead = fTail = block = Block::Create(SkMax32(size, fMinSize)); in reserve()
73 fTail = Block::Create(SkMax32(size, fMinSize)); in reserve()
DSkChunkAlloc.cpp88 size_t size = SkMax32((int32_t)bytes, (int32_t)fMinSize); in newBlock()
DSkRegion_path.cpp289 int top = SkMax32(pathTop, clipTop); in setPath()
297 if (!builder.init(bot - top, SkMax32(pathTransitions, clipTransitions))) { in setPath()
DSkScan_Antihair.cpp456 SkFDot6 right = SkMax32(x0, x1); in AntiHairLine()
457 SkFDot6 bottom = SkMax32(y0, y1); in AntiHairLine()
DSkPoint.cpp324 err = SkMax32(SkAbs32(xx-x), SkAbs32(yy-y)); in setLength()
DSkScan_AntiPath.cpp63 const int right = SkMax32(ir.fRight, clip.getBounds().fRight); in BaseSuperBlitter()
DSkXfermode.cpp1117 unsigned r = SkMax32(SkPacked32ToR16(src), SkGetPackedR16(dst)); in lighten_modeproc16_255()
1118 unsigned g = SkMax32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in lighten_modeproc16_255()
1119 unsigned b = SkMax32(SkPacked32ToB16(src), SkGetPackedB16(dst)); in lighten_modeproc16_255()
DSkEdge.cpp314 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkStream.cpp633 size = SkMax32(count, SkDynamicMemoryWStream_MinBlockSize); in write()
DSkGeometry.cpp169 int shift = SkMax32(na, SkMax32(nb, nc)); in Sk64FindFixedQuadRoots()
/external/skia/tests/
DSrcOverTest.cpp52 unsigned max = SkMax32(dst, i); in test_srcover_hack()
DMathTest.cpp408 maxDiff = SkMax32(maxDiff, SkAbs32(is - s)); in TestMath()
409 maxDiff = SkMax32(maxDiff, SkAbs32(ic - c)); in TestMath()
/external/skia/src/utils/
DSkDumpCanvas.cpp128 str->printf("\"%.*s\"%s", SkMax32(len, 32), text, in toString()
132 str->printf("\"%.*S\"%s", SkMax32(len, 32), text, in toString()
/external/skia/src/gl/
DSkGLTextCache.cpp9 fStrikeWidth = SkNextPow2(SkMax32(kMinStrikeWidth, width)); in Strike()

12