Home
last modified time | relevance | path

Searched refs:pathLength (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libmedia/
DMediaScanner.cpp83 int pathLength = strlen(path); in processDirectory() local
84 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()
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java157 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()
/frameworks/support/compat/src/main/java/androidx/core/view/animation/
DPathInterpolatorApi14.java39 final float pathLength = pathMeasure.getLength(); in PathInterpolatorApi14() local
40 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorApi14()
47 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorApi14()
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DPathInterpolatorCompat.java139 final float pathLength = pathMeasure.getLength(); in initPath() local
140 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()
DAnimatorInflaterCompat.java443 final float pathLength = measureForTotalLength.getLength(); in setupPathMotion() local
444 totalLength += pathLength; in setupPathMotion()
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
DArcSwipe.java102 float pathLength = pathMeasure.getLength(); in interpolate() local
108 pathMeasure.getPosTan((pathLength * i) / (steps + 2f), res[i - 1], mPathTangent); in interpolate()
/frameworks/base/libs/hwui/font/
DFont.cpp309 float pathLength = SkScalarToFloat(measure.getLength()); in render() local
313 float pathOffset = pathLength; in render()
321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()