Home
last modified time | relevance | path

Searched refs:rectProto (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp62 RectProto* rectProto = getRectProto(); in writeToProto() local
63 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() local
75 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()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp136 const RectProto& rectProto = regionProto.rect(i); in generateRegion() local
137 region.rects.push_back(generateRect(rectProto)); in generateRegion()
143 LayerProtoParser::Rect LayerProtoParser::generateRect(const RectProto& rectProto) { in generateRect() argument
145 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() argument
155 rect.left = rectProto.left(); in generateFloatRect()
156 rect.top = rectProto.top(); in generateFloatRect()
[all …]
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h147 static LayerProtoParser::Rect generateRect(const RectProto& rectProto);
148 static LayerProtoParser::FloatRect generateFloatRect(const FloatRectProto& rectProto);
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DLayersTrace.java195 for (RectProto rectProto : layer.mProto.visibleRegion.rect) { in coversRegion()
196 Rect r = extract(rectProto); in coversRegion()