Lines Matching refs:viewport
204 Rect viewport(newViewport); in setProjection() local
222 if (viewport.isEmpty()) { in setProjection()
227 viewport = Rect(w, h); in setProjection()
231 std::swap(viewport.right, viewport.bottom); in setProjection()
236 float src_width = viewport.width(); in setProjection()
237 float src_height = viewport.height(); in setProjection()
246 float src_x = viewport.left; in setProjection()
247 float src_y = viewport.top; in setProjection()
270 Rect scissor = globalTransform.transform(viewport); in setProjection()
286 frame, viewport, scissor, needsFiltering); in setProjection()
345 return mCompositionDisplay->getState().viewport; in getViewport()