Lines Matching defs:Columns
37 private static interface Columns extends BaseColumns {
53 Columns._ID,
57 Columns._ID, Columns.MEDIA_SIZE, Columns.SIZE_IN_BYTES,
61 "SUM(" + Columns.SIZE_IN_BYTES + ")"
65 Columns._ID, Columns.URI, Columns.MEDIA_SIZE, Columns.SIZE_IN_BYTES, Columns.LAST_ACCESS,
69 + Columns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, "
70 + Columns.URI + " TEXT NOT NULL,"
71 + Columns.MEDIA_SIZE + " INTEGER NOT NULL,"
72 + Columns.LAST_ACCESS + " INTEGER NOT NULL,"
73 + Columns.SIZE_IN_BYTES + " INTEGER NOT NULL,"
74 + "UNIQUE(" + Columns.URI + ", " + Columns.MEDIA_SIZE + "))";
78 public static final String WHERE_THUMBNAIL = Columns.MEDIA_SIZE + " = "
81 public static final String WHERE_NOT_THUMBNAIL = Columns.MEDIA_SIZE + " <> "
84 public static final String WHERE_CLEAR_CACHE = Columns.LAST_ACCESS + " <= ?";
115 String where = Columns.URI + " = ? AND " + Columns.MEDIA_SIZE + " = ?";
131 values.put(Columns.LAST_ACCESS, System.currentTimeMillis());
134 db.update(TABLE, values, Columns._ID + " = ?", updateArgs);
144 String where = Columns.URI + " = ? AND " + Columns.MEDIA_SIZE + " < ?";
145 String orderBy = Columns.MEDIA_SIZE + " DESC";
167 values.put(Columns.LAST_ACCESS, System.currentTimeMillis());
168 values.put(Columns.MEDIA_SIZE, size.getValue());
169 values.put(Columns.URI, uri.toString());
170 values.put(Columns.SIZE_IN_BYTES, tempFile.length());
184 values.put(Columns.SIZE_IN_BYTES, fileSize);
191 db.update(TABLE, values, Columns._ID + " = ?", whereArgs);
199 String where = Columns.URI + " = ? AND " + Columns.MEDIA_SIZE + " = ?";
207 String where = Columns.URI + " = ?";
241 Columns.LAST_ACCESS);