Searched refs:LetterTileDrawable (Results 1 - 25 of 34) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DCallLogContactTypes.java20 import com.android.dialer.lettertile.LetterTileDrawable;
22 /** Determines the {@link LetterTileDrawable.ContactType} for a {@link CoalescedRow}. */
25 /** Determines the {@link LetterTileDrawable.ContactType} for a {@link CoalescedRow}. */
26 @LetterTileDrawable.ContactType
35 return LetterTileDrawable.getContactTypeFromPrimitives(
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DIconFactory.java37 import com.android.dialer.lettertile.LetterTileDrawable;
100 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources());
107 LetterTileDrawable.SHAPE_RECTANGLE,
108 LetterTileDrawable.TYPE_DEFAULT);
126 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources());
128 displayName, lookupKey, LetterTileDrawable.SHAPE_CIRCLE, LetterTileDrawable.TYPE_DEFAULT);
/packages/apps/Dialer/java/com/android/dialer/lettertile/
H A DLetterTileDrawable.java44 public class LetterTileDrawable extends Drawable { class in inherits:Drawable
119 public LetterTileDrawable(final Resources res) { method in class:LetterTileDrawable
250 public LetterTileDrawable setColor(int color) {
306 public LetterTileDrawable setScale(float scale) {
321 public LetterTileDrawable setOffset(float offset) {
327 public LetterTileDrawable setLetter(Character letter) {
336 private LetterTileDrawable setLetterAndColorFromContactDetails(
347 private LetterTileDrawable setContactType(@ContactType int contactType) {
357 public LetterTileDrawable setIsCircular(boolean isCircle) {
376 public LetterTileDrawable setCanonicalDialerLetterTileDetail
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DQuickContactImageView.java10 import com.android.contacts.lettertiles.LetterTileDrawable;
14 * {@link LetterTileDrawable}'s, this class instead draws a different default avatar drawable.
19 * This entire class can be deleted once use of LetterTileDrawable is no longer used
53 return mOriginalDrawable instanceof LetterTileDrawable;
67 } else if (drawable instanceof LetterTileDrawable) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/listitem/
H A DCallLogListItem.java29 import com.android.car.apps.common.LetterTileDrawable;
63 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(r);
84 } else if (targetDrawable instanceof LetterTileDrawable){
85 bitmap = ((LetterTileDrawable) targetDrawable).toBitmap(sizeInPixel);
H A DContactListItem.java27 import com.android.car.apps.common.LetterTileDrawable;
58 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(r);
81 } else if (targetDrawable instanceof LetterTileDrawable){
82 bitmap = ((LetterTileDrawable) targetDrawable).toBitmap(sizeInPixel);
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
H A DGlidePhotoManagerImpl.java36 import com.android.dialer.lettertile.LetterTileDrawable;
85 LetterTileDrawable defaultDrawable = getDefaultDrawable(photoInfo);
101 private LetterTileDrawable getDefaultDrawable(PhotoInfo photoInfo) {
102 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(appContext.getResources());
117 LetterTileDrawable.SHAPE_CIRCLE,
118 LetterTileDrawable.getContactTypeFromPrimitives(
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
H A DLetterTileDrawable.java41 public class LetterTileDrawable extends Drawable { class in inherits:Drawable
43 private final String TAG = LetterTileDrawable.class.getSimpleName();
78 public LetterTileDrawable(final Resources res) { method in class:LetterTileDrawable
234 public LetterTileDrawable setScale(float scale) {
251 public LetterTileDrawable setOffset(float offset) {
257 public LetterTileDrawable setLetter(Character letter){
262 public LetterTileDrawable setColor(int color){
267 public LetterTileDrawable setLetterAndColorFromContactDetails(final String displayName,
279 public LetterTileDrawable setContactType(int contactType) {
284 public LetterTileDrawable setIsCircula
[all...]
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
H A DContactPhotoManager.java32 import com.android.dialer.lettertile.LetterTileDrawable;
83 if (request.contactType != LetterTileDrawable.TYPE_DEFAULT) {
109 builder.encodedFragment(String.valueOf(LetterTileDrawable.TYPE_BUSINESS));
142 && encodedFragment.equals(String.valueOf(LetterTileDrawable.TYPE_BUSINESS));
376 new DefaultImageRequest(null, null, LetterTileDrawable.TYPE_BUSINESS, false);
388 new DefaultImageRequest(null, null, LetterTileDrawable.TYPE_BUSINESS, true);
403 public @LetterTileDrawable.ContactType int contactType = LetterTileDrawable.TYPE_DEFAULT;
429 LetterTileDrawable.TYPE_DEFAULT,
478 final LetterTileDrawable drawabl
[all...]
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
H A DContactPhotoLoader.java31 import com.android.dialer.lettertile.LetterTileDrawable;
115 /** @return a {@link LetterTileDrawable} based on the ContactInfo. */
119 LetterTileDrawable drawable = new LetterTileDrawable(context.getResources());
123 LetterTileDrawable.SHAPE_CIRCLE,
125 ? LetterTileDrawable.TYPE_BUSINESS
126 : LetterTileDrawable.TYPE_DEFAULT);
/packages/apps/Car/Dialer/src/com/android/car/dialer/
H A DContactResultViewHolder.java32 import com.android.car.apps.common.LetterTileDrawable;
93 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(mContext.getResources());
/packages/apps/Dialer/java/com/android/incallui/
H A DNewReturnToCallController.java32 import com.android.dialer.lettertile.LetterTileDrawable;
299 private LetterTileDrawable createLettleTileDrawable(
310 LetterTileDrawable letterTile = new LetterTileDrawable(context.getResources());
314 LetterTileDrawable.SHAPE_CIRCLE,
315 LetterTileDrawable.getContactTypeFromPrimitives(
/packages/apps/Contacts/src/com/android/contacts/util/
H A DImageViewDrawableSetter.java31 import com.android.contacts.lettertiles.LetterTileDrawable;
133 : mPreviousDrawable instanceof LetterTileDrawable ? null
/packages/apps/Dialer/java/com/android/dialer/app/list/
H A DPhoneFavoriteTileView.java36 import com.android.dialer.lettertile.LetterTileDrawable;
170 LetterTileDrawable.TYPE_DEFAULT,
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
H A DNearbyPlaceViewHolder.java31 import com.android.dialer.lettertile.LetterTileDrawable;
77 LetterTileDrawable.TYPE_BUSINESS);
/packages/apps/Dialer/java/com/android/dialer/speeddial/
H A DFavoritesViewHolder.java35 import com.android.dialer.lettertile.LetterTileDrawable;
83 LetterTileDrawable.TYPE_DEFAULT);
H A DSuggestionViewHolder.java32 import com.android.dialer.lettertile.LetterTileDrawable;
84 LetterTileDrawable.TYPE_DEFAULT);
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
H A DNumbersAdapter.java33 import com.android.dialer.lettertile.LetterTileDrawable;
103 ? LetterTileDrawable.TYPE_BUSINESS
104 : LetterTileDrawable.TYPE_DEFAULT;
H A DBlockedNumbersFragment.java42 import com.android.dialer.lettertile.LetterTileDrawable;
75 //replace the icon for add number with LetterTileDrawable(), so it will have identical style
77 LetterTileDrawable drawable = new LetterTileDrawable(getResources());
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
H A DContactGridManager.java36 import com.android.dialer.lettertile.LetterTileDrawable;
90 private final LetterTileDrawable letterTile;
115 letterTile = new LetterTileDrawable(context.getResources());
306 LetterTileDrawable.SHAPE_CIRCLE,
307 LetterTileDrawable.getContactTypeFromPrimitives(
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DLetterTileDrawable.java36 public class LetterTileDrawable extends Drawable { class in inherits:Drawable
68 public LetterTileDrawable(final Resources res) { method in class:LetterTileDrawable
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
H A DContactsAdapter.java34 import com.android.dialer.lettertile.LetterTileDrawable;
128 LetterTileDrawable.TYPE_DEFAULT);
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
H A DDirectoryContactViewHolder.java36 import com.android.dialer.lettertile.LetterTileDrawable;
96 LetterTileDrawable.TYPE_DEFAULT);
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
H A DTelecomUtils.java42 import com.android.car.apps.common.LetterTileDrawable;
365 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(r);
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
H A DSearchContactViewHolder.java41 import com.android.dialer.lettertile.LetterTileDrawable;
122 LetterTileDrawable.TYPE_DEFAULT);
278 .setContactType(LetterTileDrawable.TYPE_DEFAULT)

Completed in 410 milliseconds

12