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.java1254 private void subtractInsets(Rect frame, Rect layoutFrame, Rect insetFrame, Rect displayFrame) { in subtractInsets() argument
1255 … final int left = Math.max(0, insetFrame.left - Math.max(layoutFrame.left, displayFrame.left)); in subtractInsets()
1256 final int top = Math.max(0, insetFrame.top - Math.max(layoutFrame.top, displayFrame.top)); in subtractInsets()
1257 … final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right); in subtractInsets()
1258 …al int bottom = Math.max(0, Math.min(layoutFrame.bottom, displayFrame.bottom) - insetFrame.bottom); in subtractInsets()