Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowTokenTests.java146 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mDisplayContent.getLastOrientation()); in testLandscapeSeascapeRotationByApp()
154 assertEquals(SCREEN_ORIENTATION_REVERSE_LANDSCAPE, mDisplayContent.getLastOrientation()); in testLandscapeSeascapeRotationByApp()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java2462 if (req != dc.getLastOrientation() || forceUpdate) { in updateOrientationFromAppTokensLocked()
2485 final int lastOrientation = defaultDisplayContent.getLastOrientation(); in rotationNeedsUpdateLocked()
6288 proto.write(LAST_ORIENTATION, defaultDisplayContent.getLastOrientation()); in writeToProtoLocked()
6476 pw.println(defaultDisplayContent.getLastOrientation()); in dumpWindowsNoHeaderLocked()
DDisplayContent.java924 int getLastOrientation() { in getLastOrientation() method in DisplayContent