Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java219 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90 in populateViewportLocked()
222 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
223 viewport.deviceHeight = isRotated ? info.width : info.height; in populateViewportLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp207 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 in createDisplayViewport() local
214 v.logicalRight = isRotated ? height : width; in createDisplayViewport()
215 v.logicalBottom = isRotated ? width : height; in createDisplayViewport()
218 v.physicalRight = isRotated ? height : width; in createDisplayViewport()
219 v.physicalBottom = isRotated ? width : height; in createDisplayViewport()
220 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()
221 v.deviceHeight = isRotated ? width : height; in createDisplayViewport()