Home
last modified time | relevance | path

Searched refs:isRotated (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java222 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90 in populateViewportLocked()
225 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
226 viewport.deviceHeight = isRotated ? info.width : info.height; in populateViewportLocked()
/frameworks/native/services/surfaceflinger/
DLayerStats.h61 static bool isRotated(int32_t transform);
DLayerStats.cpp172 if (isRotated(layer->hwcTransform)) { in scaleRatioWH()
221 bool LayerStats::isRotated(int32_t transform) { in isRotated() function in android::LayerStats
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp207 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 in createDisplayViewport() local
214 v.logicalRight = isRotated ? height : width; in createDisplayViewport()
215 v.logicalBottom = isRotated ? width : height; in createDisplayViewport()
218 v.physicalRight = isRotated ? height : width; in createDisplayViewport()
219 v.physicalBottom = isRotated ? width : height; in createDisplayViewport()
220 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()
221 v.deviceHeight = isRotated ? width : height; in createDisplayViewport()