/external/skia/src/images/ |
SkImageEncoder.cpp | 19 quality = SkMin32(100, SkMax32(0, quality)); 25 quality = SkMin32(100, SkMax32(0, quality));
|
SkScaledBitmapSampler.cpp | 310 int dx = SkMin32(sampleSize, width); 311 int dy = SkMin32(sampleSize, height);
|
/external/skia/src/views/ |
SkProgressView.cpp | 75 percent = SkMax32(0, SkMin32(percent, fMax << 8)); // now its pinned 81 U16CPU value = SkMax32(0, SkMin32(fValue, fMax));
|
SkWidget.cpp | 217 return SkToU16(SkMax32(0, SkMin32(value, max))); 279 U16CPU value = SkMax32(0, SkMin32(fValue, fMax));
|
SkListWidget.cpp | 113 index = SkMin32(index + 1, fSource->countRecords() - 1); 353 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRecords() - fScrollIndex);
|
SkListView.cpp | 283 index = SkMin32(index + 1, fSource->countRows() - 1); 360 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRows() - fScrollIndex); 628 index = SkMin32(index + 1, fSource->countRows() - 1); 747 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRows() - fScrollIndex);
|
/external/skia/src/core/ |
SkColor.cpp | 37 unsigned min = SkMin32(r, SkMin32(g, b));
|
SkRegion_rects.cpp | 104 nextY = SkMin32(nextY, edge->fTop); 113 nextY = SkMin32(nextY, edge->fTop); 127 nextY = SkMin32(nextY, edge->fBottom);
|
SkAAClip.cpp | 88 int n = SkMin32(width, 255); 104 int n = SkMin32(width, 255); 723 yArray.setReserve(SkMin32(bounds.height(), 1024)); 724 xArray.setReserve(SkMin32(bounds.width() * 128, 64 * 1024)); [all...] |
SkScan_Path.cpp | 248 int local_bot = SkMin32(leftE->fLastY, riteE->fLastY); 249 local_bot = SkMin32(local_bot, stop_y - 1);
|
SkStream.cpp | 545 size = SkMin32(size, fMaxLength - fBytesWritten); 620 size = SkMin32(fTail->avail(), count);
|
SkRegion_path.cpp | 282 int bot = SkMin32(pathBot, clipBot);
|
/external/skia/samplecode/ |
SampleDash.cpp | 70 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval));
|
/external/skia/src/effects/ |
SkBlurImageFilter.cpp | 37 int rightBorder = SkMin32(rightOffset + 1, width); 80 int bottomBorder = SkMin32(bottomOffset + 1, height);
|
SkMorphologyImageFilter.cpp | 33 const SkPMColor* upperSrc = src + SkMin32(radius, width - 1) * srcStrideX; 80 const SkPMColor* upperSrc = src + SkMin32(radius, width - 1) * srcStrideX;
|
/external/skia/bench/ |
RepeatTileBench.cpp | 29 SkIntToScalar(SkMin32(w, h))*3/8, p);
|
BitmapBench.cpp | 33 SkIntToScalar(SkMin32(w, h))*3/8, p);
|
/external/skia/include/core/ |
SkRect.h | 223 fRight = SkMin32(a.fRight, b.fRight); 224 fBottom = SkMin32(a.fBottom, b.fBottom); 244 fRight = SkMin32(a.fRight, b.fRight); 245 fBottom = SkMin32(a.fBottom, b.fBottom);
|
SkScalar.h | 279 #define SkMinScalar(a, b) SkMin32(a, b)
|
SkTypes.h | 279 static inline int32_t SkMin32(int32_t a, int32_t b) {
|
/external/skia/src/gpu/ |
SkGrFontScaler.cpp | 55 int cmp = memcmp(fDesc, srcDesc, SkMin32(lenLH, lenRH));
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
SimpleFontDataLinux.cpp | 194 int n = SkMin32(length, SK_ARRAY_COUNT(glyphs));
|
/external/skia/gm/ |
shadertext.cpp | 21 SkScalar s = SkIntToScalar(SkMin32(w, h));
|
/external/skia/src/ports/ |
SkFontHost_fontconfig.cpp | 333 memcpy(path, str.c_str(), SkMin32(str.size(), length));
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
PlatformGraphicsContextSkia.cpp | 371 SkScalar x = SkIntToScalar(SkMin32(point1.x(), point2.x())); 372 SkScalar y = SkIntToScalar(SkMin32(point1.y(), point2.y()));
|