Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaFile.java317 int lastDot = path.lastIndexOf('.'); in getFileType() local
318 if (lastDot < 0) in getFileType()
320 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT)); in getFileType()
340 int lastDot = path.lastIndexOf('.'); in getFileTitle() local
341 if (lastDot > 0) { in getFileTitle()
342 path = path.substring(0, lastDot); in getFileTitle()
364 int lastDot = fileName.lastIndexOf('.'); in getFormatCode() local
365 if (lastDot > 0) { in getFormatCode()
366 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT); in getFormatCode()
DMediaScanner.java1842 int lastDot = path.lastIndexOf('.');
1843 name = (lastDot < 0 ? path.substring(lastSlash + 1)
1844 : path.substring(lastSlash + 1, lastDot));
/frameworks/support/documentfile/src/main/java/androidx/documentfile/provider/
DRawDocumentFile.java156 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local
157 if (lastDot >= 0) { in getTypeForName()
158 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
/frameworks/base/core/java/android/os/
DFileUtils.java915 final int lastDot = displayName.lastIndexOf('.'); in buildUniqueFile() local
916 if (lastDot >= 0) { in buildUniqueFile()
917 name = displayName.substring(0, lastDot); in buildUniqueFile()
918 ext = displayName.substring(lastDot + 1); in buildUniqueFile()
944 final int lastDot = displayName.lastIndexOf('.'); in splitFileName() local
945 if (lastDot >= 0) { in splitFileName()
946 name = displayName.substring(0, lastDot); in splitFileName()
947 ext = displayName.substring(lastDot + 1); in splitFileName()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java171 int lastDot = className.lastIndexOf('.'); in getTypeElement() local
172 TypeElement parent = getTypeElement(className.substring(0, lastDot), imports); in getTypeElement()
176 String name = parent.getQualifiedName() + "." + className.substring(lastDot + 1); in getTypeElement()
/frameworks/support/compat/src/main/java/androidx/core/content/
DFileProvider.java495 final int lastDot = file.getName().lastIndexOf('.'); in getType() local
496 if (lastDot >= 0) { in getType()
497 final String extension = file.getName().substring(lastDot + 1); in getType()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java526 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local
527 if (lastDot >= 0) { in getTypeForName()
528 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java16210 final int lastDot = name.lastIndexOf('.');
16211 return name.substring(0, lastDot);
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...