/bionic/libm/src/ |
s_llroundf.c | 5 #define roundit roundf
|
s_lroundf.c | 5 #define roundit roundf
|
s_roundf.c | 33 roundf(float x) function
|
/external/webkit/Source/WebCore/platform/chromium/ |
DragImageChromiumMac.cpp | 59 size_t width = roundf(CGImageGetWidth(image) * scale.width()); 60 size_t height = roundf(CGImageGetHeight(image) * scale.height());
|
/hardware/invensense/mlsdk/platform/include/ |
mlmath.h | 35 #define roundf(x)(((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro 71 #define roundf(x) (((float )((long long)((x)>0?(x)+.5f:(x)-.5f)))) macro
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontWx.cpp | 92 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 97 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 100 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 104 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
/external/webkit/Source/WebCore/css/ |
CSSCursorImageValue.cpp | 95 float x = roundf(cursorElement->x().value(0)); 98 float y = roundf(cursorElement->y().value(0));
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGForeignObject.cpp | 91 setWidth(static_cast<int>(roundf(m_viewport.width()))); 97 setHeight(static_cast<int>(roundf(m_viewport.height())));
|
/external/skia/samplecode/ |
SampleRegion.cpp | 12 // windows doesn't have roundf 13 inline float roundf(float x) { return (x-floor(x))>0.5 ? ceil(x) : floor(x); } function 56 dst->fLeft = (int)::roundf(src.fLeft * scale); 57 dst->fTop = (int)::roundf(src.fTop * scale); 58 dst->fRight = (int)::roundf(src.fRight * scale); 59 dst->fBottom = (int)::roundf(src.fBottom * scale);
|
/external/webkit/Source/WebCore/platform/graphics/ |
FloatPoint.h | 202 return IntPoint(static_cast<int>(roundf(p.x())), static_cast<int>(roundf(p.y())));
|
FloatSize.h | 148 return IntSize(static_cast<int>(roundf(p.width())), static_cast<int>(roundf(p.height())));
|
SimpleFontData.cpp | 101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontComplexTextMac.cpp | 50 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 53 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 56 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontWin.cpp | 62 // Using roundf() rather than ceilf() for the right edge as a compromise to ensure correct caret positioning 66 return FloatRect(point.x() + floorf(totalWidth - afterWidth), point.y(), roundf(totalWidth - beforeWidth) - floorf(totalWidth - afterWidth), h); 69 return FloatRect(point.x() + floorf(beforeWidth), point.y(), roundf(afterWidth) - floorf(beforeWidth), h);
|
UniscribeController.cpp | 298 float roundedAdvance = roundf(advance); 301 offsetX = roundf(offsetX); 302 offsetY = roundf(offsetY);
|
/external/webkit/Source/WebKit2/UIProcess/ |
FindIndicator.cpp | 169 graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
|
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 129 dst->fLeft = (int)::roundf(src.fLeft * scale); 130 dst->fTop = (int)::roundf(src.fTop * scale); 131 dst->fRight = (int)::roundf(src.fRight * scale); 132 dst->fBottom = (int)::roundf(src.fBottom * scale);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
MathExtras.h | 119 static float roundf(float num) function 127 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } 129 inline long lroundf(float num) { return static_cast<long>(roundf(num)); }
|
/external/webkit/Source/WebCore/inspector/ |
InspectorFrontendClientLocal.cpp | 161 return roundf(max(minimumAttachedHeight, min<float>(preferredHeight, totalWindowHeight * maximumAttachedHeightRatio)));
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebPopupMenuProxyMac.mm | 122 float vertOffset = roundf((NSMaxY(rect) - NSMaxY(titleFrame)) + NSHeight(titleFrame)); 131 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font);
|
/external/webkit/Source/WebCore/rendering/ |
RenderEmbeddedObject.cpp | 176 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); 177 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 635 float destinationX = roundf(rect.x() - lineWidth); 636 float destinationY = roundf(rect.y() - lineWidth); [all...] |
/development/samples/BrowserPlugin/jni/animation/ |
AnimationPlugin.cpp | 40 int ix = (int)roundf(x) + inset;
|
/external/skia/src/core/ |
SkUnPreMultiply.cpp | 67 uint32_t div = roundf(j * 255.0f / i);
|
/external/webkit/Source/WebCore/platform/mac/ |
PopupMenuMac.mm | 171 float vertOffset = roundf((NSMaxY(r) - NSMaxY(titleFrame)) + NSHeight(titleFrame)); 194 wkPopupMenu(menu, location, roundf(NSWidth(r)), dummyView.get(), index, font);
|