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

/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDevice.java207 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90
210 viewport.deviceWidth = isRotated ? info.height : info.width;
211 viewport.deviceHeight = isRotated ? info.width : info.height;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp142 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 local
149 v.logicalRight = isRotated ? height : width;
150 v.logicalBottom = isRotated ? width : height;
153 v.physicalRight = isRotated ? height : width;
154 v.physicalBottom = isRotated ? width : height;
155 v.deviceWidth = isRotated ? height : width;
156 v.deviceHeight = isRotated ? width : height;

Completed in 34 milliseconds