Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayer.cpp2209 int32_t ySurfaceInset = info.surfaceInset; in fillInputFrameInfo() local
2217 ySurfaceInset = std::round(ySurfaceInset * yScale); in fillInputFrameInfo()
2227 ySurfaceInset = (ySurfaceInset >= 0) in fillInputFrameInfo()
2228 ? std::min(ySurfaceInset, transformedLayerBounds.getHeight() / 2) in fillInputFrameInfo()
2239 if (!__builtin_add_overflow(transformedLayerBounds.top, ySurfaceInset, &tmp)) in fillInputFrameInfo()
2241 if (!__builtin_sub_overflow(transformedLayerBounds.bottom, ySurfaceInset, &tmp)) in fillInputFrameInfo()