Home
last modified time | relevance | path

Searched refs:findInsetForSide (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java106 int topInset = findInsetForSide(displaySize, boundingRects, Gravity.TOP); in computeSafeInsets()
107 int bottomInset = findInsetForSide(displaySize, boundingRects, Gravity.BOTTOM); in computeSafeInsets()
113 int leftInset = findInsetForSide(displaySize, boundingRects, Gravity.LEFT); in computeSafeInsets()
114 int right = findInsetForSide(displaySize, boundingRects, Gravity.RIGHT); in computeSafeInsets()
122 private static int findInsetForSide(Size display, List<Rect> boundingRects, int gravity) { in findInsetForSide() method in WmDisplayCutout