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

/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp407 Rect contentBounds; local
421 contentBounds.set(x, y, x + mContentDrawBounds.getWidth(),
428 if (targetBounds.left < contentBounds.left) {
431 contentBounds.left, targetBounds.bottom,
436 targetBounds.left = std::min(contentBounds.left, targetBounds.right);
440 if (targetBounds.right > contentBounds.right &&
443 if (mCanvas->clipRect(contentBounds.right, targetBounds.top,
449 targetBounds.right = std::max(targetBounds.left, contentBounds.right);
453 if (targetBounds.top < contentBounds.top &&
457 contentBounds
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskStack.java975 final Rect contentBounds = mTmpRect2;
979 contentBounds.set(displayContentRect);
980 int imeTop = Math.max(imeWin.getFrameLw().top, contentBounds.top);
983 if (contentBounds.bottom > imeTop) {
984 contentBounds.bottom = imeTop;
987 final int yOffset = displayContentRect.bottom - contentBounds.bottom;
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java602 final Rect contentBounds = mContentBounds;
603 Gravity.apply(mGravity, right - left, bottom - top, selfBounds, contentBounds,
606 final int horizontalOffset = contentBounds.left - left;
607 final int verticalOffset = contentBounds.top - top;

Completed in 249 milliseconds