Home
last modified time | relevance | path

Searched refs:LetterTileDrawable (Results 1 – 25 of 31) 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()
DStatusBarNotifier.java74 import com.android.dialer.lettertile.LetterTileDrawable;
75 import com.android.dialer.lettertile.LetterTileDrawable.ContactType;
603 LetterTileDrawable.getContactTypeFromPrimitives( in getLargeIconToDisplay()
609 LetterTileDrawable lettertile = new LetterTileDrawable(resources); in getLargeIconToDisplay()
614 LetterTileDrawable.SHAPE_CIRCLE, in getLargeIconToDisplay()
/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-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java43 import com.android.car.apps.common.LetterTileDrawable;
313 LetterTileDrawable letterTileDrawable = createLetterTile(context, displayName); in setContactBitmapAsync()
329 public static LetterTileDrawable createLetterTile(Context context, String displayName) { in createLetterTile()
330 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(context.getResources()); in createLetterTile()
/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/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java51 import com.android.dialer.lettertile.LetterTileDrawable;
409 LetterTileDrawable letterTile = new LetterTileDrawable(getResources()); in updateAvatar()
413 LetterTileDrawable.SHAPE_CIRCLE, in updateAvatar()
414 LetterTileDrawable.getContactTypeFromPrimitives( in updateAvatar()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java30 import com.android.car.apps.common.LetterTileDrawable;
84 LetterTileDrawable letterTileDrawable = TelecomUtils.createLetterTile(context, displayName); in createLetterTile()
/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()
/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/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/util/
DImageViewDrawableSetter.java31 import com.android.contacts.lettertiles.LetterTileDrawable;
133 : mPreviousDrawable instanceof LetterTileDrawable ? null in previousBitmap()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoriteTileView.java38 import com.android.dialer.lettertile.LetterTileDrawable;
169 LetterTileDrawable.TYPE_DEFAULT,
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallFragment.java37 import com.android.car.apps.common.LetterTileDrawable;
102 LetterTileDrawable letterTile = TelecomUtils.createLetterTile( in bindUserProfileView()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java34 import com.android.dialer.lettertile.LetterTileDrawable;
98 LetterTileDrawable.TYPE_DEFAULT); in bind()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java50 import com.android.dialer.lettertile.LetterTileDrawable;
199 LetterTileDrawable.TYPE_DEFAULT, in start()
353 mContactType = arguments.getInt(ARG_CONTACT_TYPE, LetterTileDrawable.TYPE_DEFAULT); in readArguments()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java36 public class LetterTileDrawable extends Drawable { class
68 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable

12