/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursorLoader.java | 113 final Cursor oldCursor = mCursor; in deliverResult() local 120 if (oldCursor != null && oldCursor != cursor && !oldCursor.isClosed()) { in deliverResult() 121 oldCursor.close(); in deliverResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CursorRecyclerAdapter.java | 244 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/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CursorRecyclerViewAdapter.java | 100 Cursor oldCursor = mCursor; in swapCursor() local 101 if (oldCursor != null) { in swapCursor() 103 oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor() 118 return oldCursor; in swapCursor()
|
D | CursorFilter.java | 67 Cursor oldCursor = mClient.getCursor(); in publishResults() local 69 if (results.values != null && results.values != oldCursor) { in publishResults()
|
/packages/apps/Dialer/java/com/android/dialer/app/dialpad/ |
D | SmartDialCursorLoader.java | 119 Cursor oldCursor = mCursor; in deliverResult() local 128 if (oldCursor != null && oldCursor != cursor) { in deliverResult() 129 releaseResources(oldCursor); in deliverResult()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewFragment.java | 1544 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument 1554 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() argument 1653 if (!newCursor.moveToPosition(pos) || !oldCursor.moveToPosition(pos)) { in processInPlaceUpdates() 1658 final ConversationMessage oldMsg = oldCursor.getMessage(); in processInPlaceUpdates()
|
D | AbstractConversationViewFragment.java | 216 MessageCursor newCursor, MessageCursor oldCursor); in onMessageCursorLoadFinished() argument 539 final MessageCursor oldCursor = mCursor; in onLoadFinished() local 541 onMessageCursorLoadFinished(loader, mCursor, oldCursor); in onLoadFinished()
|
D | AnimatedAdapter.java | 1111 final Cursor oldCursor = super.swapCursor(c); in swapCursor() local 1114 return oldCursor; in swapCursor()
|
D | SecureConversationViewFragment.java | 243 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | PeopleAndOptionsFragment.java | 192 final Cursor oldCursor = mOptionsCursor; in swapCursor() local 193 if (newCursor != oldCursor) { in swapCursor() 197 return oldCursor; in swapCursor()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListFragment.java | 288 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationListCursorUpdated() local 290 if (mListState != null && cursor != null && oldCursor == null) { in onConversationListCursorUpdated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search2/ |
D | DatabaseIndexingManagerTest.java | 771 final Cursor oldCursor = mDb.rawQuery("SELECT * FROM prefs_index WHERE data_title = '" + in testPerformIndexing_localeChanged_databaseDropped() local 773 assertThat(oldCursor.getCount()).isEqualTo(0); in testPerformIndexing_localeChanged_databaseDropped()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFragment.java | 855 final Cursor oldCursor = mAdapter.swapCursor(cursor); in onConversationMessagesCursorUpdated() local 857 if (cursor != null && oldCursor == null) { in onConversationMessagesCursorUpdated()
|