Searched refs:pathLength (Results 1 – 7 of 7) sorted by relevance
83 int pathLength = strlen(path); in processDirectory() local84 if (pathLength >= PATH_MAX) { in processDirectory()92 int pathRemaining = PATH_MAX - pathLength; in processDirectory()94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') { in processDirectory()95 pathBuffer[pathLength] = '/'; in processDirectory()96 pathBuffer[pathLength + 1] = 0; in processDirectory()
157 for (int i = 0, shortestPath = Integer.MAX_VALUE, pathLength; i < finalStates.length; i++) { in getClosestOfStates()159 pathLength = mLifecycleSequence.size(); in getClosestOfStates()161 pathLength += DESTRUCTION_PENALTY; in getClosestOfStates()163 if (shortestPath > pathLength) { in getClosestOfStates()164 shortestPath = pathLength; in getClosestOfStates()
39 final float pathLength = pathMeasure.getLength(); in PathInterpolatorApi14() local40 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorApi14()47 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorApi14()
139 final float pathLength = pathMeasure.getLength(); in initPath() local140 final int numPoints = min(MAX_NUM_POINTS, (int) (pathLength / PRECISION) + 1); in initPath()143 throw new IllegalArgumentException("The Path has a invalid length " + pathLength); in initPath()151 final float distance = (i * pathLength) / (numPoints - 1); in initPath()
443 final float pathLength = measureForTotalLength.getLength(); in setupPathMotion() local444 totalLength += pathLength; in setupPathMotion()
102 float pathLength = pathMeasure.getLength(); in interpolate() local108 pathMeasure.getPosTan((pathLength * i) / (steps + 2f), res[i - 1], mPathTangent); in interpolate()
309 float pathLength = SkScalarToFloat(measure.getLength()); in render() local313 float pathOffset = pathLength; in render()321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()