Searched refs:oldCursor (Results 1 – 6 of 6) sorted by relevance
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()
192 final Cursor oldCursor = mOptionsCursor; in swapCursor() local193 if (newCursor != oldCursor) { in swapCursor()197 return oldCursor; in swapCursor()
767 try (final Cursor oldCursor = in testFailToReplaceExisitingUnmappedRoots() argument769 assertEquals(1, oldCursor.getCount()); in testFailToReplaceExisitingUnmappedRoots()770 oldCursor.moveToNext(); in testFailToReplaceExisitingUnmappedRoots()771 assertEquals("1", getString(oldCursor, Root.COLUMN_ROOT_ID)); in testFailToReplaceExisitingUnmappedRoots()789 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()791 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()
288 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationListCursorUpdated() local290 if (mListState != null && cursor != null && oldCursor == null) { in onConversationListCursorUpdated()
865 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationMessagesCursorUpdated() local867 if (cursor != null && oldCursor == null) { in onConversationMessagesCursorUpdated()