Home
last modified time | relevance | path

Searched refs:LetterTileDrawable (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
DLetterTileDrawable.java40 public class LetterTileDrawable extends Drawable { class
42 private final String TAG = LetterTileDrawable.class.getSimpleName();
74 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
225 public LetterTileDrawable setScale(float scale) { in setScale()
242 public LetterTileDrawable setOffset(float offset) { in setOffset()
248 public LetterTileDrawable setLetter(Character letter){ in setLetter()
253 public LetterTileDrawable setColor(int color){ in setColor()
258 public LetterTileDrawable setLetterAndColorFromContactDetails(final String displayName, in setLetterAndColorFromContactDetails()
270 public LetterTileDrawable setContactType(int contactType) { in setContactType()
275 public LetterTileDrawable setIsCircular(boolean isCircle) { in setIsCircular()
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
DContactPhotoLoader.java30 import com.android.contacts.common.lettertiles.LetterTileDrawable;
101 LetterTileDrawable drawable = new LetterTileDrawable(mContext.getResources()); in createLetterTileDrawable()
106 drawable.setContactType(LetterTileDrawable.TYPE_BUSINESS); in createLetterTileDrawable()
/packages/apps/Contacts/src/com/android/contacts/widget/
DQuickContactImageView.java3 import com.android.contacts.common.lettertiles.LetterTileDrawable;
54 return mOriginalDrawable instanceof LetterTileDrawable; in isBasedOffLetterTile()
68 } else if (drawable instanceof LetterTileDrawable) { in setImageDrawable()
/packages/apps/Dialer/tests/src/com/android/dialer/contactinfo/
DContactPhotoLoaderTest.java33 import com.android.contacts.common.lettertiles.LetterTileDrawable;
81 assertTrue(loader.getIcon() instanceof LetterTileDrawable); in testGetIcon_Photo_Invalid()
87 assertTrue(loader.getIcon() instanceof LetterTileDrawable); in testGetIcon_LetterTile()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DBlockedNumbersFragment.java37 import com.android.contacts.common.lettertiles.LetterTileDrawable;
77 LetterTileDrawable drawable = new LetterTileDrawable(getResources()); in onActivityCreated()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java31 import com.android.contacts.common.lettertiles.LetterTileDrawable;
133 : mPreviousDrawable instanceof LetterTileDrawable ? null in previousBitmap()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java58 import com.android.contacts.common.lettertiles.LetterTileDrawable;
92 public static final int TYPE_PERSON = LetterTileDrawable.TYPE_PERSON;
93 public static final int TYPE_BUSINESS = LetterTileDrawable.TYPE_BUSINESS;
94 public static final int TYPE_VOICEMAIL = LetterTileDrawable.TYPE_VOICEMAIL;
95 public static final int TYPE_DEFAULT = LetterTileDrawable.TYPE_DEFAULT;
396 final LetterTileDrawable drawable = new LetterTileDrawable(resources); in getDefaultImageForContact()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java119 import com.android.contacts.common.lettertiles.LetterTileDrawable;
2290 if (imageViewDrawable instanceof LetterTileDrawable) { in extractAndApplyTintFromPhotoViewAsynchronously()
2291 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously()