Searched refs:rectProto (Results 1 – 4 of 4) sorted by relevance
129 const perfetto::protos::RectProto& rectProto = regionProto.rect(i); in generateRegion() local130 region.rects.push_back(generateRect(rectProto)); in generateRegion()137 const perfetto::protos::RectProto& rectProto) { in generateRect() argument139 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() argument150 rect.left = rectProto.left(); in generateFloatRect()151 rect.top = rectProto.top(); in generateFloatRect()[all …]
95 void LayerProtoHelper::writeToProto(const Rect& rect, perfetto::protos::RectProto* rectProto) { in writeToProto() argument96 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() local115 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()
45 static void writeToProto(const Rect& rect, perfetto::protos::RectProto* rectProto);
142 static LayerProtoParser::Rect generateRect(const perfetto::protos::RectProto& rectProto);144 const perfetto::protos::FloatRectProto& rectProto);