/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | Screen.cpp | 55 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()
|
D | DOMWindow.cpp | 1097 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/ |
D | FontMetrics.h | 91 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/ |
D | FontWin.cpp | 105 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()
|
D | SimpleFontDataWin.cpp | 116 winFont.lfHeight = -lroundf(scaledSize); in platformCreateScaledFontData()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
D | SimpleFontDataSkia.cpp | 123 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/ |
D | IntPoint.h | 63 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/ |
D | FontHarfBuzz.cpp | 136 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/ |
D | RenderInputSpeech.cpp | 51 …int speechButtonSize = lroundf(std::min(std::max(minSpeechButtonSize, defaultSpeechButtonSize * fo… in adjustInputFieldSpeechButtonStyle()
|
D | RenderThemeChromiumSkia.cpp | 210 …int cancelButtonSize = lroundf(std::min(std::max(minCancelButtonSize, defaultCancelButtonSize * fo… in adjustSearchFieldCancelButtonStyle() 264 …int magnifierSize = lroundf(std::min(std::max(minSearchFieldResultsDecorationSize, defaultSearchFi… in adjustSearchFieldResultsDecorationStyle()
|
D | InlineFlowBox.cpp | 76 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()
|
D | RenderBoxModelObject.cpp | 994 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/ |
D | Scrollbar.h | 86 virtual int value() const { return lroundf(m_currentPos); } in value()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaQueryEvaluator.cpp | 368 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/ |
D | SimpleFontDataMac.mm | 225 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | MathExtras.h | 96 inline long lroundf(float num) { return static_cast<long>(roundf(num)); } in lroundf() function
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Color.cpp | 64 return max(0, min(static_cast<int>(lroundf(255.0f * f)), 255)); in colorFloatToRGBAByte()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | EventHandler.cpp | 3725 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/ |
D | tgmath.h | 1017 __tg_lround(float __x) {return lroundf(__x);} in __tg_lround()
|
/external/chromium/chrome/browser/renderer_host/ |
D | render_widget_host_view_mac.mm | 90 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/ |
D | render_widget_host_view_mac.mm | 286 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/ |
D | Element.cpp | 554 return lroundf(value / zoomFactor); in adjustForLocalZoom()
|