Searched refs:oldPath (Results 1 – 5 of 5) sorted by relevance
123 File oldPath = getOldDatabasePath(getContext()); in migrateToDataFolder()124 if (oldPath.exists()) { in migrateToDataFolder()126 if (!oldPath.renameTo(dbPath)) { in migrateToDataFolder()128 FileUtils.copyFile(oldPath, dbPath); in migrateToDataFolder()131 oldPath.delete(); in migrateToDataFolder()
113 String oldPath = OLD_EXT_PATH + path.substring(RELATIVE_PATH_START); in updatePath() local114 int oldBucketId = GalleryUtils.getBucketId(oldPath); in updatePath()
351 File oldPath = new File(mImage.getDataPath()); in saveOutput() local352 File directory = new File(oldPath.getParent()); in saveOutput()355 String fileName = oldPath.getName(); in saveOutput()
414 File oldPath = new File(localImage.filePath); in saveLocalImage() local415 File directory = new File(oldPath.getParent()); in saveLocalImage()417 String filename = oldPath.getName(); in saveLocalImage()423 copyExif(oldPath.getAbsolutePath(), output.getAbsolutePath(), in saveLocalImage()
3933 String oldPath = null; in update() local3944 oldPath = cursor.getString(1); in update()3949 if (oldPath != null) { in update()3950 mDirectoryCache.remove(oldPath); in update()3957 Object[] bindArgs = new Object[] {newPath, oldPath.length() + 1, in update()3958 oldPath + "/%", (oldPath.length() + 1), oldPath + "/"}; in update()