Home
last modified time | relevance | path

Searched refs:avatarSize (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java47 int avatarSize = context.getResources().getDimensionPixelSize(R.dimen.avatar_icon_size); in getDisplayNameAndRoundedAvatar() local
49 avatarSize); in getDisplayNameAndRoundedAvatar()
51 largeIcon = createLetterTile(context, displayNameAndAvatarUri.first, avatarSize); in getDisplayNameAndRoundedAvatar()
56 static Icon loadRoundedContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadRoundedContactAvatar() argument
70 final Bitmap result = Bitmap.createBitmap(avatarSize, avatarSize, in loadRoundedContactAvatar()
83 static Icon createLetterTile(Context context, String displayName, int avatarSize) { in createLetterTile() argument
86 return Icon.createWithBitmap(letterTileDrawable.toBitmap(avatarSize)); in createLetterTile()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DContactGridManager.java84 private int avatarSize; field in ContactGridManager
100 View view, @Nullable ImageView avatarImageView, int avatarSize, boolean showAnonymousAvatar) { in ContactGridManager() argument
105 this.avatarSize = avatarSize; in ContactGridManager()
186 @Nullable ImageView avatarImageView, int avatarSize, boolean showAnonymousAvatar) { in setAvatarImageView() argument
188 this.avatarSize = avatarSize; in setAvatarImageView()
304 } else if (avatarSize > 0 && updateAvatarVisibility()) { in updatePrimaryNameAndPhoto()
354 context, primaryInfo.photo(), avatarSize, avatarSize)); in loadPhotoWithLegacy()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java404 int avatarSize = getResources().getDimensionPixelSize(R.dimen.rtt_avatar_size); in updateAvatar() local
407 getContext(), primaryInfo.photo(), avatarSize, avatarSize)); in updateAvatar() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java319 final int avatarSize = getActivity().getResources().getDimensionPixelSize( in onActivityCreated() local
323 0 : avatarSize * avatarSize * IMAGE_CACHE_COUNT, in onActivityCreated()