Searched refs:jsonPaint (Results 1 – 2 of 2) sorted by relevance
/external/skia/tools/json/ |
D | SkJSONRenderer.cpp | 161 static void apply_paint_color(Json::Value& jsonPaint, SkPaint* target) { in apply_paint_color() argument 162 if (jsonPaint.isMember(SKJSONCANVAS_ATTRIBUTE_COLOR)) { in apply_paint_color() 163 Json::Value color = jsonPaint[SKJSONCANVAS_ATTRIBUTE_COLOR]; in apply_paint_color() 281 static void apply_paint_shader(Json::Value& jsonPaint, SkPaint* target) { in apply_paint_shader() argument 282 if (jsonPaint.isMember(SKJSONCANVAS_ATTRIBUTE_SHADER)) { in apply_paint_shader() 283 Json::Value jsonShader = jsonPaint[SKJSONCANVAS_ATTRIBUTE_SHADER]; in apply_paint_shader() 292 static void apply_paint_patheffect(Json::Value& jsonPaint, SkPaint* target) { in apply_paint_patheffect() argument 293 if (jsonPaint.isMember(SKJSONCANVAS_ATTRIBUTE_PATHEFFECT)) { in apply_paint_patheffect() 294 Json::Value jsonPathEffect = jsonPaint[SKJSONCANVAS_ATTRIBUTE_PATHEFFECT]; in apply_paint_patheffect() 303 static void apply_paint_maskfilter(Json::Value& jsonPaint, SkPaint* target) { in apply_paint_maskfilter() argument [all …]
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 1121 static void extract_json_paint_color(Json::Value& jsonPaint, SkPaint* target) { in extract_json_paint_color() argument 1122 if (jsonPaint.isMember(SKDEBUGCANVAS_ATTRIBUTE_COLOR)) { in extract_json_paint_color() 1123 target->setColor(get_json_color(jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_COLOR])); in extract_json_paint_color() 1127 static void extract_json_paint_shader(Json::Value& jsonPaint, UrlDataManager& urlDataManager, in extract_json_paint_shader() argument 1129 if (jsonPaint.isMember(SKDEBUGCANVAS_ATTRIBUTE_SHADER)) { in extract_json_paint_shader() 1130 Json::Value jsonShader = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_SHADER]; in extract_json_paint_shader() 1139 static void extract_json_paint_patheffect(Json::Value& jsonPaint, UrlDataManager& urlDataManager, in extract_json_paint_patheffect() argument 1141 if (jsonPaint.isMember(SKDEBUGCANVAS_ATTRIBUTE_PATHEFFECT)) { in extract_json_paint_patheffect() 1142 Json::Value jsonPathEffect = jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_PATHEFFECT]; in extract_json_paint_patheffect() 1151 static void extract_json_paint_maskfilter(Json::Value& jsonPaint, UrlDataManager& urlDataManager, in extract_json_paint_maskfilter() argument [all …]
|