Searched refs:rectProto (Results 1 – 3 of 3) sorted by relevance
66 RectProto* rectProto = getRectProto(); in writeToProto() local67 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() local79 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()
124 const RectProto& rectProto = regionProto.rect(i); in generateRegion() local125 region.rects.push_back(generateRect(rectProto)); in generateRegion()131 LayerProtoParser::Rect LayerProtoParser::generateRect(const RectProto& rectProto) { in generateRect() argument133 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() argument143 rect.left = rectProto.left(); in generateFloatRect()144 rect.top = rectProto.top(); in generateFloatRect()[all …]
137 static LayerProtoParser::Rect generateRect(const RectProto& rectProto);138 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);