Home
last modified time | relevance | path

Searched refs:oldCursor (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DCursorRecyclerAdapter.java244 final Cursor oldCursor = mCursor; in swapCursor() local
245 if (oldCursor != null) { in swapCursor()
247 oldCursor.unregisterContentObserver(mChangeObserver); in swapCursor()
250 oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()
271 return oldCursor; in swapCursor()
/packages/apps/Dialer/java/com/android/dialer/smartdial/
DSmartDialCursorLoader.java120 Cursor oldCursor = this.cursor; in deliverResult() local
129 if (oldCursor != null && oldCursor != cursor) { in deliverResult()
130 releaseResources(oldCursor); in deliverResult()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java192 final Cursor oldCursor = mOptionsCursor; in swapCursor() local
193 if (newCursor != oldCursor) { in swapCursor()
197 return oldCursor; in swapCursor()
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDatabaseTest.java767 try (final Cursor oldCursor = in testFailToReplaceExisitingUnmappedRoots() argument
769 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()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java288 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationListCursorUpdated() local
290 if (mListState != null && cursor != null && oldCursor == null) { in onConversationListCursorUpdated()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java865 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationMessagesCursorUpdated() local
867 if (cursor != null && oldCursor == null) { in onConversationMessagesCursorUpdated()