/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 29 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/ |
D | ContactPhotoManager.java | 37 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()
|
D | ContactPhotoManagerImpl.java | 76 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/ |
D | AggregationSuggestionView.java | 29 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()
|
D | EditorUiUtils.java | 47 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()
|
D | PickRawContactDialogFragment.java | 19 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/ |
D | ContactTileView.java | 29 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/ |
D | NumbersAdapter.java | 30 import com.android.dialer.contactphoto.ContactPhotoManager; 31 import com.android.dialer.contactphoto.ContactPhotoManager.DefaultImageRequest; 45 private final ContactPhotoManager contactPhotoManager; 51 ContactPhotoManager contactPhotoManager) { in NumbersAdapter()
|
D | ViewNumbersToImportAdapter.java | 24 import com.android.dialer.contactphoto.ContactPhotoManager; 35 ContactPhotoManager contactPhotoManager) { in ViewNumbersToImportAdapter() 45 ContactPhotoManager.getInstance(context)); in newViewNumbersToImportAdapter()
|
D | BlockedNumbersAdapter.java | 24 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/ |
D | CallSubjectDialog.java | 48 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/ |
D | ConferenceManagerFragment.java | 24 import com.android.dialer.contactphoto.ContactPhotoManager; 39 private ContactPhotoManager contactPhotoManager; 66 contactPhotoManager = ContactPhotoManager.getInstance(getActivity().getApplicationContext()); in onCreateView()
|
D | ConferenceParticipantListAdapter.java | 36 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/ |
D | MockContactPhotoManager.java | 24 import com.android.contacts.ContactPhotoManager; 30 public class MockContactPhotoManager extends ContactPhotoManager {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListAdapter.java | 37 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()
|
D | MultiSelectEntryContactListAdapter.java | 25 import com.android.contacts.ContactPhotoManager; 171 final ContactPhotoManager.DefaultImageRequest imageRequest = photoId == 0 in bindPhoto()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 86 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()
|
D | DynamicShortcuts.java | 421 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/ |
D | NearbyPlaceViewHolder.java | 28 import com.android.dialer.contactphoto.ContactPhotoManager; 72 ContactPhotoManager.getInstance(context) in bind()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 33 import com.android.dialer.contactphoto.ContactPhotoManager; 91 ContactPhotoManager.getInstance(context) in bind()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 30 import com.android.contacts.ContactPhotoManager; 84 ContactPhotoManager.injectContactPhotoManagerForTesting(new MockContactPhotoManager()); in setUp()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsAdapter.java | 31 import com.android.dialer.contactphoto.ContactPhotoManager; 121 ContactPhotoManager.getInstance(context) in onBindViewHolder()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoritesTileAdapter.java | 42 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/ |
D | CallDetailsHeaderViewHolder.java | 38 import com.android.dialer.contactphoto.ContactPhotoManager; 152 ContactPhotoManager.getInstance(context) in updateContactInfo()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactViewHolder.java | 34 import com.android.dialer.contactphoto.ContactPhotoManager; 117 ContactPhotoManager.getInstance(context) in bind()
|