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

/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDevice.java214 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90
217 viewport.deviceWidth = isRotated ? info.height : info.width;
218 viewport.deviceHeight = isRotated ? info.width : info.height;
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DNavBarTuner.java94 boolean isRotated = display.getRotation() == Surface.ROTATION_90
98 boolean isPhoneLandscape = isRotated && (config.smallestScreenWidthDp < 600);
117 if (isRotated) {
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp141 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 local
148 v.logicalRight = isRotated ? height : width;
149 v.logicalBottom = isRotated ? width : height;
152 v.physicalRight = isRotated ? height : width;
153 v.physicalBottom = isRotated ? width : height;
154 v.deviceWidth = isRotated ? height : width;
155 v.deviceHeight = isRotated ? width : height;

Completed in 161 milliseconds