Searched refs:pathIdx (Results 1 – 3 of 3) sorted by relevance
74 factory PathAnimation.fromFrameData(List<FrameData> frames, int pathIdx) {79 … for (int commandIdx = 0; commandIdx < frames[0].paths[pathIdx].commands.length; commandIdx += 1) {80 final int numPointsInCommand = frames[0].paths[pathIdx].commands[commandIdx].points.length;84 final String commandType = frames[0].paths[pathIdx].commands[commandIdx].type;87 final String currentCommandType = frame.paths[pathIdx].commands[commandIdx].type;95 points[j].add(frame.paths[pathIdx].commands[commandIdx].points[j]);101 frames.map<double>((FrameData d) => d.paths[pathIdx].opacity).toList();
662 int pathIdx = endPathIdx; in onRun() local665 pathIdx = (pathIdx + prime) % kNumPaths; in onRun()668 ccpr.drawPath(fPaths[pathIdx], m); in onRun()682 SkASSERT(endPathIdx == pathIdx % kNumPaths); in onRun()
615 int pathIdx = 0; in prepareToDraw() local629 builder.updateCurrentInfo(fPathInfos[pathIdx]); in prepareToDraw()630 ++pathIdx; in prepareToDraw()677 SkASSERT(fPathInfos.count() == pathIdx); in prepareToDraw()