Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java80 private NotifyingAsyncQueryHandler mQueryHandler; field in ShowOrCreateActivity
95 if (mQueryHandler == null) { in onCreate()
96 mQueryHandler = new NotifyingAsyncQueryHandler(this, this); in onCreate()
98 mQueryHandler.cancelOperation(QUERY_TOKEN); in onCreate()
133 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, CONTACTS_PROJECTION, null, null, null); in onCreate()
139 mQueryHandler.startQuery(QUERY_TOKEN, null, uri, PHONES_PROJECTION, null, null, null); in onCreate()
150 if (mQueryHandler != null) { in onStop()
151 mQueryHandler.cancelOperation(QUERY_TOKEN); in onStop()
/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/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/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/apps/Music/src/com/android/music/
DMusicPicker.java108 QueryHandler mQueryHandler; field in MusicPicker
444 mQueryHandler = new QueryHandler(this); in onCreate()
588 mQueryHandler.cancelOperation(MY_QUERY_TOKEN); in doQuery()
611 mQueryHandler.startQuery( in doQuery()
DQueryBrowserActivity.java327 private AsyncQueryHandler mQueryHandler; field in QueryBrowserActivity.QueryListAdapter
346 mQueryHandler = new QueryHandler(context.getContentResolver()); in QueryListAdapter()
354 return mQueryHandler; in getQueryHandler()
DPlaylistBrowserActivity.java535 private AsyncQueryHandler mQueryHandler; field in PlaylistBrowserActivity.PlaylistListAdapter
559 mQueryHandler = new QueryHandler(context.getContentResolver()); in PlaylistListAdapter()
573 return mQueryHandler; in getQueryHandler()
DAlbumBrowserActivity.java492 private AsyncQueryHandler mQueryHandler; field in AlbumBrowserActivity.AlbumListAdapter
520 mQueryHandler = new QueryHandler(context.getContentResolver()); in AlbumListAdapter()
558 return mQueryHandler; in getQueryHandler()
DArtistAlbumBrowserActivity.java556 private AsyncQueryHandler mQueryHandler; field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
584 mQueryHandler = new QueryHandler(context.getContentResolver()); in ArtistAlbumListAdapter()
623 return mQueryHandler; in getQueryHandler()
DTrackBrowserActivity.java1301 private TrackQueryHandler mQueryHandler;
1371 mQueryHandler = new TrackQueryHandler(context.getContentResolver());
1379 return mQueryHandler;
1506 Cursor c = mActivity.getTrackCursor(mQueryHandler, s, false);
/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/Dialer/java/com/android/dialer/app/
DSpecialCharSequenceMgr.java345 private final QueryHandler mQueryHandler; field in SpecialCharSequenceMgr.HandleAdnEntryAccountSelectedCallback
351 mQueryHandler = queryHandler; in HandleAdnEntryAccountSelectedCallback()
359 handleAdnQuery(mQueryHandler, mCookie, uri); in onPhoneAccountSelected()
/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()