Home
last modified time | relevance | path

Searched refs:trimPath (Results 1 – 9 of 9) sorted by relevance

/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DTrimPathContent.java20 public TrimPathContent(BaseLayer layer, ShapeTrimPath trimPath) { in TrimPathContent() argument
21 name = trimPath.getName(); in TrimPathContent()
22 hidden = trimPath.isHidden(); in TrimPathContent()
23 type = trimPath.getType(); in TrimPathContent()
24 startAnimation = trimPath.getStart().createAnimation(); in TrimPathContent()
25 endAnimation = trimPath.getEnd().createAnimation(); in TrimPathContent()
26 offsetAnimation = trimPath.getOffset().createAnimation(); in TrimPathContent()
DBaseStrokeContent.java164 if (pathGroup.trimPath != null) { in draw()
183 if (pathGroup.trimPath == null) { in applyTrimPath()
196 float offsetLength = totalLength * pathGroup.trimPath.getOffset().getValue() / 360f; in applyTrimPath()
198 totalLength * pathGroup.trimPath.getStart().getValue() / 100f + offsetLength; in applyTrimPath()
200 totalLength * pathGroup.trimPath.getEnd().getValue() / 100f + offsetLength; in applyTrimPath()
333 @Nullable private final TrimPathContent trimPath; field in BaseStrokeContent.PathGroup
335 private PathGroup(@Nullable TrimPathContent trimPath) { in PathGroup() argument
336 this.trimPath = trimPath; in PathGroup()
DShapeContent.java48 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local
49 trimPaths.addTrimPath(trimPath); in setContents()
50 trimPath.addListener(this); in setContents()
DCompoundTrimPathContent.java13 void addTrimPath(TrimPathContent trimPath) { in addTrimPath() argument
14 contents.add(trimPath); in addTrimPath()
DEllipseContent.java62 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local
63 trimPaths.addTrimPath(trimPath); in setContents()
64 trimPath.addListener(this); in setContents()
DRectangleContent.java75 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local
76 trimPaths.addTrimPath(trimPath); in setContents()
77 trimPath.addListener(this); in setContents()
DPolystarContent.java101 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local
102 trimPaths.addTrimPath(trimPath); in setContents()
103 trimPath.addListener(this); in setContents()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DUtils.java99 public static void applyTrimPathIfNeeded(Path path, @Nullable TrimPathContent trimPath) { in applyTrimPathIfNeeded() argument
100 if (trimPath == null || trimPath.isHidden()) { in applyTrimPathIfNeeded()
103 float start = ((FloatKeyframeAnimation) trimPath.getStart()).getFloatValue(); in applyTrimPathIfNeeded()
104 float end = ((FloatKeyframeAnimation) trimPath.getEnd()).getFloatValue(); in applyTrimPathIfNeeded()
105 float offset = ((FloatKeyframeAnimation) trimPath.getOffset()).getFloatValue(); in applyTrimPathIfNeeded()
/external/zstd/programs/
Dutil.c775 static const char * trimPath(const char *pathname) in trimPath() function
816 pathname = mallocAndJoin2Dir(outDirRootName, trimPath(srcFileName)); in UTIL_createMirroredDestDirName()
827 char* newDir = mallocAndJoin2Dir(outDirName, trimPath(srcDirName)); in mirrorSrcDir()
878 const char* s1 = trimPath(*(char * const *) pathname1); in compareDir()
879 const char* s2 = trimPath(*(char * const *) pathname2); in compareDir()
908 if (!firstIsParentOrSameDirOfSecond(trimPath(prevDirName), in makeUniqueMirroredDestDirs()
909 trimPath(currDirName))) in makeUniqueMirroredDestDirs()