/packages/apps/Dialer/java/com/android/dialer/lettertile/ |
D | LetterTileDrawable.java | 109 @ContactType private int contactType = TYPE_DEFAULT; field in LetterTileDrawable 155 private Drawable getDrawableForContactType(int contactType) { in getDrawableForContactType() argument 156 switch (contactType) { in getDrawableForContactType() 234 Drawable drawable = getDrawableForContactType(contactType); in drawLetterTile() 237 "Unable to find drawable for contact type " + contactType); in drawLetterTile() 257 if (contactType == TYPE_SPAM) { in pickColor() 261 if (contactType == TYPE_VOICEMAIL in pickColor() 262 || contactType == TYPE_BUSINESS in pickColor() 347 private LetterTileDrawable setContactType(@ContactType int contactType) { in setContactType() argument 348 this.contactType = contactType; in setContactType() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManager.java | 83 if (request.contactType != LetterTileDrawable.TYPE_DEFAULT) { in getDefaultAvatarUriForContact() 84 builder.appendQueryParameter(CONTACT_TYPE_PARAM_KEY, String.valueOf(request.contactType)); in getDefaultAvatarUriForContact() 152 String contactType = uri.getQueryParameter(CONTACT_TYPE_PARAM_KEY); in getDefaultImageRequestFromUri() local 153 if (!TextUtils.isEmpty(contactType)) { in getDefaultImageRequestFromUri() 154 request.contactType = Integer.valueOf(contactType); in getDefaultImageRequestFromUri() 237 int contactType) { in loadDialerThumbnailOrPhoto() argument 247 displayName, lookupKey, contactType, true /* isCircular */); in loadDialerThumbnailOrPhoto() 403 public @LetterTileDrawable.ContactType int contactType = LetterTileDrawable.TYPE_DEFAULT; field in ContactPhotoManager.DefaultImageRequest 436 String displayName, String identifier, int contactType, boolean isCircular) { in DefaultImageRequest() argument 437 this(displayName, identifier, contactType, SCALE_DEFAULT, OFFSET_DEFAULT, isCircular); in DefaultImageRequest() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 146 int contactType = ContactPhotoManager.TYPE_DEFAULT; in defaultDrawable() local 149 contactType = ContactPhotoManager.TYPE_BUSINESS; in defaultDrawable() 153 request = new DefaultImageRequest(null, mContact.getDisplayName(), contactType, in defaultDrawable() 157 contactType, false /* isCircular */); in defaultDrawable()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 161 if (request.contactType != TYPE_DEFAULT) { in getDefaultAvatarUriForContact() 163 String.valueOf(request.contactType)); in getDefaultAvatarUriForContact() 232 String contactType = uri.getQueryParameter(CONTACT_TYPE_PARAM_KEY); in getDefaultImageRequestFromUri() local 233 if (!TextUtils.isEmpty(contactType)) { in getDefaultImageRequestFromUri() 234 request.contactType = Integer.valueOf(contactType); in getDefaultImageRequestFromUri() 291 public int contactType = TYPE_DEFAULT; field in ContactPhotoManager.DefaultImageRequest 352 public DefaultImageRequest(String displayName, String identifier, int contactType, in DefaultImageRequest() argument 354 this(displayName, identifier, contactType, SCALE_DEFAULT, OFFSET_DEFAULT, isCircular); in DefaultImageRequest() 357 public DefaultImageRequest(String displayName, String identifier, int contactType, in DefaultImageRequest() argument 361 this.contactType = contactType; in DefaultImageRequest() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/logging/ |
D | Logger.java | 85 public static void logQuickContactEvent(String referrer, int contactType, int cardType, in logQuickContactEvent() argument 91 event.contactType = contactType; in logQuickContactEvent()
|
D | QuickContactEvent.java | 29 public int contactType; field in QuickContactEvent 83 .add("contactType", contactType) in toString()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | LetterTileDrawable.java | 200 private static Drawable getDrawablepForContactType(int contactType) { in getDrawablepForContactType() argument 201 switch (contactType) { in getDrawablepForContactType() 265 public void setContactType(int contactType) { in setContactType() argument 266 mContactType = contactType; in setContactType()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/ |
D | LetterTileDrawable.java | 214 private static Drawable getDrawablepForContactType(int contactType) { in getDrawablepForContactType() argument 215 switch (contactType) { in getDrawablepForContactType() 276 public void setContactType(int contactType) { in setContactType() argument 277 mContactType = contactType; in setContactType()
|
/packages/apps/Contacts/src/com/android/contacts/lettertiles/ |
D | LetterTileDrawable.java | 196 private static Bitmap getBitmapForContactType(int contactType) { in getBitmapForContactType() argument 197 switch (contactType) { in getBitmapForContactType() 279 public LetterTileDrawable setContactType(int contactType) { in setContactType() argument 280 mContactType = contactType; in setContactType()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeBackend.java | 262 protected static String getKeyFromZenPolicySetting(int contactType) { in getKeyFromZenPolicySetting() argument 263 switch (contactType) { in getKeyFromZenPolicySetting() 276 protected static String getKeyFromSetting(int contactType) { in getKeyFromSetting() argument 277 switch (contactType) { in getKeyFromSetting()
|
/packages/apps/Contacts/src/com/android/contacts/dialog/ |
D | CallSubjectDialog.java | 397 int contactType; in setPhoto() local 399 contactType = ContactPhotoManager.TYPE_BUSINESS; in setPhoto() 401 contactType = ContactPhotoManager.TYPE_DEFAULT; in setPhoto() 411 displayName, lookupKey, contactType, true /* isCircular */); in setPhoto()
|
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/ |
D | NumbersAdapter.java | 98 final int contactType = in loadContactPhoto() local 103 new DefaultImageRequest(displayName, lookupKey, contactType, true /* isCircular */); in loadContactPhoto()
|
/packages/apps/Dialer/java/com/android/contacts/common/dialog/ |
D | CallSubjectDialog.java | 225 int contactType, in start() argument 235 arguments.putInt(ARG_CONTACT_TYPE, contactType); in start()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | StatusBarNotifier.java | 602 int contactType = in getLargeIconToDisplay() local 615 contactType); in getLargeIconToDisplay()
|