Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFilenameUtils.java393 public static String concat(String basePath, String fullFilenameToAdd) { in concat() argument
401 if (basePath == null) { in concat()
404 int len = basePath.length(); in concat()
408 char ch = basePath.charAt(len - 1); in concat()
410 return normalize(basePath + fullFilenameToAdd); in concat()
412 return normalize(basePath + '/' + fullFilenameToAdd); in concat()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp82 /* static */ bool DictFileWritingUtils::flushBufferToFileWithSuffix(const char *const basePath, in flushBufferToFileWithSuffix() argument
84 const int filePathBufSize = FileUtils::getFilePathWithSuffixBufSize(basePath, suffix); in flushBufferToFileWithSuffix()
86 FileUtils::getFilePathWithSuffix(basePath, suffix, filePathBufSize, filePath); in flushBufferToFileWithSuffix()
Ddict_file_writing_utils.h38 static bool flushBufferToFileWithSuffix(const char *const basePath, const char *const suffix,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterTypeSet.java84 String basePath = "/filter/mediatype/" + mMediaType; in updateData() local
88 String filteredPath = basePath + "/{" + set.getPath().toString() + "}"; in updateData()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java348 String basePath = mMediaSet.getPath().toString(); in doCluster() local
349 String newPath = FilterUtils.newClusterPath(basePath, clusterType); in doCluster()
DAlbumSetPage.java311 String basePath = mMediaSet.getPath().toString(); in doCluster() local
312 String newPath = FilterUtils.switchClusterPath(basePath, clusterType); in doCluster()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6486 final List<String> basePath = new ArrayList<>(base.getPathSegments()); in computeCommonPrefix() local
6489 for (int j = 0; j < basePath.size() && j < probePath.size(); j++) { in computeCommonPrefix()
6490 if (!Objects.equals(basePath.get(j), probePath.get(j))) { in computeCommonPrefix()
6492 while (basePath.size() > j) { in computeCommonPrefix()
6493 basePath.remove(j); in computeCommonPrefix()
6499 while (basePath.size() > probeSize) { in computeCommonPrefix()
6500 basePath.remove(probeSize); in computeCommonPrefix()
6505 for (int i = 0; i < basePath.size(); i++) { in computeCommonPrefix()
6506 builder.appendPath(basePath.get(i)); in computeCommonPrefix()