/third_party/skia/modules/skottie/src/text/ |
D | TextValue.cpp | 41 v->fLineShift = ParseDefault((*jtxt)["ls"], 0.0f); in Parse() 48 v->fHAlign = gAlignMap[std::min<size_t>(ParseDefault<size_t>((*jtxt)["j"], 0), in Parse() 54 v->fBox.setWH(ParseDefault<SkScalar>((*jsz)[0], 0), in Parse() 55 ParseDefault<SkScalar>((*jsz)[1], 0)); in Parse() 62 v->fBox.offset(ParseDefault<SkScalar>((*jps)[0], 0), in Parse() 63 ParseDefault<SkScalar>((*jps)[1], 0)); in Parse() 73 v->fResize = gResizeMap[std::min(std::max(ParseDefault<size_t>((*jtxt)[ "rs"], 0), in Parse() 74 ParseDefault<size_t>((*jtxt)["sk_rs"], 0)), in Parse() 78 v->fMinTextSize = ParseDefault<SkScalar>((*jtxt)["mf"], 0.0f); in Parse() 79 v->fMaxTextSize = ParseDefault<SkScalar>((*jtxt)["xf"], std::numeric_limits<float>::max()); in Parse() [all …]
|
D | RangeSelector.cpp | 29 const auto idx = ParseDefault<int>(jenum, 1); in ParseEnum() 248 const auto type = ParseDefault<int>((*jrange)["t"], kRange_SelectorType); in Make()
|
/third_party/skia/modules/skottie/src/ |
D | Composition.cpp | 24 const auto refId = ParseDefault<SkString>(jlayer["refId"], SkString()); in ScopedAssetRef() 55 fMotionBlurSamples = std::min(ParseDefault<size_t>((*jmb)["spf"], 1ul), in CompositionBuilder() 57 fMotionBlurAngle = SkTPin(ParseDefault((*jmb)["sa"], 0.0f), 0.0f, 720.0f); in CompositionBuilder() 58 fMotionBlurPhase = SkTPin(ParseDefault((*jmb)["sp"], 0.0f), -360.0f, 360.0f); in CompositionBuilder() 93 } else if (ParseDefault<int>(jcomp["ddd"], 0)) { in CompositionBuilder()
|
D | Layer.cpp | 175 auto mask_inverted = ParseDefault<bool>((*m)["inv"], false); in AttachMask() 307 , fIndex (ParseDefault<int>(jlayer["ind" ], -1)) in LayerBuilder() 308 , fParentIndex(ParseDefault<int>(jlayer["parent"], -1)) in LayerBuilder() 309 , fType (ParseDefault<int>(jlayer["ty" ], -1)) in LayerBuilder() 310 , fAutoOrient (ParseDefault<int>(jlayer["ao" ], 0)) in LayerBuilder() 312 ParseDefault<float>(jlayer["ip"], 0.0f), in LayerBuilder() 313 ParseDefault<float>(jlayer["op"], 0.0f)} in LayerBuilder() 316 if (this->isCamera() || ParseDefault<int>(jlayer["ddd"], 0)) { 407 && ParseDefault(fJlayer["mb"], false); in hasMotionBlur() 514 if (ParseDefault<bool>(fJlayer["hd"], false)) { in buildRenderTree() [all …]
|
D | Skottie.cpp | 117 const auto bm_index = ParseDefault<size_t>(jobject["bm"], 0); in GetBlendMode() 205 fAssets.set(ParseDefault<SkString>((*asset)["id"], SkString()), { asset, false }); in parseAssets() 222 const auto time = ParseDefault((*m)["tm"], -1.0f), in dispatchMarkers() 223 duration = ParseDefault((*m)["dr"], -1.0f); in dispatchMarkers() 397 const auto version = ParseDefault<SkString>(json["v"], SkString()); in make() 398 const auto size = SkSize::Make(ParseDefault<float>(json["w"], 0.0f), in make() 399 ParseDefault<float>(json["h"], 0.0f)); in make() 400 const auto fps = ParseDefault<float>(json["fr"], -1.0f), in make() 401 inPoint = ParseDefault<float>(json["ip"], 0.0f), in make() 402 outPoint = std::max(ParseDefault<float>(json["op"], SK_ScalarMax), inPoint), in make()
|
D | SkottieJson.h | 24 T ParseDefault(const skjson::Value& v, const T& defaultValue) { in ParseDefault() function
|
/third_party/skia/modules/skottie/src/layers/ |
D | PrecompLayer.cpp | 171 const auto start_time = ParseDefault<float>(jlayer["st"], 0.0f), in attachPrecompLayer() 172 stretch_time = ParseDefault<float>(jlayer["sr"], 1.0f); in attachPrecompLayer() 178 layer_info->fSize = SkSize::Make(ParseDefault<float>(jlayer["w"], 0.0f), in attachPrecompLayer() 179 ParseDefault<float>(jlayer["h"], 0.0f)); in attachPrecompLayer()
|
D | SolidLayer.cpp | 22 layer_info->fSize = SkSize::Make(ParseDefault<float>(jlayer["sw"], 0.0f), in attachSolidLayer() 23 ParseDefault<float>(jlayer["sh"], 0.0f)); in attachSolidLayer()
|
D | FootageLayer.cpp | 99 const auto size = SkISize::Make(ParseDefault<int>(jimage["w"], 0), in loadFootageAsset() 100 ParseDefault<int>(jimage["h"], 0)); in loadFootageAsset()
|
D | TextLayer.cpp | 230 ParseDefault((*jfont)["ascent"] , 0.0f), in parseFonts() 373 const auto advance = ParseDefault((*jchar)["w"], 0.0f); in resolveEmbeddedTypefaces()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | FillStroke.cpp | 43 this->node()->setStrokeMiter(ParseDefault<SkScalar>(jpaint["ml"], 4.0f)); in FillStrokeAdapter() 51 gJoins[std::min<size_t>(ParseDefault<size_t>(jpaint["lj"], 1) - 1, in FillStrokeAdapter() 60 gCaps[std::min<size_t>(ParseDefault<size_t>(jpaint["lc"], 1) - 1, in FillStrokeAdapter()
|
D | Gradient.cpp | 30 const auto stopCount = ParseDefault<int>((*jstops)["p"], -1); in Make() 34 const auto type = (ParseDefault<int>(jgrad["t"], 1) == 1) ? Type::kLinear in Make()
|
D | Ellipse.cpp | 26 this->node()->setDirection(ParseDefault(jellipse["d"], -1) == 3 ? SkPathDirection::kCCW in EllipseGeometryAdapter()
|
D | Rectangle.cpp | 26 this->node()->setDirection(ParseDefault(jrect["d"], -1) == 3 ? SkPathDirection::kCCW in RectangleGeometryAdapter()
|
D | OffsetPaths.cpp | 33 const auto join = ParseDefault<int>(joffset["lj"], 1) - 1; in OffsetPathsAdapter()
|
D | MergePaths.cpp | 41 const auto mode = gModes[std::min<size_t>(ParseDefault<size_t>(jmerge["mm"], 1) - 1, in AttachMergeGeometryEffect()
|
D | TrimPaths.cpp | 83 const auto mode = gModes[std::min<size_t>(ParseDefault<size_t>(jtrim["m"], 1) - 1, in AttachTrimGeometryEffect()
|
D | Polystar.cpp | 92 const auto type = ParseDefault<size_t>(jstar["sy"], 0) - 1; in AttachPolystarGeometry()
|
/third_party/skia/modules/skottie/src/animator/ |
D | Vec2KeyframeAnimator.cpp | 219 fTi = ParseDefault<SkV2>(jkf["ti"], {0,0}); in parseKFValue() 220 fTo = ParseDefault<SkV2>(jkf["to"], {0,0}); in parseKFValue() 251 if (!ParseDefault<bool>((*jprop)["s"], false)) { in bindAutoOrientable()
|
D | Animator.cpp | 79 if (!ParseDefault<bool>(jpropA, false)) { in bindImpl()
|
D | ShapeKeyframeAnimator.cpp | 111 data[data_len - 1] = ParseDefault<bool>((*jshape)["c"], false); in parse_encoding_data()
|
D | KeyframeAnimator.cpp | 199 if (ParseDefault(jkf["h"], false)) { in parseMapping()
|
/third_party/skia/modules/skottie/src/effects/ |
D | Effects.cpp | 89 switch (ParseDefault<int>(jeffect["ty"], -1)) { in findBuilder() 158 ParseDefault<size_t>((*jstyle)["ty"], std::numeric_limits<size_t>::max()); in attachStyles()
|
/third_party/ninja/src/ |
D | manifest_parser.h | 62 bool ParseDefault(std::string* err);
|
D | manifest_parser.cc | 55 if (!ParseDefault(err)) in Parse() 184 bool ManifestParser::ParseDefault(string* err) { in ParseDefault() function in ManifestParser
|