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.java667 private void subtractInsets(Rect frame, Rect layoutFrame, Rect insetFrame, Rect displayFrame) { in subtractInsets() argument
668 … final int left = Math.max(0, insetFrame.left - Math.max(layoutFrame.left, displayFrame.left)); in subtractInsets()
669 final int top = Math.max(0, insetFrame.top - Math.max(layoutFrame.top, displayFrame.top)); in subtractInsets()
670 … final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right); in subtractInsets()
671 …al int bottom = Math.max(0, Math.min(layoutFrame.bottom, displayFrame.bottom) - insetFrame.bottom); in subtractInsets()