Searched refs:oldViewport (Results 1 – 1 of 1) sorted by relevance
221 const DisplayViewport oldViewport = mLocked.viewport; in setDisplayViewport() local225 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()