Lines Matching refs:region
52 void LayerProtoHelper::writeToProto(const Region& region, in writeToProto() argument
54 if (region.isEmpty()) { in writeToProto()
58 writeToProto(region, getRegionProto()); in writeToProto()
61 void LayerProtoHelper::writeToProto(const Region& region, RegionProto* regionProto) { in writeToProto() argument
62 if (region.isEmpty()) { in writeToProto()
66 Region::const_iterator head = region.begin(); in writeToProto()
67 Region::const_iterator const tail = region.end(); in writeToProto()
228 void LayerProtoHelper::writeToProto(const android::BlurRegion region, BlurRegion* proto) { in writeToProto() argument
229 proto->set_blur_radius(region.blurRadius); in writeToProto()
230 proto->set_corner_radius_tl(region.cornerRadiusTL); in writeToProto()
231 proto->set_corner_radius_tr(region.cornerRadiusTR); in writeToProto()
232 proto->set_corner_radius_bl(region.cornerRadiusBL); in writeToProto()
233 proto->set_corner_radius_br(region.cornerRadiusBR); in writeToProto()
234 proto->set_alpha(region.alpha); in writeToProto()
235 proto->set_left(region.left); in writeToProto()
236 proto->set_top(region.top); in writeToProto()
237 proto->set_right(region.right); in writeToProto()
238 proto->set_bottom(region.bottom); in writeToProto()