Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp66 RectProto* rectProto = getRectProto(); in writeToProto() local
67 rectProto->set_left(rect.left); in writeToProto()
68 rectProto->set_top(rect.top); in writeToProto()
69 rectProto->set_bottom(rect.bottom); in writeToProto()
70 rectProto->set_right(rect.right); in writeToProto()
78 FloatRectProto* rectProto = getFloatRectProto(); in writeToProto() local
79 rectProto->set_left(rect.left); in writeToProto()
80 rectProto->set_top(rect.top); in writeToProto()
81 rectProto->set_bottom(rect.bottom); in writeToProto()
82 rectProto->set_right(rect.right); in writeToProto()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp124 const RectProto& rectProto = regionProto.rect(i); in generateRegion() local
125 region.rects.push_back(generateRect(rectProto)); in generateRegion()
131 LayerProtoParser::Rect LayerProtoParser::generateRect(const RectProto& rectProto) { in generateRect() argument
133 rect.left = rectProto.left(); in generateRect()
134 rect.top = rectProto.top(); in generateRect()
135 rect.right = rectProto.right(); in generateRect()
136 rect.bottom = rectProto.bottom(); in generateRect()
141 LayerProtoParser::FloatRect LayerProtoParser::generateFloatRect(const FloatRectProto& rectProto) { in generateFloatRect() argument
143 rect.left = rectProto.left(); in generateFloatRect()
144 rect.top = rectProto.top(); in generateFloatRect()
[all …]
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h137 static LayerProtoParser::Rect generateRect(const RectProto& rectProto);
138 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);