/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationListFragment.java | 1122 final ConversationCursor newCursor = mCallbacks.getConversationListCursor(); in onCursorUpdated() local 1124 if (newCursor == null && mListAdapter.getCursor() != null) { in onCursorUpdated() 1129 mListAdapter.swapCursor(newCursor); in onCursorUpdated() 1134 final int newCursorHash = (newCursor == null) ? 0 : newCursor.hashCode(); in onCursorUpdated() 1140 updateAnalyticsData(newCursor); in onCursorUpdated() 1141 if (newCursor != null) { in onCursorUpdated() 1142 final int newCursorCount = newCursor.getCount(); in onCursorUpdated() 1145 newCursor.markContentsSeen(); in onCursorUpdated() 1268 private void updateAnalyticsData(ConversationCursor newCursor) { in updateAnalyticsData() argument 1269 if (newCursor != null) { in updateAnalyticsData() [all …]
|
D | SecureConversationViewFragment.java | 243 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument 244 renderMessage(newCursor); in onMessageCursorLoadFinished() 247 private void renderMessage(MessageCursor newCursor) { in renderMessage() argument 249 if (newCursor == null || !newCursor.isLoaded()) { in renderMessage() 257 if (!newCursor.moveToFirst()) { in renderMessage() 262 mViewController.renderMessage(newCursor.getMessage()); in renderMessage()
|
D | ConversationViewFragment.java | 1544 MessageCursor newCursor, MessageCursor oldCursor) { in onMessageCursorLoadFinished() argument 1555 final NewMessagesInfo info = getNewIncomingMessagesInfo(newCursor); in onMessageCursorLoadFinished() 1568 final boolean changed = newCursor.getStateHashCode() != oldState; in onMessageCursorLoadFinished() 1571 final boolean processedInPlace = processInPlaceUpdates(newCursor, oldCursor); in onMessageCursorLoadFinished() 1582 final boolean sameExceptNewLast = newCursor.getStateHashCode(1) == oldState; in onMessageCursorLoadFinished() 1586 newCursor.moveToLast(); in onMessageCursorLoadFinished() 1587 processNewOutgoingMessage(newCursor.getMessage()); in onMessageCursorLoadFinished() 1598 LogUtils.i(LOG_TAG, "new cursor: %s", newCursor.getDebugDump()); in onMessageCursorLoadFinished() 1605 renderContent(newCursor); in onMessageCursorLoadFinished() 1620 private NewMessagesInfo getNewIncomingMessagesInfo(MessageCursor newCursor) { in getNewIncomingMessagesInfo() argument [all …]
|
D | AbstractConversationViewFragment.java | 216 MessageCursor newCursor, MessageCursor oldCursor); in onMessageCursorLoadFinished() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CursorRecyclerAdapter.java | 240 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument 241 if (newCursor == mCursor) { in swapCursor() 253 mCursor = newCursor; in swapCursor() 254 if (newCursor != null) { in swapCursor() 256 newCursor.registerContentObserver(mChangeObserver); in swapCursor() 259 newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor() 261 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionsAdapterBase.java | 187 private void changeSuggestions(SuggestionCursor newCursor) { in changeSuggestions() argument 189 Log.d(TAG, "changeCursor(" + newCursor + ") count=" + in changeSuggestions() 190 (newCursor == null ? 0 : newCursor.getCount())); in changeSuggestions() 192 if (newCursor == mCurrentSuggestions) { in changeSuggestions() 193 if (newCursor != null) { in changeSuggestions() 199 mCurrentSuggestions = newCursor; in changeSuggestions()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SearchResultsSummary.java | 425 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument 426 if (newCursor == mCursor) { in swapCursor() 430 mCursor = newCursor; in swapCursor() 431 if (newCursor != null) { in swapCursor() 527 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument 528 if (newCursor == mCursor) { in swapCursor() 532 mCursor = newCursor; in swapCursor() 533 if (newCursor != null) { in swapCursor()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactListAdapter.java | 67 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument 68 mSectionIndexer = new ContactSectionIndexer(newCursor); in swapCursor() 69 return super.swapCursor(newCursor); in swapCursor()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectSyncedCalendarsMultiAccountAdapter.java | 168 MatrixCursor newCursor = Utils.matrixCursorFromCursor(cursor); in onQueryComplete() local 171 Utils.checkForDuplicateNames(mIsDuplicateName, newCursor, NAME_COLUMN); in onQueryComplete() 173 mChildrenCursors.put((String)cookie, newCursor); in onQueryComplete() local 175 setChildrenCursor(token, newCursor); in onQueryComplete()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | PeopleAndOptionsFragment.java | 191 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument 193 if (newCursor != oldCursor) { in swapCursor() 194 mOptionsCursor = newCursor; in swapCursor()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 476 MatrixCursor newCursor = new MatrixCursor(columnNames); in matrixCursorFromCursor() local 484 newCursor.addRow(data); in matrixCursorFromCursor() 486 return newCursor; in matrixCursorFromCursor()
|
/packages/apps/Music/src/com/android/music/ |
D | TrackBrowserActivity.java | 361 public void init(Cursor newCursor, boolean isLimited) { in init() argument 366 mAdapter.changeCursor(newCursor); // also sets mTrackCursor in init()
|