Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java43 private static final String TABLE_WIDGETS = "widgets"; field in WidgetDatabaseHelper
101 db.execSQL("CREATE TABLE " + TABLE_WIDGETS + " (" in onCreate()
157 db.insert(TABLE_WIDGETS, null, values); in restoreData()
174 db.execSQL("DROP TABLE IF EXISTS " + TABLE_WIDGETS); in onUpgrade()
210 db.replaceOrThrow(TABLE_WIDGETS, null, values); in setPhoto()
225 getWritableDatabase().replaceOrThrow(TABLE_WIDGETS, null, values); in setWidget()
237 cursor = db.query(TABLE_WIDGETS, PROJECTION, in getEntry()
258 cursor = db.query(TABLE_WIDGETS, PROJECTION, in getEntries()
291 getWritableDatabase().insert(TABLE_WIDGETS, null, values); in updateEntry()
303 db.delete(TABLE_WIDGETS, WHERE_APPWIDGET_ID, in deleteEntry()