Searched refs:roundedCornerFrame (Results 1 – 3 of 3) sorted by relevance
347 public RoundedCorners insetWithFrame(Rect frame, Rect roundedCornerFrame) { in insetWithFrame() argument348 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()
302 final Rect roundedCornerFrame = new Rect(mRoundedCornerFrame); in calculateRelativeRoundedCorners() local305 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()
476 final Rect roundedCornerFrame = new Rect(task.getBounds()); in adjustInsetsForRoundedCorners() local479 state.setRoundedCornerFrame(roundedCornerFrame); in adjustInsetsForRoundedCorners()