Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include/ui/
DRect.h73 inline explicit Rect(const FloatRect& floatRect) { in Rect() argument
76 left = static_cast<int32_t>(floatRect.left + 0.5f); in Rect()
77 top = static_cast<int32_t>(floatRect.top + 0.5f); in Rect()
78 right = static_cast<int32_t>(floatRect.right + 0.5f); in Rect()
79 bottom = static_cast<int32_t>(floatRect.bottom + 0.5f); in Rect()
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h73 inline explicit Rect(const FloatRect& floatRect) { in Rect() argument
76 left = static_cast<int32_t>(floatRect.left + 0.5f); in Rect()
77 top = static_cast<int32_t>(floatRect.top + 0.5f); in Rect()
78 right = static_cast<int32_t>(floatRect.right + 0.5f); in Rect()
79 bottom = static_cast<int32_t>(floatRect.bottom + 0.5f); in Rect()