Searched refs:intersectBounds (Results 1 – 1 of 1) sorted by relevance
2579 Rect inOutBounds, Rect intersectBounds, Rect intersectInsets) { in intersectWithInsetsIfFits() argument2580 if (inOutBounds.right <= intersectBounds.right) { in intersectWithInsetsIfFits()2582 Math.min(intersectBounds.right - intersectInsets.right, inOutBounds.right); in intersectWithInsetsIfFits()2584 if (inOutBounds.bottom <= intersectBounds.bottom) { in intersectWithInsetsIfFits()2586 Math.min(intersectBounds.bottom - intersectInsets.bottom, inOutBounds.bottom); in intersectWithInsetsIfFits()2588 if (inOutBounds.left >= intersectBounds.left) { in intersectWithInsetsIfFits()2590 Math.max(intersectBounds.left + intersectInsets.left, inOutBounds.left); in intersectWithInsetsIfFits()2592 if (inOutBounds.top >= intersectBounds.top) { in intersectWithInsetsIfFits()2594 Math.max(intersectBounds.top + intersectInsets.top, inOutBounds.top); in intersectWithInsetsIfFits()