Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 4 of 4) 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/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()