/packages/apps/Dialer/java/com/android/dialer/lettertile/ |
D | LetterTileDrawable.java | 44 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/ |
D | ContactPhotoManager.java | 32 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/ |
D | IconFactory.java | 37 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/ |
D | LetterTileDrawable.java | 41 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/ |
D | GlidePhotoManagerImpl.java | 39 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/ |
D | ContactPhotoLoader.java | 31 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/ |
D | OldCallDetailsAdapter.java | 28 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/ |
D | ReturnToCallController.java | 36 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()
|
D | StatusBarNotifier.java | 74 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/ |
D | QuickContactImageView.java | 10 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/ |
D | TelecomUtils.java | 43 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/ |
D | ContactGridManager.java | 41 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/ |
D | NumbersAdapter.java | 32 import com.android.dialer.lettertile.LetterTileDrawable; 100 ? LetterTileDrawable.TYPE_BUSINESS in loadContactPhoto() 101 : LetterTileDrawable.TYPE_DEFAULT; in loadContactPhoto()
|
D | BlockedNumbersFragment.java | 40 import com.android.dialer.lettertile.LetterTileDrawable; 75 LetterTileDrawable drawable = new LetterTileDrawable(getResources()); in onActivityCreated()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttChatFragment.java | 51 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/ |
D | NotificationUtils.java | 30 import com.android.car.apps.common.LetterTileDrawable; 84 LetterTileDrawable letterTileDrawable = TelecomUtils.createLetterTile(context, displayName); in createLetterTile()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 58 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/ |
D | NearbyPlaceViewHolder.java | 29 import com.android.dialer.lettertile.LetterTileDrawable; 79 LetterTileDrawable.TYPE_BUSINESS); in bind()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactViewHolder.java | 40 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/ |
D | ImageViewDrawableSetter.java | 31 import com.android.contacts.lettertiles.LetterTileDrawable; 133 : mPreviousDrawable instanceof LetterTileDrawable ? null in previousBitmap()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoriteTileView.java | 38 import com.android.dialer.lettertile.LetterTileDrawable; 169 LetterTileDrawable.TYPE_DEFAULT,
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallFragment.java | 37 import com.android.car.apps.common.LetterTileDrawable; 102 LetterTileDrawable letterTile = TelecomUtils.createLetterTile( in bindUserProfileView()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 34 import com.android.dialer.lettertile.LetterTileDrawable; 98 LetterTileDrawable.TYPE_DEFAULT); in bind()
|
/packages/apps/Dialer/java/com/android/contacts/common/dialog/ |
D | CallSubjectDialog.java | 50 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/ |
D | LetterTileDrawable.java | 36 public class LetterTileDrawable extends Drawable { class 68 public LetterTileDrawable(final Resources res) { in LetterTileDrawable() method in LetterTileDrawable
|