Searched refs:intersectBounds (Results 1 – 1 of 1) sorted by relevance
2057 Rect inOutBounds, Rect intersectBounds, Rect intersectInsets) { in intersectWithInsetsIfFits() argument2058 if (inOutBounds.right <= intersectBounds.right) { in intersectWithInsetsIfFits()2060 Math.min(intersectBounds.right - intersectInsets.right, inOutBounds.right); in intersectWithInsetsIfFits()2062 if (inOutBounds.bottom <= intersectBounds.bottom) { in intersectWithInsetsIfFits()2064 Math.min(intersectBounds.bottom - intersectInsets.bottom, inOutBounds.bottom); in intersectWithInsetsIfFits()2066 if (inOutBounds.left >= intersectBounds.left) { in intersectWithInsetsIfFits()2068 Math.max(intersectBounds.left + intersectInsets.left, inOutBounds.left); in intersectWithInsetsIfFits()2070 if (inOutBounds.top >= intersectBounds.top) { in intersectWithInsetsIfFits()2072 Math.max(intersectBounds.top + intersectInsets.top, inOutBounds.top); in intersectWithInsetsIfFits()