Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp129 const perfetto::protos::RectProto& rectProto = regionProto.rect(i); in generateRegion() local
130 region.rects.push_back(generateRect(rectProto)); in generateRegion()
137 const perfetto::protos::RectProto& rectProto) { in generateRect() argument
139 rect.left = rectProto.left(); in generateRect()
140 rect.top = rectProto.top(); in generateRect()
141 rect.right = rectProto.right(); in generateRect()
142 rect.bottom = rectProto.bottom(); in generateRect()
148 const perfetto::protos::FloatRectProto& rectProto) { in generateFloatRect() argument
150 rect.left = rectProto.left(); in generateFloatRect()
151 rect.top = rectProto.top(); in generateFloatRect()
[all …]
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp95 void LayerProtoHelper::writeToProto(const Rect& rect, perfetto::protos::RectProto* rectProto) { in writeToProto() argument
96 rectProto->set_left(rect.left); in writeToProto()
97 rectProto->set_top(rect.top); in writeToProto()
98 rectProto->set_bottom(rect.bottom); in writeToProto()
99 rectProto->set_right(rect.right); in writeToProto()
114 perfetto::protos::FloatRectProto* rectProto = getFloatRectProto(); in writeToProto() local
115 rectProto->set_left(rect.left); in writeToProto()
116 rectProto->set_top(rect.top); in writeToProto()
117 rectProto->set_bottom(rect.bottom); in writeToProto()
118 rectProto->set_right(rect.right); in writeToProto()
DLayerProtoHelper.h45 static void writeToProto(const Rect& rect, perfetto::protos::RectProto* rectProto);
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h142 static LayerProtoParser::Rect generateRect(const perfetto::protos::RectProto& rectProto);
144 const perfetto::protos::FloatRectProto& rectProto);