Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldController.java58 DisplayManagerInternal displayManagerInternal, int displayId, Rect foldedArea, in DisplayFoldController() argument
63 mFoldedArea = new Rect(foldedArea); in DisplayFoldController()
84 final Rect foldedArea; in setDeviceFolded() local
86 foldedArea = mOverrideFoldedArea; in setDeviceFolded()
88 foldedArea = mFoldedArea; in setDeviceFolded()
90 foldedArea = null; in setDeviceFolded()
94 if (foldedArea != null) { in setDeviceFolded()
99 final int dx = (mNonOverrideDisplayInfo.logicalWidth - foldedArea.width()) / 2 in setDeviceFolded()
100 - foldedArea.left; in setDeviceFolded()
101 final int dy = (mNonOverrideDisplayInfo.logicalHeight - foldedArea.height()) / 2 in setDeviceFolded()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java337 final Rect foldedArea = mInternal.getFoldedArea(); in printFoldedArea() local
338 if (foldedArea.isEmpty()) { in printFoldedArea()
341 pw.println("Folded area: " + foldedArea.left + "," + foldedArea.top + "," in printFoldedArea()
342 + foldedArea.right + "," + foldedArea.bottom); in printFoldedArea()