Searched refs:horizontalOverhangRect (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
D | ScrollView.cpp | 926 void ScrollView::calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntRect& vertic… in calculateOverhangAreasForPainting() argument 935 horizontalOverhangRect = frameRect(); in calculateOverhangAreasForPainting() 936 horizontalOverhangRect.setHeight(-physicalScrollY); in calculateOverhangAreasForPainting() 937 horizontalOverhangRect.setWidth(horizontalOverhangRect.width() - verticalScrollbarWidth); in calculateOverhangAreasForPainting() 940 horizontalOverhangRect = frameRect(); in calculateOverhangAreasForPainting() 941 horizontalOverhangRect.setY(frameRect().maxY() - height - horizontalScrollbarHeight); in calculateOverhangAreasForPainting() 942 horizontalOverhangRect.setHeight(height); in calculateOverhangAreasForPainting() 943 horizontalOverhangRect.setWidth(horizontalOverhangRect.width() - verticalScrollbarWidth); in calculateOverhangAreasForPainting() 949 …verticalOverhangRect.setHeight(frameRect().height() - horizontalOverhangRect.height() - horizontal… in calculateOverhangAreasForPainting() 951 if (horizontalOverhangRect.y() == frameRect().y()) in calculateOverhangAreasForPainting() [all …]
|
D | ScrollbarThemeMacCommon.mm | 135 …paintOverhangBackground(GraphicsContext* context, const IntRect& horizontalOverhangRect, const Int… 137 const bool hasHorizontalOverhang = !horizontalOverhangRect.isEmpty(); 149 context->fillRect(intersection(horizontalOverhangRect, dirtyRect)); 154 …icsContext* context, const IntSize& scrollOffset, const IntRect& horizontalOverhangRect, const Int… 173 const bool hasHorizontalOverhang = !horizontalOverhangRect.isEmpty(); 187 IntRect shadowRect = horizontalOverhangRect; 191 toolbarShadowHeight = std::min(horizontalOverhangRect.height(), kShadowSize); 192 } else if (horizontalOverhangRect.height() < 2 * kShadowSize + kToolbarShadowOffset) { 194 shadowRect.setHeight((horizontalOverhangRect.height() + 1) / 2); 195 …toolbarShadowHeight = horizontalOverhangRect.height() - shadowRect.height() - kToolbarShadowOffset; [all …]
|
D | ScrollbarTheme.cpp | 318 …paintOverhangBackground(GraphicsContext* context, const IntRect& horizontalOverhangRect, const Int… in paintOverhangBackground() argument 321 if (!horizontalOverhangRect.isEmpty()) in paintOverhangBackground() 322 context->fillRect(intersection(horizontalOverhangRect, dirtyRect)); in paintOverhangBackground()
|
D | ScrollView.h | 338 …void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntRect& verticalOverhangR…
|