Searched refs:ContactPhotoManager (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
H A DMockContactPhotoManager.java23 import com.android.contacts.ContactPhotoManager;
29 public class MockContactPhotoManager extends ContactPhotoManager {
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsApplication.java44 private ContactPhotoManager mContactPhotoManager;
98 if (ContactPhotoManager.CONTACT_PHOTO_SERVICE.equals(name)) {
100 mContactPhotoManager = ContactPhotoManager.createContactPhotoManager(this);
H A DContactPhotoManager.java71 public abstract class ContactPhotoManager implements ComponentCallbacks2 { class in inherits:ComponentCallbacks2
72 static final String TAG = "ContactPhotoManager";
143 public static ContactPhotoManager getInstance(Context context) {
145 ContactPhotoManager service =
146 (ContactPhotoManager) applicationContext.getSystemService(CONTACT_PHOTO_SERVICE);
154 public static synchronized ContactPhotoManager createContactPhotoManager(Context context) {
261 class ContactPhotoManagerImpl extends ContactPhotoManager implements Callback {
H A DCallDetailActivity.java120 private ContactPhotoManager mContactPhotoManager;
273 mContactPhotoManager = ContactPhotoManager.getInstance(this);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactTileView.java29 import com.android.contacts.ContactPhotoManager;
47 private ContactPhotoManager mPhotoManager = null;
90 public void setPhotoManager(ContactPhotoManager photoManager) {
H A DContactTileListFragment.java35 import com.android.contacts.ContactPhotoManager;
73 mAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
H A DPhoneFavoriteFragment.java48 import com.android.contacts.ContactPhotoManager;
280 mContactTileAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
290 mAllContactsAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
H A DContactEntryListAdapter.java36 import com.android.contacts.ContactPhotoManager;
72 private ContactPhotoManager mPhotoLoader;
270 public void setPhotoLoader(ContactPhotoManager photoLoader) {
274 protected ContactPhotoManager getPhotoLoader() {
H A DContactEntryListFragment.java58 import com.android.contacts.ContactPhotoManager;
129 private ContactPhotoManager mPhotoManager;
778 mPhotoManager = ContactPhotoManager.getInstance(mContext);
H A DContactTileAdapter.java31 import com.android.contacts.ContactPhotoManager;
55 private ContactPhotoManager mPhotoManager;
132 public void setPhotoLoader(ContactPhotoManager photoLoader) {
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailPhotoSetter.java28 import com.android.contacts.ContactPhotoManager;
92 ContactPhotoManager.getInstance(mContext).cacheBitmap(
H A DContactDetailDisplayUtils.java42 import com.android.contacts.ContactPhotoManager;
244 ContactPhotoManager.getInstance(context).loadPhoto(
246 ContactPhotoManager.DEFAULT_BLANK);
265 final ContactPhotoManager contactPhotoManager = ContactPhotoManager.getInstance(context);
331 private static void loadPhoto(ContactPhotoManager contactPhotoManager,
351 false, ContactPhotoManager.DEFAULT_BLANK);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactBadgeUtil.java29 import com.android.contacts.ContactPhotoManager;
112 ContactPhotoManager.getDefaultAvatarResId(hires, darkTheme));
H A DImageViewDrawableSetter.java29 import com.android.contacts.ContactPhotoManager;
135 final int resId = ContactPhotoManager.getDefaultAvatarResId(true, false);
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
H A DPeopleActivityTest.java35 import com.android.contacts.ContactPhotoManager;
95 services.setSystemService(ContactPhotoManager.CONTACT_PHOTO_SERVICE,
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java36 import com.android.contacts.ContactPhotoManager;
322 ContactPhotoManager.getInstance(this).loadPhoto(mPhotoView, mPhotoUri, photoWidth,
326 mPhotoView.setImageResource(ContactPhotoManager.getDefaultAvatarResId(this, photoWidth,
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailFragment.java48 import com.android.contacts.ContactPhotoManager;
109 private ContactPhotoManager mPhotoManager;
176 mPhotoManager = ContactPhotoManager.getInstance(mContext);
H A DGroupEditorFragment.java60 import com.android.contacts.ContactPhotoManager;
194 private ContactPhotoManager mPhotoManager;
218 mPhotoManager = ContactPhotoManager.getInstance(mContext);
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogAdapter.java35 import com.android.contacts.ContactPhotoManager;
172 private final ContactPhotoManager mContactPhotoManager;
244 mContactPhotoManager = ContactPhotoManager.getInstance(mContext);

Completed in 1546 milliseconds