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.java268 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90 in populateViewportLocked()
271 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
272 viewport.deviceHeight = isRotated ? info.width : info.height; in populateViewportLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp296 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 in createDisplayViewport() local
303 v.logicalRight = isRotated ? height : width; in createDisplayViewport()
304 v.logicalBottom = isRotated ? width : height; in createDisplayViewport()
307 v.physicalRight = isRotated ? height : width; in createDisplayViewport()
308 v.physicalBottom = isRotated ? width : height; in createDisplayViewport()
309 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()
310 v.deviceHeight = isRotated ? width : height; in createDisplayViewport()