Searched refs:contentBounds (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 452 Rect contentBounds; in draw() local 466 contentBounds.set(x, y, x + mContentDrawBounds.getWidth(), in draw() 473 if (targetBounds.left < contentBounds.left) { in draw() 476 contentBounds.left, targetBounds.bottom, in draw() 481 targetBounds.left = std::min(contentBounds.left, targetBounds.right); in draw() 485 if (targetBounds.right > contentBounds.right && in draw() 488 if (mCanvas->clipRect(contentBounds.right, targetBounds.top, in draw() 494 targetBounds.right = std::max(targetBounds.left, contentBounds.right); in draw() 498 if (targetBounds.top < contentBounds.top && in draw() 502 contentBounds.top, in draw() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 975 final Rect contentBounds = mTmpRect2; in adjustForIME() local 979 contentBounds.set(displayContentRect); in adjustForIME() 980 int imeTop = Math.max(imeWin.getFrameLw().top, contentBounds.top); in adjustForIME() 983 if (contentBounds.bottom > imeTop) { in adjustForIME() 984 contentBounds.bottom = imeTop; in adjustForIME() 987 final int yOffset = displayContentRect.bottom - contentBounds.bottom; in adjustForIME()
|
/frameworks/base/core/java/android/widget/ |
D | RelativeLayout.java | 602 final Rect contentBounds = mContentBounds; in onMeasure() local 603 Gravity.apply(mGravity, right - left, bottom - top, selfBounds, contentBounds, in onMeasure() 606 final int horizontalOffset = contentBounds.left - left; in onMeasure() 607 final int verticalOffset = contentBounds.top - top; in onMeasure()
|