Searched refs:intersectBounds (Results 1 – 1 of 1) sorted by relevance
2341 Rect inOutBounds, Rect intersectBounds, Rect intersectInsets) { in intersectWithInsetsIfFits() argument2342 if (inOutBounds.right <= intersectBounds.right) { in intersectWithInsetsIfFits()2344 Math.min(intersectBounds.right - intersectInsets.right, inOutBounds.right); in intersectWithInsetsIfFits()2346 if (inOutBounds.bottom <= intersectBounds.bottom) { in intersectWithInsetsIfFits()2348 Math.min(intersectBounds.bottom - intersectInsets.bottom, inOutBounds.bottom); in intersectWithInsetsIfFits()2350 if (inOutBounds.left >= intersectBounds.left) { in intersectWithInsetsIfFits()2352 Math.max(intersectBounds.left + intersectInsets.left, inOutBounds.left); in intersectWithInsetsIfFits()2354 if (inOutBounds.top >= intersectBounds.top) { in intersectWithInsetsIfFits()2356 Math.max(intersectBounds.top + intersectInsets.top, inOutBounds.top); in intersectWithInsetsIfFits()