Searched refs:oldViewport (Results 1 – 1 of 1) sorted by relevance
205 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport() local209 getNonRotatedSize(oldViewport, oldDisplayWidth, oldDisplayHeight); in setDisplayViewport()214 if (oldViewport.displayId != viewport.displayId || oldDisplayWidth != newDisplayWidth || in setDisplayViewport()225 } else if (oldViewport.orientation != viewport.orientation) { in setDisplayViewport()234 switch (oldViewport.orientation) { in setDisplayViewport()237 x = oldViewport.deviceHeight - y; in setDisplayViewport()241 x = oldViewport.deviceWidth - x; in setDisplayViewport()242 y = oldViewport.deviceHeight - y; in setDisplayViewport()247 y = oldViewport.deviceWidth - temp; in setDisplayViewport()