Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java660 final int lastDot = displayName.lastIndexOf('.');
661 if (lastDot >= 0) {
662 name = displayName.substring(0, lastDot);
663 ext = displayName.substring(lastDot + 1);
688 final int lastDot = displayName.lastIndexOf('.');
689 if (lastDot > 0) {
690 name = displayName.substring(0, lastDot);
691 ext = displayName.substring(lastDot + 1);
752 final int lastDot = data.lastIndexOf('.');
753 if (lastDot == -1) {
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java48 final int lastDot = name.lastIndexOf('.'); in getMimeType() local
49 if (lastDot >= 0) { in getMimeType()
50 final String extension = name.substring(lastDot + 1); in getMimeType()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DResourcesProvider.java148 final int lastDot = documentId.lastIndexOf('.'); in includeDocument() local
149 assert (lastDot > 0); in includeDocument()
150 final String extension = documentId.substring(lastDot + 1).toLowerCase(); in includeDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java302 final int lastDot = entry.getName().lastIndexOf('.'); in getMimeTypeForEntry() local
303 if (lastDot >= 0) { in getMimeTypeForEntry()
304 final String extension = entry.getName().substring(lastDot + 1).toLowerCase(Locale.US); in getMimeTypeForEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java153 final int lastDot = name.lastIndexOf('.'); in isFormatSupported() local
154 if (lastDot >= 0) { in isFormatSupported()
155 final String extension = name.substring(lastDot + 1); in isFormatSupported()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java394 int lastDot = className.lastIndexOf('.');
395 if (lastDot > -1) {
396 className = className.substring(lastDot + 1);