Lines Matching defs:cursor
28 * Caches the contents of a cursor into a Map of String->ContentValues and optionally
29 * keeps the cache fresh by registering for updates on the content backing the cursor. The column of
33 * The cursor data is accessed by row key and column name via getValue().
47 /** Set when a cursor change notification is received and is cleared on a call to requery(). */
51 * Creates a ContentQueryMap that caches the content backing the cursor
53 * @param cursor the cursor whose contents should be cached
55 * @param keepUpdated true if the cursor's ContentProvider should be monitored for changes and
62 public ContentQueryMap(Cursor cursor, String columnNameOfKey, boolean keepUpdated,
64 mCursor = cursor;
70 // If we aren't keeping the cache updated with the current state of the cursor's
79 * Change whether or not the ContentQueryMap will register with the cursor's ContentProvider
83 * @param keepUpdated if true the ContentQueryMap should be registered with the cursor's
113 // mark dirty, since it is possible the cursor's backing data had changed before we
122 * @return the ContentValues for the row, or null if the row wasn't present in the cursor
129 /** Requeries the cursor and reads the contents into the cache */