Home
last modified time | relevance | path

Searched refs:pathLength (Results 1 – 5 of 5) 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/support/v4/donut/android/support/v4/view/animation/
DPathInterpolatorDonut.java39 final float pathLength = pathMeasure.getLength(); in PathInterpolatorDonut() local
40 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorDonut()
47 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorDonut()
/frameworks/av/media/mtp/
DMtpServer.cpp1070 size_t pathLength = strlen(path); in deleteRecursive() local
1071 if (pathLength >= sizeof(pathbuf) - 1) { in deleteRecursive()
1075 if (pathbuf[pathLength - 1] != '/') { in deleteRecursive()
1076 pathbuf[pathLength++] = '/'; in deleteRecursive()
1078 char* fileSpot = pathbuf + pathLength; in deleteRecursive()
1079 int pathRemaining = sizeof(pathbuf) - pathLength - 1; in deleteRecursive()
/frameworks/base/libs/hwui/font/
DFont.cpp315 float pathLength = SkScalarToFloat(measure.getLength()); in render() local
319 float pathOffset = pathLength; in render()
327 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java289 int pathLength = path.length(); in inStorageSubDirectory() local
293 if (subdirLength < pathLength && in inStorageSubDirectory()