Searched refs:isDir (Results 1 – 2 of 2) sorted by relevance
27 public static String getDocIdForMediaStoreDownload(long id, boolean isDir) { in getDocIdForMediaStoreDownload() argument28 return (isDir ? MEDIASTORE_DOWNLOAD_DIR_PREFIX : MEDIASTORE_DOWNLOAD_FILE_PREFIX) + id; in getDocIdForMediaStoreDownload()
137 final boolean isDir = mimeTypes[i] == null; in onMediaProviderDownloadsDelete()139 MediaStoreDownloadsHelper.getDocIdForMediaStoreDownload(ids[i], isDir)); in onMediaProviderDownloadsDelete()788 private static String getDocIdForMediaStoreDownloadUri(Uri uri, boolean isDir) { in getDocIdForMediaStoreDownloadUri() argument790 return getDocIdForMediaStoreDownload(Long.parseLong(uri.getLastPathSegment()), isDir); in getDocIdForMediaStoreDownloadUri()915 final boolean isDir = Document.MIME_TYPE_DIR.equals(mimeType); in includeDownloadFromMediaStore()917 mediaCursor.getLong(mediaCursor.getColumnIndex(DownloadColumns._ID)), isDir); in includeDownloadFromMediaStore()