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

/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDevice.java219 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90
222 viewport.deviceWidth = isRotated ? info.height : info.width;
223 viewport.deviceHeight = isRotated ? info.width : info.height;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp190 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 local
197 v.logicalRight = isRotated ? height : width;
198 v.logicalBottom = isRotated ? width : height;
201 v.physicalRight = isRotated ? height : width;
202 v.physicalBottom = isRotated ? width : height;
203 v.deviceWidth = isRotated ? height : width;
204 v.deviceHeight = isRotated ? width : height;

Completed in 55 milliseconds