Searched refs:cursors (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
H A DFavoritesAndContactsLoader.java57 List<Cursor> cursors = Lists.newArrayList();
59 cursors.add(loadFavoritesContacts());
62 cursors.add(contactsCursor);
63 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) {
74 // correctly handles null cursors.
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DSuggestionsProvider.java93 ArrayList<Cursor> cursors = new ArrayList<Cursor>();
98 cursors.add(c);
102 cursors.add(new ContactsCursor().query(query));
105 if (cursors.size() > 0) {
106 mergeCursor = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DSyncMessagesAction.java161 final SyncCursorPair cursors = new SyncCursorPair(-1L, lowerBoundTimeMillis);
162 final boolean inSync = cursors.isSynchronized(db);
240 final SyncCursorPair cursors = new SyncCursorPair(lowerBoundTimeMillis,
244 lastTimestampMillis = syncCursorPair(db, cursors, smsToAdd, mmsToAdd,
269 * @param cursors cursor pair holding references to local and remote messages
278 private long syncCursorPair(final DatabaseWrapper db, final SyncCursorPair cursors, argument
293 cursors.query(db);
295 localTotal = cursors.getLocalCount();
296 remoteTotal = cursors.getRemoteCount();
299 LogUtil.d(TAG, "SyncMessagesAction: Scanning cursors (loca
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DRecentsLoader.java65 // previously returned cursors for filtering/sorting; this currently races
155 List<Cursor> cursors = new ArrayList<>(mTasks.size());
176 cursors.add(filtered);
195 "Found " + cursors.size() + " of " + totalQuerySize + " recent queries done");
201 if (cursors.size() > 0) {
202 merged = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java138 public static ListSuggestionCursor concat(SuggestionCursor... cursors) { argument
139 ListSuggestionCursor out = new ListSuggestionCursor(cursors[0].getUserQuery());
140 for (SuggestionCursor cursor : cursors) {
/packages/apps/Music/src/com/android/music/
H A DSortCursor.java25 * A variant of MergeCursor that sorts the cursors being merged. If decent
54 public SortCursor(Cursor[] cursors, String sortcolumn) { argument
55 mCursors = cursors;
106 * is used to avoid having to search all cursors from the start.
228 // All of the cursors may be empty, but they can still return
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactRecipientAdapter.java196 final Cursor[] cursors = new Cursor[]{cursorResult.personalCursor,
198 for (Cursor cursor : cursors) {
/packages/apps/Email/provider_src/com/android/email/provider/
H A DEmailProvider.java802 // Notify all notifier cursors
805 // Notify all email content cursors
1026 // Notify all notifier cursors
1029 // Notify all existing cursors.
1924 // Notify all existing cursors, except for ACCOUNT_RESET_NEW_COUNT(_ID)
2234 // Notify all notifier cursors if some records where changed in the database
2468 * Sends a change notification to any cursors observers of the given base URI. The final
4155 Cursor[] cursors = new Cursor[]{vc, c};
4156 return new MergeCursor(cursors);
4679 // TODO: Make callers of this query handle null cursors instea
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 468 milliseconds