Searched refs:limitedSize (Results 1 – 2 of 2) sorted by relevance
71 const auto limitedSize = limitSize(size); in FramebufferSurface() local72 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in FramebufferSurface()82 const auto limitedSize = limitSize(newSize); in resizeBuffers() local83 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in resizeBuffers()173 ui::Size limitedSize = size; in limitSizeInternal() local177 limitedSize.height = maxSize.width / aspectRatio; in limitSizeInternal()178 limitedSize.width = maxSize.width; in limitSizeInternal()181 if (limitedSize.height > maxSize.height && maxSize.height != 0) { in limitSizeInternal()183 limitedSize.height = maxSize.height; in limitSizeInternal()184 limitedSize.width = maxSize.height * aspectRatio; in limitSizeInternal()[all …]
710 const auto limitedSize = limitSurfaceSize(newWidth, newHeight); in resizeSurface() local711 mWidth = limitedSize.width; in resizeSurface()712 mHeight = limitedSize.height; in resizeSurface()