Home
last modified time | relevance | path

Searched refs:cornerRect (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatRoundedRect.cpp100 static inline float cornerRectIntercept(float y, const FloatRect& cornerRect) in cornerRectIntercept() argument
102 ASSERT(cornerRect.height() > 0); in cornerRectIntercept()
103 return cornerRect.width() * sqrt(1 - (y * y) / (cornerRect.height() * cornerRect.height())); in cornerRectIntercept()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp756 static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, const IntRect& cornerRect) in positionScrollCornerLayer() argument
760 graphicsLayer->setDrawsContent(!cornerRect.isEmpty()); in positionScrollCornerLayer()
761 graphicsLayer->setPosition(cornerRect.location()); in positionScrollCornerLayer()
762 if (cornerRect.size() != graphicsLayer->size()) in positionScrollCornerLayer()
764 graphicsLayer->setSize(cornerRect.size()); in positionScrollCornerLayer()
801 IntRect cornerRect; in scrollCornerRect() local
804 return cornerRect; in scrollCornerRect()
807cornerRect.unite(IntRect(shouldPlaceVerticalScrollbarOnLeft() ? 0 : m_horizontalScrollbar->width(), in scrollCornerRect()
814cornerRect.unite(IntRect(shouldPlaceVerticalScrollbarOnLeft() ? 0 : (width() - m_verticalScrollbar… in scrollCornerRect()
820 return cornerRect; in scrollCornerRect()
[all …]
DScrollbarTheme.cpp293 void ScrollbarTheme::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) in paintScrollCorner() argument
295 context->fillRect(cornerRect, Color::white); in paintScrollCorner()
DScrollbarTheme.h81 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
DScrollView.h253 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderScrollbarTheme.cpp110 void RenderScrollbarTheme::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) in paintScrollCorner() argument
113 context->fillRect(cornerRect, Color::white); in paintScrollCorner()
DRenderScrollbarTheme.h46 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect) OVERRIDE;
DRenderLayerScrollableArea.cpp228 static IntRect cornerRect(const RenderStyle* style, const Scrollbar* horizontalScrollbar, const Scr… in cornerRect() function
263 …return cornerRect(m_box->style(), horizontalScrollbar(), verticalScrollbar(), m_box->pixelSnappedB… in scrollCornerRect()
1049 IntRect corner = cornerRect(m_box->style(), horizontalScrollbar(), verticalScrollbar(), bounds); in resizerCornerRect()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrameView.cpp2751 IntRect cornerRect = scrollCornerRect(); in updateScrollCorner() local
2754 if (doc && !cornerRect.isEmpty()) { in updateScrollCorner()
2780 invalidateScrollCorner(cornerRect); in updateScrollCorner()
2789 void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) in paintScrollCorner() argument
2799 context->fillRect(cornerRect, baseBackgroundColor()); in paintScrollCorner()
2800 m_scrollCorner->paintIntoRect(context, cornerRect.location(), cornerRect); in paintScrollCorner()
2804 ScrollView::paintScrollCorner(context, cornerRect); in paintScrollCorner()
DFrameView.h225 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);