Home
last modified time | relevance | path

Searched refs:lroundf (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/frame/
DScreen.cpp55 return lroundf(screenRect(m_frame->view()).height() * page->deviceScaleFactor()); in height()
65 return lroundf(screenRect(m_frame->view()).width() * page->deviceScaleFactor()); in width()
89 return lroundf(screenAvailableRect(m_frame->view()).x() * page->deviceScaleFactor()); in availLeft()
99 return lroundf(screenAvailableRect(m_frame->view()).y() * page->deviceScaleFactor()); in availTop()
109 return lroundf(screenAvailableRect(m_frame->view()).height() * page->deviceScaleFactor()); in availHeight()
119 return lroundf(screenAvailableRect(m_frame->view()).width() * page->deviceScaleFactor()); in availWidth()
DDOMWindow.cpp1097 return lroundf(page->chrome().windowRect().height() * page->deviceScaleFactor()); in outerHeight()
1111 return lroundf(page->chrome().windowRect().width() * page->deviceScaleFactor()); in outerWidth()
1157 return lroundf(page->chrome().windowRect().x() * page->deviceScaleFactor()); in screenX()
1171 return lroundf(page->chrome().windowRect().y() * page->deviceScaleFactor()); in screenY()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontMetrics.h91 return lroundf(m_ascent);
98 return lroundf(m_descent);
107 int lineGap() const { return lroundf(m_lineGap); } in lineGap()
108 int lineSpacing() const { return lroundf(m_lineSpacing); } in lineSpacing()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontWin.cpp105 offsets[i].du = lroundf(translations[i].x()); in drawGlyphs()
106 offsets[i].dv = -lroundf(currentWidth - translations[i].y()); in drawGlyphs()
123 …int lastHorizontalOffsetRounded = lroundf(horizontalOffset); // The rounded offset of the left sid… in drawGlyphs()
135 advances[i] = lroundf(horizontalOffset) - lastHorizontalOffsetRounded; in drawGlyphs()
191 …state.draw(graphicsContext, primaryFont()->platformData(), hdc, lroundf(point.x()), lroundf(point.… in drawComplexText()
DSimpleFontDataWin.cpp116 winFont.lfHeight = -lroundf(scaledSize); in platformCreateScaledFontData()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp123 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
183 const float scaledSize = lroundf(fontDescription.computedSize() * scaleFactor); in platformCreateScaledFontData()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DIntPoint.h63 m_x = lroundf(static_cast<float>(m_x * sx)); in scale()
64 m_y = lroundf(static_cast<float>(m_y * sy)); in scale()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DFontHarfBuzz.cpp136 x + SkIntToScalar(lroundf(translations[i].x())), in drawGlyphs()
137 y + -SkIntToScalar(-lroundf(currentWidth - translations[i].y()))); in drawGlyphs()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderInputSpeech.cpp51 …int speechButtonSize = lroundf(std::min(std::max(minSpeechButtonSize, defaultSpeechButtonSize * fo… in adjustInputFieldSpeechButtonStyle()
DRenderThemeChromiumSkia.cpp210 …int cancelButtonSize = lroundf(std::min(std::max(minCancelButtonSize, defaultCancelButtonSize * fo… in adjustSearchFieldCancelButtonStyle()
264 …int magnifierSize = lroundf(std::min(std::max(minSearchFieldResultsDecorationSize, defaultSearchFi… in adjustSearchFieldResultsDecorationStyle()
DInlineFlowBox.cpp76 int snappedX = lroundf(x()); in roundedFrameRect()
77 int snappedY = lroundf(y()); in roundedFrameRect()
79 int snappedMaxX = lroundf(x() + width()); in roundedFrameRect()
80 int snappedMaxY = lroundf(y() + height()); in roundedFrameRect()
DRenderBoxModelObject.cpp994 space = lroundf((float)(areaSize - numberOfTiles * tileSize) / (numberOfTiles - 1)); in getSpace()
1073 long nrTiles = max(1l, lroundf((float)positioningAreaSize.width() / fillTileSize.width())); in calculateBackgroundImageGeometry()
1087 … long nrTiles = max(1l, lroundf((float)positioningAreaSize.height() / fillTileSize.height())); in calculateBackgroundImageGeometry()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbar.h86 virtual int value() const { return lroundf(m_currentPos); } in value()
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryEvaluator.cpp368 height = lroundf(height * frame->page()->deviceScaleFactor()); in deviceHeightMediaFeatureEval()
384 width = lroundf(width * frame->page()->deviceScaleFactor()); in deviceWidthMediaFeatureEval()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm225 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h96 inline long lroundf(float num) { return static_cast<long>(roundf(num)); } in lroundf() function
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DColor.cpp64 return max(0, min(static_cast<int>(lroundf(255.0f * f)), 255)); in colorFloatToRGBAByte()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp3725 int adjustedPageX = lroundf(pagePoint.x() / scaleFactor); in handleTouchEvent()
3726 int adjustedPageY = lroundf(pagePoint.y() / scaleFactor); in handleTouchEvent()
3727 int adjustedRadiusX = lroundf(point.radiusX() / scaleFactor); in handleTouchEvent()
3728 int adjustedRadiusY = lroundf(point.radiusY() / scaleFactor); in handleTouchEvent()
/external/clang/lib/Headers/
Dtgmath.h1017 __tg_lround(float __x) {return lroundf(__x);} in __tg_lround()
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_mac.mm90 std::max(0, std::min(static_cast<int>(lroundf(255.0f * a)), 255)) << 24 |
91 std::max(0, std::min(static_cast<int>(lroundf(255.0f * r)), 255)) << 16 |
92 std::max(0, std::min(static_cast<int>(lroundf(255.0f * g)), 255)) << 8 |
93 std::max(0, std::min(static_cast<int>(lroundf(255.0f * b)), 255));
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac.mm286 std::max(0, std::min(static_cast<int>(lroundf(255.0f * a)), 255)) << 24 |
287 std::max(0, std::min(static_cast<int>(lroundf(255.0f * r)), 255)) << 16 |
288 std::max(0, std::min(static_cast<int>(lroundf(255.0f * g)), 255)) << 8 |
289 std::max(0, std::min(static_cast<int>(lroundf(255.0f * b)), 255));
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp554 return lroundf(value / zoomFactor); in adjustForLocalZoom()