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

/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp377 // #0 - backdrop (content + caption)
378 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
380 // Usually the backdrop cannot be seen since it will be entirely covered by the content.
384 // backdrop against the content and draw the remaining part of it. It will then draw the
386 // cropped to the backdrop (since that indicates a shrinking of the window).
395 const Rect backdrop = nodeBounds(*nodes[0]); local
400 content.translate(backdrop.left, backdrop.top);
401 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
402 // Content doesn't entirely overlap backdrop, s
[all...]
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp139 // #0 - backdrop (content + caption)
140 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
142 // Usually the backdrop cannot be seen since it will be entirely covered by the content. While
144 // backdrop against the content and draw the remaining part of it. It will then draw the content
145 // cropped to the backdrop (since that indicates a shrinking of the window).
154 const Rect backdrop = nodeBounds(*nodes[0]); local
158 content.translate(backdrop.left, backdrop.top);
159 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) {
160 // Content doesn't entirely overlap backdrop, s
[all...]

Completed in 54 milliseconds