Home
last modified time | relevance | path

Searched refs:limitedSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp71 const auto limitedSize = limitSize(size); in FramebufferSurface() local
72 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in FramebufferSurface()
82 const auto limitedSize = limitSize(newSize); in resizeBuffers() local
83 mConsumer->setDefaultBufferSize(limitedSize.width, limitedSize.height); in resizeBuffers()
173 ui::Size limitedSize = size; in limitSizeInternal() local
177 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 …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp710 const auto limitedSize = limitSurfaceSize(newWidth, newHeight); in resizeSurface() local
711 mWidth = limitedSize.width; in resizeSurface()
712 mHeight = limitedSize.height; in resizeSurface()