Home
last modified time | relevance | path

Searched refs:contactType (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/lettertile/
DLetterTileDrawable.java109 @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/
DContactPhotoManager.java83 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/Settings/src/com/android/settings/notification/
DZenModeBackend.java246 protected static String getKeyFromZenPolicySetting(int contactType) { in getKeyFromZenPolicySetting() argument
247 switch (contactType) { in getKeyFromZenPolicySetting()
260 protected static String getKeyFromSetting(int contactType) { in getKeyFromSetting() argument
261 switch (contactType) { in getKeyFromSetting()
284 int contactType = -1; in getContactsSummary() local
287 contactType = getPriorityMessageSenders(); in getContactsSummary()
291 contactType = getPriorityCallSenders(); in getContactsSummary()
295 switch (contactType) { in getContactsSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeBackend.java246 protected static String getKeyFromZenPolicySetting(int contactType) { in getKeyFromZenPolicySetting() argument
247 switch (contactType) { in getKeyFromZenPolicySetting()
260 protected static String getKeyFromSetting(int contactType) { in getKeyFromSetting() argument
261 switch (contactType) { in getKeyFromSetting()
284 int contactType = -1; in getContactsSummary() local
287 contactType = getPriorityMessageSenders(); in getContactsSummary()
291 contactType = getPriorityCallSenders(); in getContactsSummary()
295 switch (contactType) { in getContactsSummary()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java146 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/
DContactPhotoManager.java161 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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java192 private static Drawable getDrawablepForContactType(int contactType) { in getDrawablepForContactType() argument
193 switch (contactType) { in getDrawablepForContactType()
255 public void setContactType(int contactType) { in setContactType() argument
256 mContactType = contactType; in setContactType()
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java85 public static void logQuickContactEvent(String referrer, int contactType, int cardType, in logQuickContactEvent() argument
91 event.contactType = contactType; in logQuickContactEvent()
DQuickContactEvent.java29 public int contactType; field in QuickContactEvent
83 .add("contactType", contactType) in toString()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java196 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/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java397 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/
DNumbersAdapter.java98 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/
DCallSubjectDialog.java225 int contactType, in start() argument
235 arguments.putInt(ARG_CONTACT_TYPE, contactType); in start()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java602 int contactType = in getLargeIconToDisplay() local
615 contactType); in getLargeIconToDisplay()