Searched refs:trimPath (Results 1 – 9 of 9) sorted by relevance
20 public TrimPathContent(BaseLayer layer, ShapeTrimPath trimPath) { in TrimPathContent() argument21 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()
164 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.PathGroup335 private PathGroup(@Nullable TrimPathContent trimPath) { in PathGroup() argument336 this.trimPath = trimPath; in PathGroup()
48 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local49 trimPaths.addTrimPath(trimPath); in setContents()50 trimPath.addListener(this); in setContents()
13 void addTrimPath(TrimPathContent trimPath) { in addTrimPath() argument14 contents.add(trimPath); in addTrimPath()
62 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local63 trimPaths.addTrimPath(trimPath); in setContents()64 trimPath.addListener(this); in setContents()
75 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local76 trimPaths.addTrimPath(trimPath); in setContents()77 trimPath.addListener(this); in setContents()
101 TrimPathContent trimPath = (TrimPathContent) content; in setContents() local102 trimPaths.addTrimPath(trimPath); in setContents()103 trimPath.addListener(this); in setContents()
99 public static void applyTrimPathIfNeeded(Path path, @Nullable TrimPathContent trimPath) { in applyTrimPathIfNeeded() argument100 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()
775 static const char * trimPath(const char *pathname) in trimPath() function816 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()