Home
last modified time | relevance | path

Searched refs:existingRect (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/painting/
DPaintAggregator.cpp203 const IntRect& existingRect = m_update.paintRects[i]; in invalidateRect() local
204 if (existingRect.contains(rect)) // Optimize out redundancy. in invalidateRect()
206 if (rect.intersects(existingRect) || sharesEdge(rect, existingRect)) { in invalidateRect()
208 IntRect combinedRect = unionRect(existingRect, rect); in invalidateRect()
324 const IntRect& existingRect = m_update.paintRects[i]; in shouldInvalidateScrollRect() local
325 if (m_update.scrollRect.contains(existingRect)) in shouldInvalidateScrollRect()
326 paintArea += calculateArea(existingRect); in shouldInvalidateScrollRect()
361 const IntRect& existingRect = m_update.paintRects[i]; in combinePaintRects() local
362 if (m_update.scrollRect.contains(existingRect)) in combinePaintRects()
363 inner.unite(existingRect); in combinePaintRects()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DRectTest.java29 Rect existingRect = new Rect(1, 2, 3, 4); in secondConstructorSetsCoordinates() local
30 Rect r = new Rect(existingRect); in secondConstructorSetsCoordinates()