Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java32 import com.android.gallery3d.gadget.WidgetDatabaseHelper;
33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry;
79 WidgetDatabaseHelper dbHelper = new WidgetDatabaseHelper(context); in migrateGalleryWidgetsInternal()
82 List<Entry> entries = dbHelper.getEntries(WidgetDatabaseHelper.TYPE_ALBUM); in migrateGalleryWidgetsInternal()
107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) { in migrateLocalEntries()
124 WidgetDatabaseHelper dbHelper, String oldExtPath) { in migrateLocalEntries()
132 WidgetDatabaseHelper dbHelper, String oldExtStorage) { in updatePath()
159 private static void updateEntryUsingRelativePath(Entry entry, WidgetDatabaseHelper dbHelper) { in updateEntryUsingRelativePath()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DPhotoAppWidgetProvider.java33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry;
43 case WidgetDatabaseHelper.TYPE_ALBUM: in buildWidget()
44 case WidgetDatabaseHelper.TYPE_SHUFFLE: in buildWidget()
46 case WidgetDatabaseHelper.TYPE_SINGLE_PHOTO: in buildWidget()
61 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(context); in onUpdate()
133 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(context); in onDeleted()
DWidgetConfigure.java94 private void updateWidgetAndFinish(WidgetDatabaseHelper.Entry entry) { in updateWidgetAndFinish()
128 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setPhotoWidget()
165 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setChoosenAlbum()
181 WidgetDatabaseHelper.TYPE_ALBUM, albumPath, relativePath); in setChoosenAlbum()
194 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setWidgetType()
196 helper.setWidget(mAppWidgetId, WidgetDatabaseHelper.TYPE_SHUFFLE, null, null); in setWidgetType()
DWidgetDatabaseHelper.java35 public class WidgetDatabaseHelper extends SQLiteOpenHelper { class
95 public WidgetDatabaseHelper(Context context) { in WidgetDatabaseHelper() method in WidgetDatabaseHelper
DWidgetService.java71 if (mType == WidgetDatabaseHelper.TYPE_ALBUM) { in onCreate()