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

/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp452 Rect contentBounds; local
466 contentBounds.set(x, y, x + mContentDrawBounds.getWidth(),
473 if (targetBounds.left < contentBounds.left) {
476 contentBounds.left, targetBounds.bottom,
481 targetBounds.left = std::min(contentBounds.left, targetBounds.right);
485 if (targetBounds.right > contentBounds.right &&
488 if (mCanvas->clipRect(contentBounds.right, targetBounds.top,
494 targetBounds.right = std::max(targetBounds.left, contentBounds.right);
498 if (targetBounds.top < contentBounds.top &&
502 contentBounds
[all...]

Completed in 486 milliseconds