Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbum.java299 String relativePath = "/"; in getRelativePath() local
301 relativePath += BucketNames.CAMERA; in getRelativePath()
303 relativePath += BucketNames.DOWNLOAD; in getRelativePath()
305 relativePath += BucketNames.IMPORTED; in getRelativePath()
307 relativePath += BucketNames.SCREENSHOTS; in getRelativePath()
309 relativePath += BucketNames.EDITED_ONLINE_PHOTOS; in getRelativePath()
317 relativePath = null; in getRelativePath()
319 relativePath = path.substring(extStorage.getAbsolutePath().length()); in getRelativePath()
322 return relativePath; in getRelativePath()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java1197 final String relativePath = extractRelativePath(path);
1198 if (relativePath == null) {
1202 if (StringUtils.startsWithIgnoreCase(relativePath, "Android/media")) {
1206 return StringUtils.startsWithIgnoreCase(relativePath, crossUserRoot + "/Android/media");
1257 final String relativePath = extractRelativePath(path);
1258 if (relativePath == null) {
1262 return extractTopLevelDir(relativePath.split("/"));
1423 String relativePath = values.getAsString(MediaColumns.RELATIVE_PATH);
1424 if (relativePath == null) {
1425 relativePath = "";
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java74 public String relativePath; field in WidgetDatabaseHelper.Entry
86 relativePath = cursor.getString(INDEX_RELATIVE_PATH); in Entry()
218 public boolean setWidget(int id, int type, String albumPath, String relativePath) { in setWidget() argument
224 values.put(FIELD_RELATIVE_PATH, relativePath); in setWidget()
290 values.put(FIELD_RELATIVE_PATH, entry.relativePath); in updateEntry()
DWidgetConfigure.java167 String relativePath = null; in setChoosenAlbum() local
176 relativePath = LocalAlbum.getRelativePath(bucketId); in setChoosenAlbum()
178 + ", relative path: " + relativePath); in setChoosenAlbum()
181 WidgetDatabaseHelper.TYPE_ALBUM, albumPath, relativePath); in setChoosenAlbum()
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java94 if (entry.relativePath != null && entry.relativePath.length() > 0) { in migrateGalleryWidgetsInternal()
150 entry.relativePath = path.substring(RELATIVE_PATH_START); in updatePath()
160 String newPath = NEW_EXT_PATH + entry.relativePath; in updateEntryUsingRelativePath()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DSymbolicLinksTask.kt45 var relativePath = file.canonicalFile.relativeTo(androidTopFile) in <lambda>() variable
47 project.file("$outputDirectory/$relativePath").toPath() in <lambda>()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/task/
DSymlinkSourcesTask.kt52 val relativePath = file.canonicalFile.relativeTo(sourcesRootDir) in <lambda>() constant
53 val symbolicLinkPath = Path("${destinationDir.get()}/$relativePath") in <lambda>()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java147 String relativePath = cursor.getString(relativePathColumn); in load() local
149 file = new File(relativePath, displayName); in load()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java1479 final String relativePath = extractRelativePath(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn() local
1487 values.put(MediaStore.Audio.Media.RELATIVE_PATH, relativePath); in testQueryAudioViewsNoItemWithColumn()
1623 private static void assertRelativePathForDirectory(String directoryPath, String relativePath) { in assertRelativePathForDirectory() argument
1626 .isEqualTo(relativePath); in assertRelativePathForDirectory()
1653 private static void assertRelativePath(ContentValues values, String relativePath) { in assertRelativePath() argument
1654 assertEquals(relativePath, values.get(ImageColumns.RELATIVE_PATH)); in assertRelativePath()
1674 private String buildFile(Uri uri, String relativePath, String displayName, in buildFile() argument
1677 if (relativePath != null) { in buildFile()
1678 values.put(MediaColumns.RELATIVE_PATH, relativePath); in buildFile()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DFilterCopyTask.groovy34 def relative = inputPath.relativePath(changedFile)
DFilterResourcesTask.groovy35 def relative = inputPath.relativePath(changedFile)
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2105 String relativePath = "Android/media/" + DatabaseUtils.escapeForLike(packageName) + "/%"; in deleteAndroidMediaEntriesAndInvalidateDentryCache() local
2110 new String[] { relativePath, packageName, "" + userId }, in deleteAndroidMediaEntriesAndInvalidateDentryCache() argument
2909 String relativePath = extractRelativePathWithDisplayName(path); in getFilesInDirectoryForFuse() local
2910 if (relativePath == null) { in getFilesInDirectoryForFuse()
2934 queryArgs.putStringArray(QUERY_ARG_SQL_SELECTION_ARGS, new String[] {relativePath, in getFilesInDirectoryForFuse()
4554 final String[] relativePath = values.getAsString(MediaColumns.RELATIVE_PATH).split("/"); in ensureFileColumns() local
4555 final String primary = extractTopLevelDir(relativePath); in ensureFileColumns()
4680 for (final String relativePath : relativePaths) { in assertPrivatePathNotInValues()
4681 if (!isDataOrObbRelativePath(relativePath)) { in assertPrivatePathNotInValues()
4696 "Inserting private file: " + relativePath + " is not allowed."); in assertPrivatePathNotInValues()
[all …]
DTranscodeHelperImpl.java852 final String relativePath = FileUtils.extractRelativePath(path); in supportsTranscode() local
860 if (supportedRelativePath.equalsIgnoreCase(relativePath)) { in supportsTranscode()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java819 final String relativePath = cursor.getString(0); in getRelativePathAndDisplayNameForDownload() local
821 if (relativePath == null || displayName == null) { in getRelativePathAndDisplayNameForDownload()
825 return Pair.create(relativePath, displayName); in getRelativePathAndDisplayNameForDownload()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...