Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/ui/
DShowOrCreateActivity.java76 private NotifyingAsyncQueryHandler mQueryHandler; field in ShowOrCreateActivity
87 if (mQueryHandler == null) { in onCreate()
88 mQueryHandler = new NotifyingAsyncQueryHandler(this, this); in onCreate()
90 mQueryHandler.cancelOperation(QUERY_TOKEN); in onCreate()
125 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, CONTACTS_PROJECTION, null, null, null); in onCreate()
131 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, PHONES_PROJECTION, null, null, null); in onCreate()
142 if (mQueryHandler != null) { in onStop()
143 mQueryHandler.cancelOperation(QUERY_TOKEN); in onStop()
/packages/apps/Calendar/src/com/android/calendar/
DAlertActivity.java93 private QueryHandler mQueryHandler; field in AlertActivity
104 mQueryHandler.startUpdate(0, null, CalendarAlerts.CONTENT_URI, values, in dismissFiredAlarms()
112 mQueryHandler.startUpdate(0, null, CalendarAlerts.CONTENT_URI, values, in dismissAlarm()
224 mQueryHandler = new QueryHandler(mResolver); in onCreate()
250 mQueryHandler.startQuery(0, null, uri, PROJECTION, selection, in onResume()
295 mQueryHandler.startInsert(0, values, CalendarAlerts.CONTENT_URI, values);
DAgendaWindowAdapter.java116 private QueryHandler mQueryHandler; field in AgendaWindowAdapter
266 mQueryHandler = new QueryHandler(agendaActivity.getContentResolver()); in AgendaWindowAdapter()
493 if (mQueryHandler != null) { in close()
494 mQueryHandler.cancelOperation(0); in close()
634 mQueryHandler.cancelOperation(0); in doQuery()
636 mQueryHandler.startQuery(0, queryData, buildQueryUri( in doQuery()
DEditEvent.java264 private QueryHandler mQueryHandler; field in EditEvent
669 mQueryHandler = new QueryHandler(getContentResolver()); in onCreate()
670 mQueryHandler.startQuery(0, null, Calendars.CONTENT_URI, CALENDARS_PROJECTION, in onCreate()
/packages/apps/Phone/src/com/android/phone/
DADNList.java64 protected QueryHandler mQueryHandler; field in ADNList
78 mQueryHandler = new QueryHandler(getContentResolver()); in onCreate()
107 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, COLUMN_NAMES, in query()
DDeleteFdnContactScreen.java51 protected QueryHandler mQueryHandler; field in DeleteFdnContactScreen
113 mQueryHandler = new QueryHandler(getContentResolver()); in deleteContact()
114 mQueryHandler.startDelete(0, null, uri, buf.toString(), null); in deleteContact()
DEditFdnContactScreen.java69 private QueryHandler mQueryHandler; field in EditFdnContactScreen
288 mQueryHandler = new QueryHandler(getContentResolver()); in addContact()
289 mQueryHandler.startInsert(0, null, uri, bundle); in addContact()
310 mQueryHandler = new QueryHandler(getContentResolver()); in updateContact()
311 mQueryHandler.startUpdate(0, null, uri, bundle, null, null); in updateContact()
DNotificationMgr.java106 private QueryHandler mQueryHandler = null; field in NotificationMgr
216 mQueryHandler = new QueryHandler(mContext.getContentResolver()); in updateNotifications()
224 mQueryHandler.startQuery(CALL_LOG_TOKEN, null, Calls.CONTENT_URI, CALL_LOG_PROJECTION, in updateNotifications()
303 mQueryHandler.startQuery(CONTACT_TOKEN, n, in onQueryComplete()
/packages/apps/Mms/src/com/android/mms/ui/
DConversationList.java91 private ThreadListQueryHandler mQueryHandler; field in ConversationList
106 mQueryHandler = new ThreadListQueryHandler(getContentResolver()); in onCreate()
258 mQueryHandler.post(new Runnable() { in onDraftChanged()
273 Conversation.startQueryForAll(mQueryHandler, THREAD_LIST_QUERY_TOKEN); in startAsyncQuery()
318 confirmDeleteThread(-1L, mQueryHandler); in onOptionsItemSelected()
409 confirmDeleteThread(threadId, mQueryHandler); in onContextItemSelected()
508 confirmDeleteThread(id, mQueryHandler);
568 confirmDeleteThreadDialog(new DeleteThreadListener(threadId, mQueryHandler, in onQueryComplete()
DSearchActivity.java57 AsyncQueryHandler mQueryHandler; field in SearchActivity
193 mQueryHandler = new AsyncQueryHandler(cr) { in onCreate()
271 mQueryHandler.startQuery(0, null, uri, null, null, null, null); in onCreate()
DManageSimMessages.java73 private AsyncQueryHandler mQueryHandler = null; field in ManageSimMessages
91 mQueryHandler = new QueryHandler(mContentResolver, this); in onCreate()
152 mQueryHandler.startQuery(0, null, ICC_URI, null, null, null, null); in startQuery()
/packages/apps/IM/src/com/android/im/app/
DContactListTreeAdapter.java136 private QueryHandler mQueryHandler; field in ContactListTreeAdapter
153 mQueryHandler = new QueryHandler(activity); in ContactListTreeAdapter()
159 mQueryHandler.cancelOperation(TOKEN_ONGOING_CONVERSATION); in changeConnection()
160 mQueryHandler.cancelOperation(TOKEN_SUBSCRITPTION); in changeConnection()
161 mQueryHandler.cancelOperation(TOKEN_CONTACT_LISTS); in changeConnection()
218 mQueryHandler.startQuery(TOKEN_CONTACT_LISTS, null, uri, CONTACT_LIST_PROJECTION, in startQueryContactLists()
231 mQueryHandler.startQuery(TOKEN_ONGOING_CONVERSATION, null, uri, in startQueryOngoingConversations()
244 mQueryHandler.startQuery(TOKEN_SUBSCRITPTION, null, uri, in startQuerySubscriptions()
260 mQueryHandler.startQuery(token, null, Imps.Contacts.CONTENT_URI, in startQueryContacts()
DChatSwitcher.java71 private AsyncQueryHandler mQueryHandler; field in ChatSwitcher
117 mQueryHandler.cancelOperation(sQueryToken); in cancelPreviousQuery()
130 mQueryHandler.startQuery( in startQuery()
450 mQueryHandler = new AsyncQueryHandler(mActivity.getContentResolver()) { in ChatSwitcher()
DChatView.java176 private QueryHandler mQueryHandler; field in ChatView
652 if (mQueryHandler == null) { in startQuery()
653 mQueryHandler = new QueryHandler(mContext); in startQuery()
656 mQueryHandler.cancelOperation(QUERY_TOKEN); in startQuery()
665 mQueryHandler.startQuery(QUERY_TOKEN, null, in startQuery()
/packages/apps/Contacts/src/com/android/contacts/
DContactsListActivity.java346 private QueryHandler mQueryHandler; field in ContactsListActivity
635 mQueryHandler = new QueryHandler(this); in onCreate()
1682 mQueryHandler.cancelOperation(QUERY_TOKEN); in startQuery()
1683 mQueryHandler.setLoadingJoinSuggestions(false); in startQuery()
1698 mQueryHandler.startQuery(QUERY_TOKEN, null, in startQuery()
1707 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, in startQuery()
1714 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, in startQuery()
1720 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, in startQuery()
1727 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, projection, null, null, in startQuery()
1733 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, in startQuery()
[all …]
DRecentCallsListActivity.java125 private QueryHandler mQueryHandler; field in RecentCallsListActivity
595 mQueryHandler = new QueryHandler(this); in onCreate()
693 mQueryHandler.startUpdate(UPDATE_TOKEN, null, Calls.CONTENT_URI, in resetNewCallsFlag()
701 mQueryHandler.cancelOperation(QUERY_TOKEN); in startQuery()
702 mQueryHandler.startQuery(QUERY_TOKEN, null, Calls.CONTENT_URI, in startQuery()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java114 QueryHandler mQueryHandler; field in MusicPicker
454 mQueryHandler = new QueryHandler(this); in onCreate()
593 mQueryHandler.cancelOperation(MY_QUERY_TOKEN); in doQuery()
629 mQueryHandler.startQuery(MY_QUERY_TOKEN, null, mBaseUri, CURSOR_COLS, in doQuery()
DQueryBrowserActivity.java341 private AsyncQueryHandler mQueryHandler; field in QueryBrowserActivity.QueryListAdapter
360 mQueryHandler = new QueryHandler(context.getContentResolver()); in QueryListAdapter()
368 return mQueryHandler; in getQueryHandler()
DPlaylistBrowserActivity.java523 private AsyncQueryHandler mQueryHandler; field in PlaylistBrowserActivity.PlaylistListAdapter
547 mQueryHandler = new QueryHandler(context.getContentResolver()); in PlaylistListAdapter()
561 return mQueryHandler; in getQueryHandler()
DAlbumBrowserActivity.java498 private AsyncQueryHandler mQueryHandler; field in AlbumBrowserActivity.AlbumListAdapter
526 mQueryHandler = new QueryHandler(context.getContentResolver()); in AlbumListAdapter()
564 return mQueryHandler; in getQueryHandler()
DArtistAlbumBrowserActivity.java555 private AsyncQueryHandler mQueryHandler; field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
583 mQueryHandler = new QueryHandler(context.getContentResolver()); in ArtistAlbumListAdapter()
620 return mQueryHandler; in getQueryHandler()
DTrackBrowserActivity.java1277 private TrackQueryHandler mQueryHandler;
1348 mQueryHandler = new TrackQueryHandler(context.getContentResolver());
1356 return mQueryHandler;
1486 Cursor c = mActivity.getTrackCursor(mQueryHandler, s, false);