Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java854 private void subtractInsets(Rect frame, Rect layoutFrame, Rect insetFrame, Rect displayFrame) { in subtractInsets() argument
855 … final int left = Math.max(0, insetFrame.left - Math.max(layoutFrame.left, displayFrame.left)); in subtractInsets()
856 final int top = Math.max(0, insetFrame.top - Math.max(layoutFrame.top, displayFrame.top)); in subtractInsets()
857 … final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right); in subtractInsets()
858 …al int bottom = Math.max(0, Math.min(layoutFrame.bottom, displayFrame.bottom) - insetFrame.bottom); in subtractInsets()