Searched refs:regionProto (Results 1 – 4 of 4) sorted by relevance
51 static void writeToProto(const Region& region, perfetto::protos::RegionProto* regionProto);52 static void readFromProto(const perfetto::protos::RegionProto& regionProto, Region& outRegion);
64 perfetto::protos::RegionProto* regionProto) { in writeToProto() argument73 writeToProto(*head, regionProto->add_rect()); in writeToProto()78 void LayerProtoHelper::readFromProto(const perfetto::protos::RegionProto& regionProto, in readFromProto() argument80 for (int i = 0; i < regionProto.rect_size(); i++) { in readFromProto()82 readFromProto(regionProto.rect(i), rect); in readFromProto()
126 const perfetto::protos::RegionProto& regionProto) { in generateRegion() argument128 for (int i = 0; i < regionProto.rect_size(); i++) { in generateRegion()129 const perfetto::protos::RectProto& rectProto = regionProto.rect(i); in generateRegion()
141 const perfetto::protos::RegionProto& regionProto);