Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DMouseCursorController.cpp221 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport() local
225 getNonRotatedSize(oldViewport, oldDisplayWidth, oldDisplayHeight); in setDisplayViewport()
230 if (oldViewport.displayId != viewport.displayId || oldDisplayWidth != newDisplayWidth || in setDisplayViewport()
242 } else if (oldViewport.orientation != viewport.orientation) { in setDisplayViewport()
251 switch (oldViewport.orientation) { in setDisplayViewport()
254 x = oldViewport.deviceHeight - y; in setDisplayViewport()
258 x = oldViewport.deviceWidth - x; in setDisplayViewport()
259 y = oldViewport.deviceHeight - y; in setDisplayViewport()
264 y = oldViewport.deviceWidth - temp; in setDisplayViewport()