Searched refs:calculateRelativeTo (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 56 .calculateRelativeTo(new Rect(5, 5, 95, 195)); in calculateRelativeTo_top() 65 .calculateRelativeTo(new Rect(5, 5, 195, 95)); in calculateRelativeTo_left() 74 .calculateRelativeTo(new Rect(5, 5, 95, 195)); in calculateRelativeTo_bottom() 83 .calculateRelativeTo(new Rect(5, 5, 195, 95)); in calculateRelativeTo_right() 92 .calculateRelativeTo(new Rect(5, 10, 95, 180)); in calculateRelativeTo_bounds()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 83 public WmDisplayCutout calculateRelativeTo(Rect frame) { in calculateRelativeTo() method in WmDisplayCutout
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 1057 final WmDisplayCutout c = displayCutout.calculateRelativeTo(mDisplayFrame); in computeFrameLw() 1102 mDisplayCutout = displayCutout.calculateRelativeTo(mFrame); in computeFrameLw()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 4616 outDisplayCutout.set(displayFrames.mDisplayCutout.calculateRelativeTo(outFrame) in getLayoutHintLw()
|