Searched refs:limitedSize (Results 1 – 2 of 2) sorted by relevance
79 const auto limitedSize = limitSize(size); in FramebufferSurface() local80 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in FramebufferSurface()86 const auto limitedSize = limitSize(newSize); in resizeBuffers() local87 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in resizeBuffers()187 ui::Size limitedSize = size; in limitSizeInternal() local191 limitedSize.height = maxSize.width / aspectRatio; in limitSizeInternal()192 limitedSize.width = maxSize.width; in limitSizeInternal()195 if (limitedSize.height > maxSize.height && maxSize.height != 0) { in limitSizeInternal()197 limitedSize.height = maxSize.height; in limitSizeInternal()198 limitedSize.width = maxSize.height * aspectRatio; in limitSizeInternal()[all …]
523 const auto limitedSize = limitSurfaceSize(newWidth, newHeight); in resizeSurface() local524 mWidth = limitedSize.width; in resizeSurface()525 mHeight = limitedSize.height; in resizeSurface()