Searched refs:rectProto (Results 1 – 4 of 4) sorted by relevance
62 RectProto* rectProto = getRectProto(); in writeToProto() local63 rectProto->set_left(rect.left); in writeToProto()64 rectProto->set_top(rect.top); in writeToProto()65 rectProto->set_bottom(rect.bottom); in writeToProto()66 rectProto->set_right(rect.right); in writeToProto()74 FloatRectProto* rectProto = getFloatRectProto(); in writeToProto() local75 rectProto->set_left(rect.left); in writeToProto()76 rectProto->set_top(rect.top); in writeToProto()77 rectProto->set_bottom(rect.bottom); in writeToProto()78 rectProto->set_right(rect.right); in writeToProto()
136 const RectProto& rectProto = regionProto.rect(i); in generateRegion() local137 region.rects.push_back(generateRect(rectProto)); in generateRegion()143 LayerProtoParser::Rect LayerProtoParser::generateRect(const RectProto& rectProto) { in generateRect() argument145 rect.left = rectProto.left(); in generateRect()146 rect.top = rectProto.top(); in generateRect()147 rect.right = rectProto.right(); in generateRect()148 rect.bottom = rectProto.bottom(); in generateRect()153 LayerProtoParser::FloatRect LayerProtoParser::generateFloatRect(const FloatRectProto& rectProto) { in generateFloatRect() argument155 rect.left = rectProto.left(); in generateFloatRect()156 rect.top = rectProto.top(); in generateFloatRect()[all …]
147 static LayerProtoParser::Rect generateRect(const RectProto& rectProto);148 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
195 for (RectProto rectProto : layer.mProto.visibleRegion.rect) { in coversRegion()196 Rect r = extract(rectProto); in coversRegion()