Home
last modified time | relevance | path

Searched refs:ContactPhotoManager (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java29 import com.android.contacts.ContactPhotoManager;
30 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
146 int contactType = ContactPhotoManager.TYPE_DEFAULT; in defaultDrawable()
149 contactType = ContactPhotoManager.TYPE_BUSINESS; in defaultDrawable()
159 return ContactPhotoManager.getDefaultAvatarDrawableForContact(resources, true, request); in defaultDrawable()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java37 public abstract class ContactPhotoManager implements ComponentCallbacks2 { class
60 private static ContactPhotoManager instance;
181 public static ContactPhotoManager getInstance(Context context) { in getInstance()
193 public static synchronized ContactPhotoManager createContactPhotoManager(Context context) { in createContactPhotoManager()
198 public static void injectContactPhotoManagerForTesting(ContactPhotoManager photoManager) { in injectContactPhotoManagerForTesting()
245 ContactPhotoManager.DefaultImageRequest request = in loadDialerThumbnailOrPhoto()
246 new ContactPhotoManager.DefaultImageRequest( in loadDialerThumbnailOrPhoto()
DContactPhotoManagerImpl.java76 class ContactPhotoManagerImpl extends ContactPhotoManager implements Callback {
919 ContactPhotoManager.isBusinessContactUri(uri) in applyDefaultImage()
924 ContactPhotoManager.isBusinessContactUri(uri) in applyDefaultImage()
1223 Uri uri = ContactPhotoManager.removeContactType(originalUri); in loadUriBasedPhotos()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionView.java29 import com.android.contacts.ContactPhotoManager;
63 final ContactPhotoManager.DefaultImageRequest in bindSuggestion()
64 request = new ContactPhotoManager.DefaultImageRequest( in bindSuggestion()
68 ContactPhotoManager.getInstance(getContext()).loadThumbnail(photoView, in bindSuggestion()
DEditorUiUtils.java47 import com.android.contacts.ContactPhotoManager;
48 import com.android.contacts.ContactPhotoManager.DefaultImageProvider;
49 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
239 static void loadPhoto(ContactPhotoManager contactPhotoManager, ImageView imageView, in loadPhoto()
266 imageView.setImageDrawable(ContactPhotoManager.getDefaultAvatarDrawableForContact( in setDefaultPhoto()
DPickRawContactDialogFragment.java19 import com.android.contacts.ContactPhotoManager;
132 final ContactPhotoManager.DefaultImageRequest in getView()
133 request = new ContactPhotoManager.DefaultImageRequest( in getView()
136 ContactPhotoManager.getInstance(mContext).loadThumbnail(holder.photo, in getView()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactTileView.java29 import com.android.dialer.contactphoto.ContactPhotoManager;
30 import com.android.dialer.contactphoto.ContactPhotoManager.DefaultImageRequest;
42 private ContactPhotoManager mPhotoManager = null;
78 public void setPhotoManager(ContactPhotoManager photoManager) {
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java30 import com.android.dialer.contactphoto.ContactPhotoManager;
31 import com.android.dialer.contactphoto.ContactPhotoManager.DefaultImageRequest;
45 private final ContactPhotoManager contactPhotoManager;
51 ContactPhotoManager contactPhotoManager) { in NumbersAdapter()
DViewNumbersToImportAdapter.java24 import com.android.dialer.contactphoto.ContactPhotoManager;
35 ContactPhotoManager contactPhotoManager) { in ViewNumbersToImportAdapter()
45 ContactPhotoManager.getInstance(context)); in newViewNumbersToImportAdapter()
DBlockedNumbersAdapter.java24 import com.android.dialer.contactphoto.ContactPhotoManager;
39 ContactPhotoManager contactPhotoManager) { in BlockedNumbersAdapter()
49 ContactPhotoManager.getInstance(context)); in newBlockedNumbersAdapter()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java48 import com.android.contacts.ContactPhotoManager;
399 contactType = ContactPhotoManager.TYPE_BUSINESS; in setPhoto()
401 contactType = ContactPhotoManager.TYPE_DEFAULT; in setPhoto()
409 ContactPhotoManager.DefaultImageRequest in setPhoto()
410 request = new ContactPhotoManager.DefaultImageRequest( in setPhoto()
414 ContactPhotoManager.getInstance(this).loadPhoto(mContactPhoto, photoUri, in setPhoto()
417 ContactPhotoManager.getInstance(this).loadThumbnail(mContactPhoto, photoId, in setPhoto()
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerFragment.java24 import com.android.dialer.contactphoto.ContactPhotoManager;
39 private ContactPhotoManager contactPhotoManager;
66 contactPhotoManager = ContactPhotoManager.getInstance(getActivity().getApplicationContext()); in onCreateView()
DConferenceParticipantListAdapter.java36 import com.android.dialer.contactphoto.ContactPhotoManager;
37 import com.android.dialer.contactphoto.ContactPhotoManager.DefaultImageRequest;
61 private final ContactPhotoManager contactPhotoManager;
99 ListView listView, ContactPhotoManager contactPhotoManager) { in ConferenceParticipantListAdapter()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContactPhotoManager.java24 import com.android.contacts.ContactPhotoManager;
30 public class MockContactPhotoManager extends ContactPhotoManager {
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java37 import com.android.contacts.ContactPhotoManager;
38 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
81 private ContactPhotoManager mPhotoLoader;
306 public void setPhotoLoader(ContactPhotoManager photoLoader) { in setPhotoLoader()
310 protected ContactPhotoManager getPhotoLoader() { in getPhotoLoader()
DMultiSelectEntryContactListAdapter.java25 import com.android.contacts.ContactPhotoManager;
171 final ContactPhotoManager.DefaultImageRequest imageRequest = photoId == 0 in bindPhoto()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java86 public abstract class ContactPhotoManager implements ComponentCallbacks2 { class
117 private static ContactPhotoManager sInstance;
437 public static ContactPhotoManager getInstance(Context context) { in getInstance()
449 public static synchronized ContactPhotoManager createContactPhotoManager(Context context) { in createContactPhotoManager()
454 public static void injectContactPhotoManagerForTesting(ContactPhotoManager photoManager) { in injectContactPhotoManagerForTesting()
583 class ContactPhotoManagerImpl extends ContactPhotoManager implements Callback {
1572 Uri uri = ContactPhotoManager.removeContactType(originalUri); in loadUriBasedPhotos()
1735 request = ContactPhotoManager.isBusinessContactUri(mUri) in applyDefaultImage()
1739 request = ContactPhotoManager.isBusinessContactUri(mUri) in applyDefaultImage()
DDynamicShortcuts.java421 final ContactPhotoManager.DefaultImageRequest request = in getFallbackAvatar()
422 new ContactPhotoManager.DefaultImageRequest(displayName, lookupKey, circularIcon); in getFallbackAvatar()
427 final Drawable avatar = ContactPhotoManager.getDefaultAvatarDrawableForContact( in getFallbackAvatar()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlaceViewHolder.java28 import com.android.dialer.contactphoto.ContactPhotoManager;
72 ContactPhotoManager.getInstance(context) in bind()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java33 import com.android.dialer.contactphoto.ContactPhotoManager;
91 ContactPhotoManager.getInstance(context) in bind()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java30 import com.android.contacts.ContactPhotoManager;
84 ContactPhotoManager.injectContactPhotoManagerForTesting(new MockContactPhotoManager()); in setUp()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsAdapter.java31 import com.android.dialer.contactphoto.ContactPhotoManager;
121 ContactPhotoManager.getInstance(context) in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java42 import com.android.dialer.contactphoto.ContactPhotoManager;
109 private ContactPhotoManager photoManager;
126 void setPhotoLoader(ContactPhotoManager photoLoader) { in setPhotoLoader()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsHeaderViewHolder.java38 import com.android.dialer.contactphoto.ContactPhotoManager;
152 ContactPhotoManager.getInstance(context) in updateContactInfo()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java34 import com.android.dialer.contactphoto.ContactPhotoManager;
117 ContactPhotoManager.getInstance(context) in bind()

12