Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java81 private NotifyingAsyncQueryHandler mQueryHandler; field in ShowOrCreateActivity
96 if (mQueryHandler == null) { in onCreate()
97 mQueryHandler = new NotifyingAsyncQueryHandler(this, this); in onCreate()
99 mQueryHandler.cancelOperation(QUERY_TOKEN); in onCreate()
134 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, CONTACTS_PROJECTION, null, null, null); in onCreate()
140 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, PHONES_PROJECTION, null, null, null); in onCreate()
151 if (mQueryHandler != null) { in onStop()
152 mQueryHandler.cancelOperation(QUERY_TOKEN); in onStop()
DConfirmAddDetailActivity.java129 private QueryHandler mQueryHandler; field in ConfirmAddDetailActivity
305 mQueryHandler = new QueryHandler(mContentResolver); in resetAsyncQueryHandler()
314 mQueryHandler.startQuery(TOKEN_CONTACT_INFO, contactUri, contactUri, ContactQuery.COLUMNS, in startContactQuery()
325 mQueryHandler.startQuery(TOKEN_PHOTO_QUERY, lookupKey, in startPhotoQuery()
352 mQueryHandler.startQuery(TOKEN_DISAMBIGUATION_QUERY, null, uri, in startDisambiguationQuery()
362 mQueryHandler.startQuery(TOKEN_EXTRA_INFO_QUERY, null, Data.CONTENT_URI, in startExtraInfoQuery()
458 if (this != mQueryHandler) { in onQueryComplete()
/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/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/services/Telephony/src/com/android/phone/
DADNList.java71 protected QueryHandler mQueryHandler; field in ADNList
85 mQueryHandler = new QueryHandler(getContentResolver()); in onCreate()
114 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, COLUMN_NAMES, in query()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DEditFdnContactScreen.java78 private QueryHandler mQueryHandler; field in EditFdnContactScreen
305 mQueryHandler = new QueryHandler(getContentResolver()); in addContact()
306 mQueryHandler.startInsert(0, null, uri, bundle); in addContact()
330 mQueryHandler = new QueryHandler(getContentResolver()); in updateContact()
331 mQueryHandler.startUpdate(0, null, uri, bundle, null, null); in updateContact()
DDeleteFdnContactScreen.java57 protected QueryHandler mQueryHandler; field in DeleteFdnContactScreen
124 mQueryHandler = new QueryHandler(getContentResolver()); in deleteContact()
125 mQueryHandler.startDelete(0, null, uri, buf.toString(), null); in deleteContact()
/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()
DArtistAlbumBrowserActivity.java566 private AsyncQueryHandler mQueryHandler; field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
594 mQueryHandler = new QueryHandler(context.getContentResolver()); in ArtistAlbumListAdapter()
631 return mQueryHandler; in getQueryHandler()
DTrackBrowserActivity.java1346 private TrackQueryHandler mQueryHandler;
1418 mQueryHandler = new TrackQueryHandler(context.getContentResolver());
1426 return mQueryHandler;
1554 Cursor c = mActivity.getTrackCursor(mQueryHandler, s, false);
/packages/apps/Dialer/src/com/android/dialer/
DSpecialCharSequenceMgr.java96 final private QueryHandler mQueryHandler; field in SpecialCharSequenceMgr.HandleAdnEntryAccountSelectedCallback
102 mQueryHandler = queryHandler; in HandleAdnEntryAccountSelectedCallback()
110 handleAdnQuery(mQueryHandler, mCookie, uri); in onPhoneAccountSelected()
/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/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java161 private AsyncQueryHandler mQueryHandler; field in MessageHeaderView
1216 if (mQueryHandler == null) { in getQueryHandler()
1217 mQueryHandler = new AsyncQueryHandler(getContext().getContentResolver()) {}; in getQueryHandler()
1219 return mQueryHandler; in getQueryHandler()