Searched refs:oldCursor (Results 1 – 10 of 10) sorted by relevance
113 final Cursor oldCursor = mCursor; in deliverResult() local120 if (oldCursor != null && oldCursor != cursor && !oldCursor.isClosed()) { in deliverResult()121 oldCursor.close(); in deliverResult()
244 final Cursor oldCursor = mCursor; in swapCursor() local245 if (oldCursor != null) { in swapCursor()247 oldCursor.unregisterContentObserver(mChangeObserver); in swapCursor()250 oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()271 return oldCursor; in swapCursor()
120 Cursor oldCursor = this.cursor; in deliverResult() local129 if (oldCursor != null && oldCursor != cursor) { in deliverResult()130 releaseResources(oldCursor); in deliverResult()
1544 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument1554 if (oldCursor != null && !oldCursor.isClosed()) { in onMessageCursorLoadFinished()1567 final int oldState = oldCursor.getStateHashCode(); in onMessageCursorLoadFinished()1571 final boolean processedInPlace = processInPlaceUpdates(newCursor, oldCursor); in onMessageCursorLoadFinished()1597 LogUtils.i(LOG_TAG, "old cursor: %s", oldCursor.getDebugDump()); in onMessageCursorLoadFinished()1645 private boolean processInPlaceUpdates(MessageCursor newCursor, MessageCursor oldCursor) { in processInPlaceUpdates() argument1653 if (!newCursor.moveToPosition(pos) || !oldCursor.moveToPosition(pos)) { in processInPlaceUpdates()1658 final ConversationMessage oldMsg = oldCursor.getMessage(); in processInPlaceUpdates()
216 MessageCursor newCursor, MessageCursor oldCursor); in onMessageCursorLoadFinished() argument539 final MessageCursor oldCursor = mCursor; in onLoadFinished() local541 onMessageCursorLoadFinished(loader, mCursor, oldCursor); in onLoadFinished()
243 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument
1111 final Cursor oldCursor = super.swapCursor(c); in swapCursor() local1114 return oldCursor; in swapCursor()
192 final Cursor oldCursor = mOptionsCursor; in swapCursor() local193 if (newCursor != oldCursor) { in swapCursor()197 return oldCursor; in swapCursor()
288 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationListCursorUpdated() local290 if (mListState != null && cursor != null && oldCursor == null) { in onConversationListCursorUpdated()
855 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationMessagesCursorUpdated() local857 if (cursor != null && oldCursor == null) { in onConversationMessagesCursorUpdated()