Home
last modified time | relevance | path

Searched refs:mQueryHandler (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java77 private NotifyingAsyncQueryHandler mQueryHandler; field in ShowOrCreateActivity
88 if (mQueryHandler == null) { in onCreate()
89 mQueryHandler = new NotifyingAsyncQueryHandler(this, this); in onCreate()
91 mQueryHandler.cancelOperation(QUERY_TOKEN); in onCreate()
126 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, CONTACTS_PROJECTION, null, null, null); in onCreate()
132 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, PHONES_PROJECTION, null, null, null); in onCreate()
143 if (mQueryHandler != null) { in onStop()
144 mQueryHandler.cancelOperation(QUERY_TOKEN); in onStop()
DConfirmAddDetailActivity.java126 private QueryHandler mQueryHandler; field in ConfirmAddDetailActivity
299 mQueryHandler = new QueryHandler(mContentResolver); in resetAsyncQueryHandler()
308 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS, in startContactQuery()
319 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey, in startPhotoQuery()
346 mQueryHandler.startQuery(TOKEN_DISAMBIGUATION_QUERY, null, uri, in startDisambiguationQuery()
356 mQueryHandler.startQuery(TOKEN_EXTRA_INFO_QUERY, null, Data.CONTENT_URI, in startExtraInfoQuery()
452 if (this != mQueryHandler) { in onQueryComplete()
/packages/apps/Mms/src/com/android/mms/ui/
DConversationList.java104 private ThreadListQueryHandler mQueryHandler; field in ConversationList
127 mQueryHandler = new ThreadListQueryHandler(getContentResolver()); in onCreate()
347 mQueryHandler.post(new Runnable() { in onDraftChanged()
362 Conversation.startQueryForAll(mQueryHandler, THREAD_LIST_QUERY_TOKEN); in startAsyncQuery()
363 Conversation.startQuery(mQueryHandler, UNREAD_THREADS_QUERY_TOKEN, Threads.READ + "=0"); in startAsyncQuery()
458 confirmDeleteThread(-1L, mQueryHandler); in onOptionsItemSelected()
567 confirmDeleteThread(threadId, mQueryHandler); in onContextItemSelected()
691 confirmDeleteThread(id, mQueryHandler);
757 Conversation.asyncDeleteObsoleteThreads(mQueryHandler,
825 confirmDeleteThreadDialog(new DeleteThreadListener(threadIds, mQueryHandler, in onQueryComplete()
[all …]
DManageSimMessages.java73 private AsyncQueryHandler mQueryHandler = null; field in ManageSimMessages
91 mQueryHandler = new QueryHandler(mContentResolver, this); in onCreate()
160 mQueryHandler.startQuery(0, null, ICC_URI, null, null, null, null); in startQuery()
DSearchActivity.java62 private AsyncQueryHandler mQueryHandler; field in SearchActivity
286 mQueryHandler = new AsyncQueryHandler(cr) { in onCreate()
378 mQueryHandler.startQuery(0, null, uri, null, null, null, null); in onCreate()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java74 private QueryHandler mQueryHandler; field in ContactHeaderWidget
235 if (this != mQueryHandler) { in onQueryComplete()
557 mQueryHandler.startQuery(TOKEN_EMAIL_LOOKUP, emailAddress, in bindFromEmail()
573 mQueryHandler.startQuery(TOKEN_PHONE_LOOKUP, number, in bindFromPhoneNumber()
591 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS, in startContactQuery()
609 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey, in startPhotoQuery()
633 mQueryHandler = new QueryHandler(mContentResolver); in resetAsyncQueryHandler()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java90 private QueryHandler mQueryHandler; field in AlertActivity
100 mQueryHandler.startUpdate(0, null, CalendarAlerts.CONTENT_URI, values, in dismissFiredAlarms()
129 mQueryHandler.startUpdate(0, null, CalendarAlerts.CONTENT_URI, values, in dismissAlarm()
214 mQueryHandler = new QueryHandler(this); in onCreate()
236 mQueryHandler.startQuery(0, null, uri, PROJECTION, SELECTION, SELECTIONARG, in onResume()
/packages/apps/Phone/src/com/android/phone/
DEditFdnContactScreen.java70 private QueryHandler mQueryHandler; field in EditFdnContactScreen
289 mQueryHandler = new QueryHandler(getContentResolver()); in addContact()
290 mQueryHandler.startInsert(0, null, uri, bundle); in addContact()
314 mQueryHandler = new QueryHandler(getContentResolver()); in updateContact()
315 mQueryHandler.startUpdate(0, null, uri, bundle, null, null); in updateContact()
DDeleteFdnContactScreen.java51 protected QueryHandler mQueryHandler; field in DeleteFdnContactScreen
116 mQueryHandler = new QueryHandler(getContentResolver()); in deleteContact()
117 mQueryHandler.startDelete(0, null, uri, buf.toString(), null); in deleteContact()
DADNList.java65 protected QueryHandler mQueryHandler; field in ADNList
79 mQueryHandler = new QueryHandler(getContentResolver()); in onCreate()
108 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, COLUMN_NAMES, in query()
DNotificationMgr.java127 private QueryHandler mQueryHandler = null; field in NotificationMgr
272 mQueryHandler = new QueryHandler(mContext.getContentResolver()); in updateNotificationsAtStartup()
281 mQueryHandler.startQuery(CALL_LOG_TOKEN, null, Calls.CONTENT_URI, CALL_LOG_PROJECTION, in updateNotificationsAtStartup()
362 mQueryHandler.startQuery(CONTACT_TOKEN, n, in onQueryComplete()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaWindowAdapter.java147 private final QueryHandler mQueryHandler; field in AgendaWindowAdapter
351 mQueryHandler = new QueryHandler(context.getContentResolver()); in AgendaWindowAdapter()
759 if (mQueryHandler != null) { in close()
760 mQueryHandler.cancelOperation(0); in close()
930 mQueryHandler.cancelOperation(0); in doQuery()
935 mQueryHandler.startQuery(0, queryData, queryUri, in doQuery()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java115 QueryHandler mQueryHandler; field in MusicPicker
454 mQueryHandler = new QueryHandler(this); in onCreate()
593 mQueryHandler.cancelOperation(MY_QUERY_TOKEN); in doQuery()
616 mQueryHandler.startQuery(MY_QUERY_TOKEN, null, uri, CURSOR_COLS, in doQuery()
DQueryBrowserActivity.java346 private AsyncQueryHandler mQueryHandler; field in QueryBrowserActivity.QueryListAdapter
365 mQueryHandler = new QueryHandler(context.getContentResolver()); in QueryListAdapter()
373 return mQueryHandler; in getQueryHandler()
DPlaylistBrowserActivity.java548 private AsyncQueryHandler mQueryHandler; field in PlaylistBrowserActivity.PlaylistListAdapter
572 mQueryHandler = new QueryHandler(context.getContentResolver()); in PlaylistListAdapter()
586 return mQueryHandler; in getQueryHandler()
DAlbumBrowserActivity.java506 private AsyncQueryHandler mQueryHandler; field in AlbumBrowserActivity.AlbumListAdapter
534 mQueryHandler = new QueryHandler(context.getContentResolver()); in AlbumListAdapter()
572 return mQueryHandler; in getQueryHandler()
DTrackBrowserActivity.java1346 private TrackQueryHandler mQueryHandler;
1417 mQueryHandler = new TrackQueryHandler(context.getContentResolver());
1425 return mQueryHandler;
1553 Cursor c = mActivity.getTrackCursor(mQueryHandler, s, false);
DArtistAlbumBrowserActivity.java566 private AsyncQueryHandler mQueryHandler; field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
594 mQueryHandler = new QueryHandler(context.getContentResolver()); in ArtistAlbumListAdapter()
631 return mQueryHandler; in getQueryHandler()