/external/webkit/Source/WebCore/platform/graphics/android/ |
D | ImageAndroid.cpp | 160 dst->set(SkScalarRound(SkFloatToScalar(src.x())), in round() 161 SkScalarRound(SkFloatToScalar(src.y())), in round() 162 SkScalarRound(SkFloatToScalar((src.x() + src.width()))), in round() 163 SkScalarRound(SkFloatToScalar((src.y() + src.height())))); in round() 169 dst->set(SkScalarRound(SkFloatToScalar(src.x() * sx)), in round_scaled() 170 SkScalarRound(SkFloatToScalar(src.y() * sy)), in round_scaled() 171 SkScalarRound(SkFloatToScalar((src.x() + src.width()) * sx)), in round_scaled() 172 SkScalarRound(SkFloatToScalar((src.y() + src.height()) * sy))); in round_scaled()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataLinux.cpp | 96 ascent = SkScalarRound(-metrics.fAscent); in platformInit() 97 descent = SkScalarRound(height) - ascent; in platformInit() 130 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size())); in platformInit() 133 m_avgCharWidth = SkScalarRound(metrics.fAvgCharWidth); in platformInit()
|
/external/skia/samplecode/ |
D | SampleStrokeText.cpp | 45 int w = SkScalarRound(bounds.width()); in lettersToBitmap() 46 int h = SkScalarRound(bounds.height()); in lettersToBitmap() 91 int w = SkScalarRound(bounds.width()); in lettersToBitmap2() 92 int h = SkScalarRound(bounds.height()); in lettersToBitmap2()
|
D | SampleCull.cpp | 82 array[n++].set(SkScalarRound(pts[0].fX), SkScalarRound(pts[0].fY)); in getpts() 85 array[n++].set(SkScalarRound(pts[1].fX), SkScalarRound(pts[1].fY)); in getpts()
|
D | SampleLayerMask.cpp | 37 int w = SkScalarRound(r.width()); in drawMask() 38 int h = SkScalarRound(r.height()); in drawMask()
|
D | SampleFilter2.cpp | 85 x = SkIntToScalar(SkScalarRound(x)); in onDrawContent() 86 y = SkIntToScalar(SkScalarRound(y)); in onDrawContent()
|
D | SampleAAClip2.cpp | 174 return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL; in onFindClickHandler()
|
D | SampleRegion.cpp | 260 return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL; in onFindClickHandler()
|
D | SampleLines.cpp | 102 fAlpha = SkScalarRound(y); in onFindClickHandler()
|
D | SampleApp.cpp | 242 desc.fWidth = SkScalarRound(win->width()); in windowSizeChanged() 243 desc.fHeight = SkScalarRound(win->height()); in windowSizeChanged() 256 desc.fWidth = SkScalarRound(win->width()); in windowSizeChanged() 257 desc.fHeight = SkScalarRound(win->height()); in windowSizeChanged() 919 int width = SkScalarRound(this->width()); in showZoomer() 920 int height = SkScalarRound(this->height()); in showZoomer() 1668 int w = SkScalarRound(this->width()); in onDispatchClick() 1669 int h = SkScalarRound(this->height()); in onDispatchClick()
|
/external/skia/tests/ |
D | PathCoverageTest.cpp | 29 int idx = SkAbs32(SkScalarRound(dx)); in cheap_distance() 30 int idy = SkAbs32(SkScalarRound(dy)); in cheap_distance() 81 return estimate_pointCount(SkScalarRound(distance)); in quadraticPointCount_CE()
|
/external/skia/src/animator/ |
D | SkAnimateBase.cpp | 170 SkColor color = SkColorSetARGB(SkScalarRound(array[0]), SkScalarRound(array[1]), in packARGB() 171 SkScalarRound(array[2]), SkScalarRound(array[3])); in packARGB()
|
D | SkDrawColor.cpp | 88 return SkColorSetARGB(SkColorGetA(color), SkScalarRound(red), in HSV_to_RGB() 89 SkScalarRound(green), SkScalarRound(blue)); in HSV_to_RGB()
|
/external/chromium/chrome/common/ |
D | badge_util.cc | 72 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) { in DrawBadgeIconOverlay() 82 if ((SkScalarRound(text_width) % 1) != (badge_width % 1)) in DrawBadgeIconOverlay()
|
/external/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 33 uint32_t seed = SkScalarRound(meas.getLength()); in filterPath() 45 int n = SkScalarRound(SkScalarDiv(length, fSegLength)); in filterPath()
|
/external/skia/include/core/ |
D | SkSize.h | 95 s.set(SkScalarRound(fWidth), SkScalarRound(fHeight)); in toRound()
|
D | SkRect.h | 605 dst->set(SkScalarRound(fLeft), SkScalarRound(fTop), in round() 606 SkScalarRound(fRight), SkScalarRound(fBottom)); in round()
|
D | SkScalar.h | 155 #define SkScalarMulRound(a, b) SkScalarRound((float)(a) * (b)) 289 #define SkScalarRound(x) SkScalarRoundToInt(x) macro
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 79 int ppemX = SkScalarRound(sx); in SkScalerContext_Ascender() 80 int ppemY = SkScalarRound(sy); in SkScalerContext_Ascender()
|
D | SkFontHost_gamma.cpp | 44 int xx = SkScalarRound(SkFloatToScalar(x * 255)); in build_power_table()
|
/external/skia/src/utils/unix/ |
D | SkOSWindow_Unix.cpp | 183 glViewport(0, 0, SkScalarRound(this->width()), SkScalarRound(this->height())); in attachGL()
|
/external/skia/src/views/ |
D | SkStackViewLayout.cpp | 170 pos = SkIntToScalar(SkScalarRound(pos)); in onLayoutChildren() 174 crossLoc = SkIntToScalar(SkScalarRound(crossLoc)); in onLayoutChildren()
|
D | SkWindow.cpp | 134 SkScalarRound(this->width()), in handleInval() 135 SkScalarRound(this->height())); in handleInval()
|
D | SkParsePaint.cpp | 99 paint->setAlpha(SkScalarRound(x * 255)); in SkPaint_Inflate()
|
/external/skia/src/core/ |
D | SkFP.h | 22 #define SkFPRound(x) SkScalarRound(n)
|