Searched refs:LetterTileDrawable (Results 1 – 8 of 8) sorted by relevance
40 public class LetterTileDrawable extends Drawable { class42 private final String TAG = LetterTileDrawable.class.getSimpleName();74 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable225 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()
30 import com.android.contacts.common.lettertiles.LetterTileDrawable;101 LetterTileDrawable drawable = new LetterTileDrawable(mContext.getResources()); in createLetterTileDrawable()106 drawable.setContactType(LetterTileDrawable.TYPE_BUSINESS); in createLetterTileDrawable()
3 import com.android.contacts.common.lettertiles.LetterTileDrawable;54 return mOriginalDrawable instanceof LetterTileDrawable; in isBasedOffLetterTile()68 } else if (drawable instanceof LetterTileDrawable) { in setImageDrawable()
33 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()
37 import com.android.contacts.common.lettertiles.LetterTileDrawable;77 LetterTileDrawable drawable = new LetterTileDrawable(getResources()); in onActivityCreated()
31 import com.android.contacts.common.lettertiles.LetterTileDrawable;133 : mPreviousDrawable instanceof LetterTileDrawable ? null in previousBitmap()
58 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()
119 import com.android.contacts.common.lettertiles.LetterTileDrawable;2290 if (imageViewDrawable instanceof LetterTileDrawable) { in extractAndApplyTintFromPhotoViewAsynchronously()2291 final int primaryColor = ((LetterTileDrawable) imageViewDrawable).getColor(); in extractAndApplyTintFromPhotoViewAsynchronously()