Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DNumbersAdapter.java30 import com.android.contacts.common.ContactPhotoManager;
31 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
45 private ContactPhotoManager mContactPhotoManager;
51 ContactPhotoManager contactPhotoManager) { in NumbersAdapter()
101 ? ContactPhotoManager.TYPE_BUSINESS : ContactPhotoManager.TYPE_DEFAULT; in loadContactPhoto()
DViewNumbersToImportAdapter.java23 import com.android.contacts.common.ContactPhotoManager;
34 ContactPhotoManager contactPhotoManager) { in ViewNumbersToImportAdapter()
44 ContactPhotoManager.getInstance(context)); in newViewNumbersToImportAdapter()
DBlockedNumbersAdapter.java24 import com.android.contacts.common.ContactPhotoManager;
38 ContactPhotoManager contactPhotoManager) { in BlockedNumbersAdapter()
48 ContactPhotoManager.getInstance(context)); in newBlockedNumbersAdapter()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java33 import com.android.contacts.common.ContactPhotoManager.DefaultImageProvider;
34 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
36 import com.android.contacts.common.ContactPhotoManager;
53 private ContactPhotoManager mContactPhotoManager;
80 mContactPhotoManager = ContactPhotoManager.getInstance(getContext()); in onFinishInflate()
233ContactPhotoManager.getDefaultAvatarDrawableForContact(getResources(), false, null)); in resetDefault()
DEditorUiUtils.java47 import com.android.contacts.common.ContactPhotoManager;
48 import com.android.contacts.common.ContactPhotoManager.DefaultImageProvider;
49 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
256 static void loadPhoto(ContactPhotoManager contactPhotoManager, ImageView imageView, in loadPhoto()
283 imageView.setImageDrawable(ContactPhotoManager.getDefaultAvatarDrawableForContact( in setDefaultPhoto()
DAggregationSuggestionView.java32 import com.android.contacts.common.ContactPhotoManager;
92 photo.setImageDrawable(ContactPhotoManager.getDefaultAvatarDrawableForContact( in bindSuggestion()
DCompactPhotoSelectionFragment.java20 import com.android.contacts.common.ContactPhotoManager;
228 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(mContext), in getView()
235 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(mContext), in getView()
DCompactPhotoEditorView.java20 import com.android.contacts.common.ContactPhotoManager;
213 EditorUiUtils.loadPhoto(ContactPhotoManager.getInstance(getContext()), in setFullSizedPhoto()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java29 import com.android.contacts.common.ContactPhotoManager;
30 import com.android.contacts.common.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/ContactsCommon/src/com/android/contacts/common/list/
DContactTileStarredView.java18 import com.android.contacts.common.ContactPhotoManager;
19 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
53 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT, in getDefaultImageRequest()
DContactTileView.java30 import com.android.contacts.common.ContactPhotoManager;
31 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
48 private ContactPhotoManager mPhotoManager = null;
86 public void setPhotoManager(ContactPhotoManager photoManager) {
DContactEntryListAdapter.java38 import com.android.contacts.common.ContactPhotoManager;
39 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
85 private ContactPhotoManager mPhotoLoader;
310 public void setPhotoLoader(ContactPhotoManager photoLoader) { in setPhotoLoader()
314 protected ContactPhotoManager getPhotoLoader() { in getPhotoLoader()
DContactTileAdapter.java31 import com.android.contacts.common.ContactPhotoManager;
53 private ContactPhotoManager mPhotoManager;
124 public void setPhotoLoader(ContactPhotoManager photoLoader) { in setPhotoLoader()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoriteTileView.java26 import com.android.contacts.common.ContactPhotoManager;
28 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
138 return new DefaultImageRequest(displayName, lookupKey, ContactPhotoManager.TYPE_DEFAULT,
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
DCallSubjectDialog.java48 import com.android.contacts.common.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/InCallUI/src/com/android/incallui/
DConferenceManagerFragment.java27 import com.android.contacts.common.ContactPhotoManager;
44 private ContactPhotoManager mContactPhotoManager;
77 ContactPhotoManager.getInstance(getActivity().getApplicationContext()); in onCreateView()
DConferenceParticipantListAdapter.java35 import com.android.contacts.common.ContactPhotoManager;
36 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
220 private final ContactPhotoManager mContactPhotoManager;
236 LayoutInflater layoutInflater, ContactPhotoManager contactPhotoManager) { in ConferenceParticipantListAdapter()
DVideoCallPresenter.java34 import com.android.contacts.common.ContactPhotoManager;
169 private ContactPhotoManager mContactPhotoManager = null;
1255 mContactPhotoManager = ContactPhotoManager.getInstance(mContext); in loadProfilePhotoAsync()
1257 ContactPhotoManager.DefaultImageRequest imageRequest = (mProfileInfo != null) in loadProfilePhotoAsync()
1259 new ContactPhotoManager.DefaultImageRequest(mProfileInfo.namePrimary, in loadProfilePhotoAsync()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java43 import com.android.contacts.common.ContactPhotoManager;
44 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
219 private ContactPhotoManager mContactPhotoManager;
277 mContactPhotoManager = ContactPhotoManager.getInstance(this); in onCreate()
460 int contactType = ContactPhotoManager.TYPE_DEFAULT; in updateContactPhoto()
462 contactType = ContactPhotoManager.TYPE_VOICEMAIL; in updateContactPhoto()
464 contactType = ContactPhotoManager.TYPE_BUSINESS; in updateContactPhoto()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContactPhotoManager.java24 import com.android.contacts.common.ContactPhotoManager;
30 public class MockContactPhotoManager extends ContactPhotoManager {
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogListItemViewHolder.java44 import com.android.contacts.common.ContactPhotoManager;
45 import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest;
641 int contactType = ContactPhotoManager.TYPE_DEFAULT; in updatePhoto()
643 contactType = ContactPhotoManager.TYPE_VOICEMAIL; in updatePhoto()
645 contactType = ContactPhotoManager.TYPE_BUSINESS; in updatePhoto()
655 ContactPhotoManager.getInstance(mContext).loadPhoto(quickContactView, info.photoUri, in updatePhoto()
658 ContactPhotoManager.getInstance(mContext).loadThumbnail(quickContactView, info.photoId, in updatePhoto()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
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 {
1562 Uri uri = ContactPhotoManager.removeContactType(originalUri); in loadUriBasedPhotos()
1709 request = ContactPhotoManager.isBusinessContactUri(mUri) in applyDefaultImage()
1713 request = ContactPhotoManager.isBusinessContactUri(mUri) in applyDefaultImage()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactTileListFragment.java36 import com.android.contacts.common.ContactPhotoManager;
77 mAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity)); in onAttach()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupDetailFragment.java53 import com.android.contacts.common.ContactPhotoManager;
112 private ContactPhotoManager mPhotoManager;
179 mPhotoManager = ContactPhotoManager.getInstance(mContext); in configurePhotoLoader()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java36 import com.android.contacts.common.ContactPhotoManager;
93 ContactPhotoManager.injectContactPhotoManagerForTesting(new MockContactPhotoManager()); in setUp()

12