Lines Matching defs:ConversationCursor

72  * ConversationCursor is a wrapper around a conversation list cursor that provides update/delete
76 public final class ConversationCursor implements Cursor, ConversationCursorOperationListener,
190 public ConversationCursor(Activity activity, Uri uri, boolean useInitialConversationLimit,
204 * Create a ConversationCursor; this should be called by the ListActivity using that cursor
209 // Create new ConversationCursor
330 LogUtils.i(LOG_TAG, "ConversationCursor caching complete pos=%s", mCachePos);
457 LogUtils.i(LOG_TAG, "*** ConversationCursor pre-loading took %sms n=%s", (end-start),
645 LogUtils.i(LOG_TAG, "ConversationCursor query: %s, %dms, %d results",
734 * Returns the conversation uris for the Conversations that the ConversationCursor is treating
749 // Since clients of the conversation cursor see conversation ConversationCursor
770 * Returns the position, in the ConversationCursor, of the Conversation with the specified id.
790 // Since clients of the conversation cursor see conversation ConversationCursor
1413 ConversationCursor.this.underlyingChanged();
1535 void deleteLocal(Uri uri, ConversationCursor conversationCursor,
1543 void undeleteLocal(Uri uri, ConversationCursor conversationCursor) {
1548 void setMostlyDead(Conversation conv, ConversationCursor conversationCursor,
1556 void commitMostlyDead(Conversation conv, ConversationCursor conversationCursor) {
1560 boolean clearMostlyDead(Uri uri, ConversationCursor conversationCursor) {
1565 public void undo(ConversationCursor conversationCursor) {
1588 void updateLocal(Uri uri, ContentValues values, ConversationCursor conversationCursor) {
1599 ConversationCursor conversationCursor) {
1726 // True if an updated item should be removed locally (from ConversationCursor)
1728 // in the folder represented by the ConversationCursor
1760 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1762 sProvider.updateLocal(mUri, mValues, ConversationCursor.this);
1770 sProvider.commitMostlyDead(mConversation, ConversationCursor.this);
1774 sProvider.setMostlyDead(mConversation, ConversationCursor.this, mUndoCallback);
1786 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1790 sProvider.commitMostlyDead(mConversation, ConversationCursor.this);
1794 sProvider.setMostlyDead(mConversation,ConversationCursor.this, mUndoCallback);
1798 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1806 sProvider.commitMostlyDead(mConversation, ConversationCursor.this);
1810 sProvider.setMostlyDead(mConversation, ConversationCursor.this, mUndoCallback);
1818 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1828 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1839 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1847 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
1855 sProvider.deleteLocal(mUri, ConversationCursor.this, mUndoCallback);
2031 LogUtils.d(LOG_TAG, "ConversationCursor.updateInt(conversations=%s, columnName=%s)",
2330 * ConversationCursor first == ConversationCursor second,
2334 * {@link ConversationCursor#hashCode()} to avoid storing dangerous references to the cursor.
2371 // Needs to be on the UI thread because it updates the ConversationCursor's internal
2381 sProvider.undeleteLocal(conversation.uri, ConversationCursor.this);
2398 // Needs to be on the UI thread because it updates the ConversationCursor's internal
2433 sProvider.deleteLocal(conversation.uri, ConversationCursor.this,
2456 sProvider.undeleteLocal(conversation.uri, ConversationCursor.this);
2489 public static boolean isCursorReadyToShow(ConversationCursor cursor) {