Searched refs:slack (Results 1 – 1 of 1) sorted by relevance
290 int slack = (int) (DISPLAY_CUTOUT_SLACK_DP * mDisplayMetrics.density); in calculateBoundsWithInsets() local292 left = Math.max(left, cutout.getSafeInsetLeft() + slack); in calculateBoundsWithInsets()295 top = Math.max(top, cutout.getSafeInsetTop() + slack); in calculateBoundsWithInsets()298 right = Math.max(right, cutout.getSafeInsetRight() + slack); in calculateBoundsWithInsets()301 bottom = Math.max(bottom, cutout.getSafeInsetBottom() + slack); in calculateBoundsWithInsets()