HomeSort by relevance Sort by last modified time
    Searched refs:ContactLoader (Results 1 - 19 of 19) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/
ViewNotificationService.java 19 import com.android.contacts.ContactLoader.Result;
43 final ContactLoader contactLoader = new ContactLoader(this, intent.getData(), true);
44 contactLoader.registerListener(0, new OnLoadCompleteListener<ContactLoader.Result>() {
65 contactLoader.startLoading();
ContactLoader.java 74 public class ContactLoader extends AsyncTaskLoader<ContactLoader.Result> {
75 private static final String TAG = ContactLoader.class.getSimpleName();
92 public ContactLoader(Context context, Uri lookupUri, boolean postViewNotification) {
96 public ContactLoader(Context context, Uri lookupUri, boolean loadGroupMetaData,
310 * Returns the URI for which this {@link ContactLoader) was initially requested.
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactLoaderFragment.java 19 import com.android.contacts.ContactLoader;
87 public void onDetailsLoaded(ContactLoader.Result result);
110 private ContactLoader.Result mContactData;
182 private final LoaderManager.LoaderCallbacks<ContactLoader.Result> mDetailLoaderListener =
183 new LoaderCallbacks<ContactLoader.Result>() {
185 public Loader<ContactLoader.Result> onCreateLoader(int id, Bundle args) {
187 return new ContactLoader(mContext, lookupUri, true /* loadGroupMetaData */,
193 public void onLoadFinished(Loader<ContactLoader.Result> loader, ContactLoader.Result data) {
200 // This shouldn't ever happen, so throw an exception. The {@link ContactLoader}
    [all...]
ContactDetailUpdatesFragment.java 19 import com.android.contacts.ContactLoader;
44 private ContactLoader.Result mContactData;
125 public void setData(Uri lookupUri, ContactLoader.Result result) {
ContactDetailPhotoSetter.java 29 import com.android.contacts.ContactLoader.Result;
ContactDetailLayoutController.java 19 import com.android.contacts.ContactLoader;
106 private ContactLoader.Result mContactData;
274 public void setContactData(ContactLoader.Result data) {
ContactDetailTabCarousel.java 20 import com.android.contacts.ContactLoader;
470 public void loadData(ContactLoader.Result contactData) {
ContactDetailDisplayUtils.java 19 import com.android.contacts.ContactLoader;
20 import com.android.contacts.ContactLoader.Result;
64 * {@link ContactLoader.Result} data object to appropriate {@link View}s.
ContactDetailFragment.java 21 import com.android.contacts.ContactLoader;
141 private ContactLoader.Result mContactData;
339 protected ContactLoader.Result getContactData() {
366 public void setData(Uri lookupUri, ContactLoader.Result result) {
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/socialwidget/
SocialWidgetProvider.java 19 import com.android.contacts.ContactLoader;
63 private static SparseArray<ContactLoader> sLoaders = new SparseArray<ContactLoader>();
79 ContactLoader loader = sLoaders.get(appWidgetId);
91 ContactLoader previousLoader = sLoaders.get(widgetId);
118 final ContactLoader contactLoader = new ContactLoader(context, contactUri, false, true,
120 contactLoader.registerListener(0,
121 new ContactLoader.OnLoadCompleteListener<ContactLoader.Result>()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 33 import com.android.contacts.ContactLoader;
34 import com.android.contacts.ContactLoader.Result;
134 public void onContactLoaded(ContactLoader.Result contact) {
141 // TODO: consider moving this to ContactLoader, especially if we keep adding similar
146 final ContactLoader loader = new ContactLoader(this, contactUri, true);
147 loader.registerListener(0, new OnLoadCompleteListener<ContactLoader.Result>() {
150 Loader<ContactLoader.Result> loader, ContactLoader.Result contact) {
173 private void saveContact(ContactLoader.Result contact)
    [all...]
ContactDetailActivity.java 19 import com.android.contacts.ContactLoader;
60 private ContactLoader.Result mContactData;
211 public void onDetailsLoaded(final ContactLoader.Result result) {
PeopleActivity.java 19 import com.android.contacts.ContactLoader;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java 20 import com.android.contacts.ContactLoader;
117 private ContactLoader mContactLoader;
184 mContactLoader = (ContactLoader) getLoaderManager().initLoader(
331 * Handle the result from the ContactLoader
333 private void bindData(ContactLoader.Result data) {
508 private LoaderCallbacks<ContactLoader.Result> mLoaderCallbacks =
509 new LoaderCallbacks<ContactLoader.Result>() {
511 public void onLoaderReset(Loader<ContactLoader.Result> loader) {
515 public void onLoadFinished(Loader<ContactLoader.Result> loader, ContactLoader.Result data)
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactLoaderTest.java 40 * Runs ContactLoader tests for the the contact-detail and editor view.
77 private ContactLoader.Result assertLoadContact(Uri uri) {
78 final ContactLoader loader = new ContactLoader(mMockContext, uri, true);
83 ContactLoader.Result result = assertLoadContact(null);
88 ContactLoader.Result result = assertLoadContact(Uri.EMPTY);
93 ContactLoader.Result result = assertLoadContact(Uri.parse("content://wtf"));
114 ContactLoader.Result contact = assertLoadContact(baseUri);
146 ContactLoader.Result contact = assertLoadContact(legacyUri);
177 ContactLoader.Result contact = assertLoadContact(rawContactUri)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactLoader.java 31 public class ContactLoader extends AsyncTaskLoader<ContactLoader.ContactData> {
153 public ContactLoader(Context context, Uri lookupUri) {
  /packages/apps/Contacts/src/com/android/contacts/util/
ImageViewDrawableSetter.java 19 import com.android.contacts.ContactLoader.Result;
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 19 import com.android.contacts.ContactLoader;
439 public void setData(ContactLoader.Result data) {
477 private void bindEditorsForExistingContact(ContactLoader.Result contact) {
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactFragment.java 22 import com.android.loaderapp.model.ContactLoader;
27 import com.android.loaderapp.model.ContactLoader.ContactData;
199 return new ContactLoader(getActivity(), uri);

Completed in 7138 milliseconds