Searched defs:backdrop (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp144 // #0 - backdrop (content + caption)
145 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
147 // Usually the backdrop cannot be seen since it will be entirely covered by the content. While
149 // backdrop against the content and draw the remaining part of it. It will then draw the content
150 // cropped to the backdrop (since that indicates a shrinking of the window).
159 const Rect backdrop = nodeBounds(*nodes[0]); local
163 content.translate(backdrop.left, backdrop.top);
164 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
165 // Content doesn't entirely overlap backdrop, s
[all...]

Completed in 206 milliseconds