Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java44 public class LetterTileDrawable extends Drawable { class
119 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
250 public LetterTileDrawable setColor(int color) { in setColor()
306 public LetterTileDrawable setScale(float scale) { in setScale()
321 public LetterTileDrawable setOffset(float offset) { in setOffset()
327 public LetterTileDrawable setLetter(Character letter) { in setLetter()
336 private LetterTileDrawable setLetterAndColorFromContactDetails( in setLetterAndColorFromContactDetails()
347 private LetterTileDrawable setContactType(@ContactType int contactType) { in setContactType()
357 public LetterTileDrawable setIsCircular(boolean isCircle) { in setIsCircular()
376 public LetterTileDrawable setCanonicalDialerLetterTileDetails( in setCanonicalDialerLetterTileDetails()
[all …]
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java32 import com.android.dialer.lettertile.LetterTileDrawable;
83 if (request.contactType != LetterTileDrawable.TYPE_DEFAULT) { in getDefaultAvatarUriForContact()
109 builder.encodedFragment(String.valueOf(LetterTileDrawable.TYPE_BUSINESS)); in appendBusinessContactType()
142 && encodedFragment.equals(String.valueOf(LetterTileDrawable.TYPE_BUSINESS)); in isBusinessContactUri()
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, in DefaultImageRequest()
478 final LetterTileDrawable drawable = new LetterTileDrawable(resources); in getDefaultImageForContact()
481 ? LetterTileDrawable.SHAPE_CIRCLE in getDefaultImageForContact()
[all …]
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DIconFactory.java37 import com.android.dialer.lettertile.LetterTileDrawable;
100 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources()); in createAdaptiveIcon()
107 LetterTileDrawable.SHAPE_RECTANGLE, in createAdaptiveIcon()
108 LetterTileDrawable.TYPE_DEFAULT); in createAdaptiveIcon()
126 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources()); in createFlatIcon()
128 displayName, lookupKey, LetterTileDrawable.SHAPE_CIRCLE, LetterTileDrawable.TYPE_DEFAULT); in createFlatIcon()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java41 public class LetterTileDrawable extends Drawable { class
43 private final String TAG = LetterTileDrawable.class.getSimpleName();
78 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
234 public LetterTileDrawable setScale(float scale) { in setScale()
251 public LetterTileDrawable setOffset(float offset) { in setOffset()
257 public LetterTileDrawable setLetter(Character letter){ in setLetter()
262 public LetterTileDrawable setColor(int color){ in setColor()
267 public LetterTileDrawable setLetterAndColorFromContactDetails(final String displayName, in setLetterAndColorFromContactDetails()
279 public LetterTileDrawable setContactType(int contactType) { in setContactType()
284 public LetterTileDrawable setIsCircular(boolean isCircle) { in setIsCircular()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
DGlidePhotoManagerImpl.java39 import com.android.dialer.lettertile.LetterTileDrawable;
110 LetterTileDrawable defaultDrawable = getDefaultDrawable(photoInfo); in buildRequest()
126 private LetterTileDrawable getDefaultDrawable(PhotoInfo photoInfo) { in getDefaultDrawable()
127 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(appContext.getResources()); in getDefaultDrawable()
144 LetterTileDrawable.SHAPE_CIRCLE, in getDefaultDrawable()
145 LetterTileDrawable.getContactTypeFromPrimitives( in getDefaultDrawable()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactPhotoLoader.java31 import com.android.dialer.lettertile.LetterTileDrawable;
119 LetterTileDrawable drawable = new LetterTileDrawable(context.getResources()); in createLetterTileDrawable()
123 LetterTileDrawable.SHAPE_CIRCLE, in createLetterTileDrawable()
125 ? LetterTileDrawable.TYPE_BUSINESS in createLetterTileDrawable()
126 : LetterTileDrawable.TYPE_DEFAULT); in createLetterTileDrawable()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DOldCallDetailsAdapter.java28 import com.android.dialer.lettertile.LetterTileDrawable;
93 case LetterTileDrawable.TYPE_VOICEMAIL: in getPhotoInfo()
96 case LetterTileDrawable.TYPE_BUSINESS: in getPhotoInfo()
99 case LetterTileDrawable.TYPE_SPAM: in getPhotoInfo()
/packages/apps/Dialer/java/com/android/incallui/
DReturnToCallController.java36 import com.android.dialer.lettertile.LetterTileDrawable;
369 private LetterTileDrawable createLettleTileDrawable( in createLettleTileDrawable()
379 LetterTileDrawable letterTile = new LetterTileDrawable(context.getResources()); in createLettleTileDrawable()
383 LetterTileDrawable.SHAPE_CIRCLE, in createLettleTileDrawable()
384 LetterTileDrawable.getContactTypeFromPrimitives( in createLettleTileDrawable()
/packages/apps/Contacts/src/com/android/contacts/widget/
DQuickContactImageView.java10 import com.android.contacts.lettertiles.LetterTileDrawable;
53 return mOriginalDrawable instanceof LetterTileDrawable; in isBasedOffLetterTile()
67 } else if (drawable instanceof LetterTileDrawable) { in setImageDrawable()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java34 import com.android.car.apps.common.LetterTileDrawable;
238 LetterTileDrawable letterTileDrawable = createLetterTileDrawable(context, initials, in createLetterTile()
271 private static LetterTileDrawable createLetterTileDrawable( in createLetterTileDrawable()
280 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources(), in createLetterTileDrawable()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DContactGridManager.java41 import com.android.dialer.lettertile.LetterTileDrawable;
96 private final LetterTileDrawable letterTile;
121 letterTile = new LetterTileDrawable(context.getResources()); in ContactGridManager()
360 LetterTileDrawable.SHAPE_CIRCLE, in loadPhotoWithLegacy()
361 LetterTileDrawable.getContactTypeFromPrimitives( in loadPhotoWithLegacy()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java32 import com.android.dialer.lettertile.LetterTileDrawable;
100 ? LetterTileDrawable.TYPE_BUSINESS in loadContactPhoto()
101 : LetterTileDrawable.TYPE_DEFAULT; in loadContactPhoto()
DBlockedNumbersFragment.java40 import com.android.dialer.lettertile.LetterTileDrawable;
75 LetterTileDrawable drawable = new LetterTileDrawable(getResources()); in onActivityCreated()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java50 import com.android.car.apps.common.LetterTileDrawable;
494 LetterTileDrawable letterTileDrawable = createLetterTile(context, initials, identifier); in setContactBitmapAsync()
510 public static LetterTileDrawable createLetterTile( in createLetterTile()
518 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources(), in createLetterTile()
627 LetterTileDrawable letterTileDrawable = TelecomUtils.createLetterTile(context, initials, in createLetterTile()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java37 public class LetterTileDrawable extends Drawable { class
70 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
79 public LetterTileDrawable(final Resources res, @Nullable String letters, in LetterTileDrawable() method in LetterTileDrawable
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java32 import com.android.car.apps.common.LetterTileDrawable;
137 LetterTileDrawable letterTile = TelecomUtils.createLetterTile(getContext(), in onContactChanged()
192 private RoundedBitmapDrawable createFromLetterTile(LetterTileDrawable letterTileDrawable, in createFromLetterTile()
DContactDetailsViewHolder.java34 import com.android.car.apps.common.LetterTileDrawable;
120 LetterTileDrawable letterTile = TelecomUtils.createLetterTile(context, null, null); in bind()
138 LetterTileDrawable letterTile = TelecomUtils.createLetterTile(context, in bind()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java51 import com.android.dialer.lettertile.LetterTileDrawable;
408 LetterTileDrawable letterTile = new LetterTileDrawable(getResources()); in updateAvatar()
412 LetterTileDrawable.SHAPE_CIRCLE, in updateAvatar()
413 LetterTileDrawable.getContactTypeFromPrimitives( in updateAvatar()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallFragment.java36 import com.android.car.apps.common.LetterTileDrawable;
67 private LetterTileDrawable mDefaultAvatar;
139 LetterTileDrawable letterTile = TelecomUtils.createLetterTile( in updateProfileInfo()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLetterTileDrawable.java42 public class LetterTileDrawable extends Drawable { class
77 public LetterTileDrawable(@NonNull final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
84 public LetterTileDrawable( in LetterTileDrawable() method in LetterTileDrawable
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlaceViewHolder.java29 import com.android.dialer.lettertile.LetterTileDrawable;
79 LetterTileDrawable.TYPE_BUSINESS); in bind()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DAvatarUtil.java40 import com.android.car.messenger.core.ui.shared.LetterTileDrawable;
132 LetterTileDrawable drawable = in createLetterTile()
133 new LetterTileDrawable(context.getResources(), letters, name.toString()); in createLetterTile()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java31 import com.android.contacts.lettertiles.LetterTileDrawable;
133 : mPreviousDrawable instanceof LetterTileDrawable ? null in previousBitmap()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java40 import com.android.dialer.lettertile.LetterTileDrawable;
124 LetterTileDrawable.TYPE_DEFAULT); in bind()
280 .setContactType(LetterTileDrawable.TYPE_DEFAULT) in getDialerContact()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java58 import com.android.contacts.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()

12