Home
last modified time | relevance | path

Searched refs:kPercentage (Results 1 – 24 of 24) sorted by relevance

/external/skia/modules/svg/include/
DSkSVGLinearGradient.h20 SVG_ATTR(X1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(X2, SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Y2, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
DSkSVGFilter.h20 SVG_ATTR(X, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
DSkSVGMask.h20 SVG_ATTR(X , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width , SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
DSkSVGRadialGradient.h20 SVG_ATTR(Cx, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Cy, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(R, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
DSkSVGSVG.h27 SVG_ATTR(Width , SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
28 SVG_ATTR(Height , SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
DSkSVGStop.h23 SVG_ATTR(Offset, SkSVGLength, SkSVGLength(0, SkSVGLength::Unit::kPercentage))
DSkSVGTypes.h106 kPercentage, enumerator
/external/skqp/experimental/svg/model/
DSkSVGLinearGradient.h35 SkSVGLength fX1 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
36 SkSVGLength fY1 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
37 SkSVGLength fX2 = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
38 SkSVGLength fY2 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
DSkSVGRadialGradient.h36 SkSVGLength fCx = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
37 SkSVGLength fCy = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
38 SkSVGLength fR = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
DSkSVGSVG.h41 SkSVGLength fWidth = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
42 SkSVGLength fHeight = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
DSkSVGSVG.cpp102 if (fWidth.unit() == SkSVGLength::Unit::kPercentage || in intrinsicSize()
103 fHeight.unit() == SkSVGLength::Unit::kPercentage) { in intrinsicSize()
DSkSVGStop.h37 SkSVGLength fOffset = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
DSkSVGTypes.h57 kPercentage, enumerator
DSkSVGRenderContext.cpp49 case SkSVGLength::Unit::kPercentage: in resolve()
DSkSVGAttributeParser.cpp96 { "%" , SkSVGLength::Unit::kPercentage }, in parseLengthUnitToken()
/external/skia/modules/skottie/src/text/
DRangeSelector.cpp50 struct UnitTraits<RangeSelector::Units::kPercentage> {
257 Units::kPercentage, // 'r': 1 in Make()
310 case Units::kPercentage: in RangeSelector()
311 std::tie(fStart, fEnd, fOffset) = UnitTraits<Units::kPercentage>::Defaults(); in RangeSelector()
322 SkASSERT(fUnits == Units::kPercentage || fUnits == Units::kIndex); in resolve()
323 const auto resolver = (fUnits == Units::kPercentage) in resolve()
324 ? UnitTraits<Units::kPercentage>::Resolve in resolve()
DRangeSelector.h28 kPercentage, // values are percentages of domain size enumerator
/external/skia/modules/svg/src/
DSkSVGFe.cpp21 const auto x = fX.isValid() ? *fX : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
22 const auto y = fY.isValid() ? *fY : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
23 const auto w = fWidth.isValid() ? *fWidth : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
24 const auto h = fHeight.isValid() ? *fHeight : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
DSkSVGSVG.cpp88 if (fWidth.unit() == SkSVGLength::Unit::kPercentage || in intrinsicSize()
89 fHeight.unit() == SkSVGLength::Unit::kPercentage) { in intrinsicSize()
DSkSVGFeDisplacementMap.cpp41 .resolve(SkSVGLength(scale, SkSVGLength::Unit::kPercentage), in onMakeImageFilter()
DSkSVGFeLighting.cpp80 .resolve(SkSVGLength(z * 100.f, SkSVGLength::Unit::kPercentage), in resolveXYZ()
DSkSVGRenderContext.cpp57 case SkSVGLength::Unit::kPercentage: in resolve()
DSkSVGAttributeParser.cpp124 { "%" , SkSVGLength::Unit::kPercentage }, in parseLengthUnitToken()
DSkSVGText.cpp240 if (offset.unit() != SkSVGLength::Unit::kPercentage) { in SkSVGTextContext()