Home
last modified time | relevance | path

Searched refs:lastDot (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaFile.java310 int lastDot = path.lastIndexOf('.'); in getFileType() local
311 if (lastDot < 0) in getFileType()
313 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT)); in getFileType()
333 int lastDot = path.lastIndexOf('.'); in getFileTitle() local
334 if (lastDot > 0) { in getFileTitle()
335 path = path.substring(0, lastDot); in getFileTitle()
357 int lastDot = fileName.lastIndexOf('.'); in getFormatCode() local
358 if (lastDot > 0) { in getFormatCode()
359 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT); in getFormatCode()
DMediaScanner.java1880 int lastDot = path.lastIndexOf('.');
1881 name = (lastDot < 0 ? path.substring(lastSlash + 1)
1882 : path.substring(lastSlash + 1, lastDot));
/frameworks/support/core-utils/java/android/support/v4/provider/
DRawDocumentFile.java146 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local
147 if (lastDot >= 0) { in getTypeForName()
148 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
/frameworks/base/core/java/android/os/
DFileUtils.java651 final int lastDot = displayName.lastIndexOf('.'); in buildUniqueFile() local
652 if (lastDot >= 0) { in buildUniqueFile()
653 name = displayName.substring(0, lastDot); in buildUniqueFile()
654 ext = displayName.substring(lastDot + 1); in buildUniqueFile()
680 final int lastDot = displayName.lastIndexOf('.'); in splitFileName() local
681 if (lastDot >= 0) { in splitFileName()
682 name = displayName.substring(0, lastDot); in splitFileName()
683 ext = displayName.substring(lastDot + 1); in splitFileName()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java153 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local
154 if (lastDot >= 0) { in getTypeForName()
155 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java168 int lastDot = className.lastIndexOf('.'); in getTypeElement() local
169 TypeElement parent = getTypeElement(className.substring(0, lastDot), imports); in getTypeElement()
173 String name = parent.getQualifiedName() + "." + className.substring(lastDot + 1); in getTypeElement()
/frameworks/support/core-utils/java/android/support/v4/content/
DFileProvider.java476 final int lastDot = file.getName().lastIndexOf('.'); in getType() local
477 if (lastDot >= 0) { in getType()
478 final String extension = file.getName().substring(lastDot + 1); in getType()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchive.java527 final int lastDot = entry.getName().lastIndexOf('.'); in getMimeTypeForEntry() local
528 if (lastDot >= 0) { in getMimeTypeForEntry()
529 final String extension = entry.getName().substring(lastDot + 1).toLowerCase(Locale.US); in getMimeTypeForEntry()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java701 final int lastDot = name.lastIndexOf('.');
702 if (lastDot >= 0) {
703 final String extension = name.substring(lastDot + 1).toLowerCase();
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14146 final int lastDot = name.lastIndexOf('.'); in deriveCodePathName() local
14147 return name.substring(0, lastDot); in deriveCodePathName()