Home
last modified time | relevance | path

Searched refs:roundedCornerFrame (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/
DRoundedCorners.java347 public RoundedCorners insetWithFrame(Rect frame, Rect roundedCornerFrame) { in insetWithFrame() argument
348 int insetLeft = frame.left - roundedCornerFrame.left; in insetWithFrame()
349 int insetTop = frame.top - roundedCornerFrame.top; in insetWithFrame()
350 int insetRight = roundedCornerFrame.right - frame.right; in insetWithFrame()
351 int insetBottom = roundedCornerFrame.bottom - frame.bottom; in insetWithFrame()
366 centerX = roundedCornerFrame.width() - radius; in insetWithFrame()
370 centerX = roundedCornerFrame.width() - radius; in insetWithFrame()
371 centerY = roundedCornerFrame.height() - radius; in insetWithFrame()
375 centerY = roundedCornerFrame.height() - radius; in insetWithFrame()
DInsetsState.java302 final Rect roundedCornerFrame = new Rect(mRoundedCornerFrame); in calculateRelativeRoundedCorners() local
305 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners()
306 roundedCornerFrame.inset(insets); in calculateRelativeRoundedCorners()
309 if (!roundedCornerFrame.isEmpty() && !roundedCornerFrame.equals(mDisplayFrame)) { in calculateRelativeRoundedCorners()
310 return mRoundedCorners.insetWithFrame(frame, roundedCornerFrame); in calculateRelativeRoundedCorners()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java476 final Rect roundedCornerFrame = new Rect(task.getBounds()); in adjustInsetsForRoundedCorners() local
479 state.setRoundedCornerFrame(roundedCornerFrame); in adjustInsetsForRoundedCorners()