Lines Matching refs:ImageDb
57 private final ImageDb mDb;
63 ImageDb.moveFromCacheDirectoryIfNecessary(context); in SavedWallpaperImages()
64 mDb = new ImageDb(context); in SavedWallpaperImages()
72 Cursor c = db.query(ImageDb.TABLE_NAME, in loadThumbnailsAndImageIdList()
73 new String[] { ImageDb.COLUMN_ID, in loadThumbnailsAndImageIdList()
74 ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, in loadThumbnailsAndImageIdList()
75 ImageDb.COLUMN_IMAGE_FILENAME}, // cols to return in loadThumbnailsAndImageIdList()
80 ImageDb.COLUMN_ID + " DESC", in loadThumbnailsAndImageIdList()
101 Cursor result = db.query(ImageDb.TABLE_NAME, in deleteImage()
102 new String[] { ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, in deleteImage()
103 ImageDb.COLUMN_IMAGE_FILENAME }, // cols to return in deleteImage()
104 ImageDb.COLUMN_ID + " = ?", // select query in deleteImage()
116 db.delete(ImageDb.TABLE_NAME, in deleteImage()
117 ImageDb.COLUMN_ID + " = ?", // SELECT query in deleteImage()
139 values.put(ImageDb.COLUMN_IMAGE_THUMBNAIL_FILENAME, thumbFile.getName()); in writeImage()
140 values.put(ImageDb.COLUMN_IMAGE_FILENAME, imageFile.getName()); in writeImage()
141 db.insert(ImageDb.TABLE_NAME, null, values); in writeImage()
147 private static class ImageDb extends SQLiteOpenHelper { class in SavedWallpaperImages
154 public ImageDb(Context context) { in ImageDb() method in SavedWallpaperImages.ImageDb