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

/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp253 // #0 - backdrop (content + caption)
254 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
256 // Usually the backdrop cannot be seen since it will be entirely covered by the content. While
258 // backdrop against the content and draw the remaining part of it. It will then draw the content
259 // cropped to the backdrop (since that indicates a shrinking of the window).
268 const Rect backdrop = nodeBounds(*nodes[0]); local
272 content.translate(backdrop.left, backdrop.top);
273 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
274 // Content doesn't entirely overlap backdrop, s
[all...]
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp145 // #0 - backdrop (content + caption)
146 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
148 // Usually the backdrop cannot be seen since it will be entirely covered by the content. While
150 // backdrop against the content and draw the remaining part of it. It will then draw the content
151 // cropped to the backdrop (since that indicates a shrinking of the window).
160 const Rect backdrop = nodeBounds(*nodes[0]); local
164 content.translate(backdrop.left, backdrop.top);
165 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
166 // Content doesn't entirely overlap backdrop, s
[all...]

Completed in 54 milliseconds