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.java214 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90 in populateViewportLocked()
217 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
218 viewport.deviceHeight = isRotated ? info.width : info.height; in populateViewportLocked()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp141 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 in setDisplayInfo() local
148 v.logicalRight = isRotated ? height : width; in setDisplayInfo()
149 v.logicalBottom = isRotated ? width : height; in setDisplayInfo()
152 v.physicalRight = isRotated ? height : width; in setDisplayInfo()
153 v.physicalBottom = isRotated ? width : height; in setDisplayInfo()
154 v.deviceWidth = isRotated ? height : width; in setDisplayInfo()
155 v.deviceHeight = isRotated ? width : height; in setDisplayInfo()