/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/opts/ |
D | SkBlurImageFilter_opts.h | 106 int incrementStart = SkMax32(left - rightOffset - 1, left - right); in box_blur_double() 107 int incrementEnd = SkMax32(right - rightOffset - 1, 0); in box_blur_double() 228 int incrementStart = SkMax32(left - rightOffset - 1, left - right); in box_blur() 229 int incrementEnd = SkMax32(right - rightOffset - 1, 0); 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/third_party/ktx/ |
D | ktx.cpp | 296 int mipmaps = SkMax32(fHeader.fNumberOfMipmapLevels, 1); in readKTXFile() 299 int arrayElements = SkMax32(fHeader.fNumberOfArrayElements, 1); in readKTXFile() 302 int faces = SkMax32(fHeader.fNumberOfFaces, 1); in readKTXFile() 305 int depth = SkMax32(fHeader.fPixelDepth, 1); in readKTXFile()
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 47 return SkMax32(dr, SkMax32(dg, db)); in color_dist16() 60 return SkMax32(dr, SkMax32(dg, db)); in color_dist32()
|
/external/skia/src/core/ |
D | SkColor.cpp | 37 unsigned max = SkMax32(r, SkMax32(g, b)); in SkRGBToHSV()
|
D | SkScalerContext.cpp | 300 … for (int sample_index = SkMax32(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16() 318 r = SkMax32(r, 10); g = SkMax32(g, 10); b = SkMax32(b, 10); in pack4xHToLCD16()
|
D | SkRegion_path.cpp | 341 int top = SkMax32(pathTop, clipTop); in setPath() 350 SkMax32(pathTransitions, clipTransitions), in setPath()
|
D | SkScan_Antihair.cpp | 574 SkFDot6 right = SkMax32(x0, x1); in AntiHairLineRgn() 575 SkFDot6 bottom = SkMax32(y0, y1); in AntiHairLineRgn()
|
D | SkEdge.cpp | 332 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
|
D | SkMaskFilter.cpp | 146 int startY = SkMax32(0, r.top() - outerR.top()); in draw_nine_clipped()
|
D | SkScan_Path.cpp | 259 int local_top = SkMax32(leftE->fFirstY, riteE->fFirstY); in walk_convex_edges()
|
/external/skia/tests/ |
D | SrcOverTest.cpp | 59 unsigned max = SkMax32(dst, i); in DEF_TEST()
|
D | MatrixClipCollapseTest.cpp | 642 int max = SkMax32(expected.count(), actual.count()); in print()
|
/external/skia/src/utils/ |
D | SkPatchGrid.cpp | 165 maxCols[x] = SkMax32(maxCols[x], lod.width()); in draw() 166 maxRows[y] = SkMax32(maxRows[y], lod.height()); in draw()
|
D | SkPatchUtils.cpp | 141 return SkISize::Make(SkMax32(8, lodX), SkMax32(8, lodY)); in GetLevelOfDetail()
|
D | SkTextureCompressor_Blitter.h | 338 const int startX = SkMax32(i, clip.left()); in blitMask() 339 const int startY = SkMax32(j, clip.top()); in blitMask()
|
/external/skia/include/core/ |
D | SkRect.h | 296 fLeft = SkMax32(a.fLeft, b.fLeft); in intersect() 297 fTop = SkMax32(a.fTop, b.fTop); in intersect() 316 fLeft = SkMax32(a.fLeft, b.fLeft); in intersectNoEmptyCheck() 317 fTop = SkMax32(a.fTop, b.fTop); in intersectNoEmptyCheck()
|
D | SkTypes.h | 406 static inline int32_t SkMax32(int32_t a, int32_t b) { in SkMax32() function
|
/external/skia/src/gpu/ |
D | GrRectanizer_skyline.cpp | 61 y = SkMax32(y, fSkyline[i].fY); in rectangleFits()
|
/external/skia/include/private/ |
D | SkTArray.h | 382 fAllocCount = SkMax32(fCount, fReserveCount); in init() 442 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount); in checkRealloc()
|
/external/skia/gm/ |
D | modecolorfilters.cpp | 122 static const int kRectsPerRow = SkMax32(this->getISize().fWidth / kRectWidth, 1); in onDraw()
|
/external/skia/bench/ |
D | ChartBench.cpp | 118 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2); in onDraw()
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 112 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2); in onDrawContent()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 479 fWidth = SkMax32(fWidth, glyph.fWidth); in draw() 480 fHeight = SkMax32(fHeight, glyph.fHeight); in draw() 1112 r = SkMax32(r, 10); g = SkMax32(g, 10); b = SkMax32(b, 10); in rgb_to_lcd16() 1205 dst[i] = SkMax32(dst[i], 10); in rgb_to_a8()
|