Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSnapshot.cpp207 state->dangerRects[i] = bounds; in setClippingRoundRect()
209 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; in setClippingRoundRect()
210 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius; in setClippingRoundRect()
211 state->dangerRects[1].left = state->dangerRects[3].left = bounds.right - radius; in setClippingRoundRect()
212 state->dangerRects[2].top = state->dangerRects[3].top = bounds.bottom - radius; in setClippingRoundRect()
214 transform->mapRect(state->dangerRects[i]); in setClippingRoundRect()
217 state->dangerRects[i].snapGeometryToPixelBoundaries(true); in setClippingRoundRect()
DSnapshot.h53 return rect.intersects(dangerRects[0]) in areaRequiresRoundRectClip()
54 || rect.intersects(dangerRects[1]) in areaRequiresRoundRectClip()
55 || rect.intersects(dangerRects[2]) in areaRequiresRoundRectClip()
56 || rect.intersects(dangerRects[3]); in areaRequiresRoundRectClip()
61 Rect dangerRects[4]; variable