Home
last modified time | relevance | path

Searched refs:colorProto (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp135 perfetto::protos::LayerState_Color3* colorProto = proto.mutable_color(); in toProto() local
136 colorProto->set_r(layer.color.r); in toProto()
137 colorProto->set_g(layer.color.g); in toProto()
138 colorProto->set_b(layer.color.b); in toProto()
224 perfetto::protos::LayerState_Color3* colorProto = proto.mutable_color(); in toProto() local
225 colorProto->set_r(layer.bgColor.r); in toProto()
226 colorProto->set_g(layer.bgColor.g); in toProto()
227 colorProto->set_b(layer.bgColor.b); in toProto()
406 const perfetto::protos::LayerState_Color3& colorProto = proto.color(); in fromProto() local
407 layer.color.r = colorProto.r(); in fromProto()
[all …]
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp126 perfetto::protos::ColorProto* colorProto = getColorProto(); in writeToProto() local
127 colorProto->set_r(color.r); in writeToProto()
128 colorProto->set_g(color.g); in writeToProto()
129 colorProto->set_b(color.b); in writeToProto()
130 colorProto->set_a(color.a); in writeToProto()