/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
H A D | CallLogContactTypes.java | 20 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 D | IconFactory.java | 37 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 D | LetterTileDrawable.java | 44 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 D | QuickContactImageView.java | 10 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 D | CallLogListItem.java | 29 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 D | ContactListItem.java | 27 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 D | GlidePhotoManagerImpl.java | 36 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 D | LetterTileDrawable.java | 41 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 D | ContactPhotoManager.java | 32 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 D | ContactPhotoLoader.java | 31 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 D | ContactResultViewHolder.java | 32 import com.android.car.apps.common.LetterTileDrawable; 93 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(mContext.getResources());
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | NewReturnToCallController.java | 32 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 D | ImageViewDrawableSetter.java | 31 import com.android.contacts.lettertiles.LetterTileDrawable; 133 : mPreviousDrawable instanceof LetterTileDrawable ? null
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | PhoneFavoriteTileView.java | 36 import com.android.dialer.lettertile.LetterTileDrawable; 170 LetterTileDrawable.TYPE_DEFAULT,
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
H A D | NearbyPlaceViewHolder.java | 31 import com.android.dialer.lettertile.LetterTileDrawable; 77 LetterTileDrawable.TYPE_BUSINESS);
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
H A D | FavoritesViewHolder.java | 35 import com.android.dialer.lettertile.LetterTileDrawable; 83 LetterTileDrawable.TYPE_DEFAULT);
|
H A D | SuggestionViewHolder.java | 32 import com.android.dialer.lettertile.LetterTileDrawable; 84 LetterTileDrawable.TYPE_DEFAULT);
|
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/ |
H A D | NumbersAdapter.java | 33 import com.android.dialer.lettertile.LetterTileDrawable; 103 ? LetterTileDrawable.TYPE_BUSINESS 104 : LetterTileDrawable.TYPE_DEFAULT;
|
H A D | BlockedNumbersFragment.java | 42 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 D | ContactGridManager.java | 36 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 D | LetterTileDrawable.java | 36 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 D | ContactsAdapter.java | 34 import com.android.dialer.lettertile.LetterTileDrawable; 128 LetterTileDrawable.TYPE_DEFAULT);
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
H A D | DirectoryContactViewHolder.java | 36 import com.android.dialer.lettertile.LetterTileDrawable; 96 LetterTileDrawable.TYPE_DEFAULT);
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
H A D | TelecomUtils.java | 42 import com.android.car.apps.common.LetterTileDrawable; 365 LetterTileDrawable letterTileDrawable = new LetterTileDrawable(r);
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
H A D | SearchContactViewHolder.java | 41 import com.android.dialer.lettertile.LetterTileDrawable; 122 LetterTileDrawable.TYPE_DEFAULT); 278 .setContactType(LetterTileDrawable.TYPE_DEFAULT)
|