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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DProfileAndContactsLoader.java55 List<Cursor> cursors = Lists.newArrayList();
57 cursors.add(loadProfile());
60 // correctly handles null cursors.
68 cursors.add(contactsCursor);
69 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) {
/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/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
55 public SortCursor(Cursor[] cursors, String sortcolumn) argument
57 mCursors = cursors;
112 * is used to avoid having to search all cursors from the start.
243 // All of the cursors may be empty, but they can still return
/packages/apps/Settings/src/com/android/settings/search/
H A DIndex.java236 final Cursor[] cursors = new Cursor[2];
240 cursors[0] = database.rawQuery(primarySql, null);
250 cursors[1] = database.rawQuery(secondarySql, null);
252 return new MergeCursor(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 237 milliseconds