HomeSort by relevance Sort by last modified time
    Searched refs:CacheDb (Results 1 - 3 of 3) sorted by null

  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherApplication.java 39 private WidgetPreviewLoader.CacheDb mWidgetPreviewCacheDb;
80 mWidgetPreviewCacheDb = new WidgetPreviewLoader.CacheDb(this);
122 WidgetPreviewLoader.CacheDb getWidgetPreviewCacheDb() {
WidgetPreviewLoader.java 139 private CacheDb mDb;
287 static class CacheDb extends SQLiteOpenHelper {
296 public CacheDb(Context context) {
362 values.put(CacheDb.COLUMN_NAME, name);
365 values.put(CacheDb.COLUMN_PREVIEW_BITMAP, stream.toByteArray());
366 values.put(CacheDb.COLUMN_SIZE, mSize);
368 db.insert(CacheDb.TABLE_NAME, null, values);
378 db.delete(CacheDb.TABLE_NAME, null, null);
383 public static void removeFromDb(final CacheDb cacheDb, final String packageName)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
WidgetPreviewLoader.java 69 private final CacheDb mDb;
80 mDb = new CacheDb(context);
107 private static class CacheDb extends SQLiteCacheHelper {
119 public CacheDb(Context context) {
153 values.put(CacheDb.COLUMN_COMPONENT, key.componentName.flattenToShortString());
154 values.put(CacheDb.COLUMN_USER, mUserManager.getSerialNumberForUser(key.user));
155 values.put(CacheDb.COLUMN_SIZE, key.size);
156 values.put(CacheDb.COLUMN_PACKAGE, key.componentName.getPackageName());
157 values.put(CacheDb.COLUMN_VERSION, versions[0]);
158 values.put(CacheDb.COLUMN_LAST_UPDATED, versions[1])
    [all...]

Completed in 299 milliseconds