Searched refs:relativePath (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalAlbum.java | 299 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/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetDatabaseHelper.java | 74 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()
|
D | WidgetConfigure.java | 167 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/ |
D | GalleryWidgetMigrator.java | 94 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/UniversalMediaPlayer/java/com/android/pump/db/ |
D | VideoStore.java | 146 String relativePath = cursor.getString(relativePathColumn); in load() local 148 file = new File(relativePath, displayName); in load()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 669 private static void assertDirectories(ContentValues values, String relativePath, in assertDirectories() argument 671 assertEquals(relativePath, values.get(ImageColumns.RELATIVE_PATH)); in assertDirectories()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 820 final String relativePath = cursor.getString(0); in getRelativePathAndDisplayNameForDownload() local 822 if (relativePath == null || displayName == null) { in getRelativePathAndDisplayNameForDownload() 826 return Pair.create(relativePath, displayName); in getRelativePathAndDisplayNameForDownload()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 1543 final String relativePath = values.getAsString(ImageColumns.RELATIVE_PATH); in computeDataValues() local 1544 if (TextUtils.isEmpty(relativePath)) return; in computeDataValues() 1546 final String[] segments = relativePath.split("/"); in computeDataValues() 2088 final String[] relativePath = sanitizePath( in ensureFileColumns() local 2100 res = Environment.buildPath(res, relativePath); in ensureFileColumns() 2116 final String primary = relativePath[0]; in ensureFileColumns()
|