Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java125 int avatarSize = getResources().getDimensionPixelSize( in onContactChanged() local
134 .apply(new RequestOptions().override(avatarSize).error(letterTile)) in onContactChanged()
140 bitmap, avatarSize); in onContactChanged()
147 letterTile, avatarSize); in onContactChanged()
199 int avatarSize) { in createFromLetterTile() argument
200 return createFromBitmap(letterTileDrawable.toBitmap(avatarSize), avatarSize); in createFromLetterTile()
203 private RoundedBitmapDrawable createFromBitmap(Bitmap bitmap, int avatarSize) { in createFromBitmap() argument
208 float radius = avatarSize * radiusPercent; in createFromBitmap()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java159 String identifier, int avatarSize, float cornerRadiusPercent) { in createLetterTile() argument
164 context.getResources(), letterTileDrawable.toBitmap(avatarSize)); in createLetterTile()
165 return createFromRoundedBitmapDrawable(roundedBitmapDrawable, avatarSize, in createLetterTile()
171 RoundedBitmapDrawable roundedBitmapDrawable, int avatarSize, in createFromRoundedBitmapDrawable() argument
174 float radius = avatarSize * cornerRadiusPercent; in createFromRoundedBitmapDrawable()
177 final Bitmap result = Bitmap.createBitmap(avatarSize, avatarSize, in createFromRoundedBitmapDrawable()
/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/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java547 String identifier, int avatarSize, float cornerRadiusPercent) { in createLetterTile() argument
551 context.getResources(), letterTileDrawable.toBitmap(avatarSize)); in createLetterTile()
552 return createFromRoundedBitmapDrawable(roundedBitmapDrawable, avatarSize, in createLetterTile()
558 int avatarSize, float cornerRadiusPercent) { in createFromRoundedBitmapDrawable() argument
559 float radius = avatarSize * cornerRadiusPercent; in createFromRoundedBitmapDrawable()
562 final Bitmap result = Bitmap.createBitmap(avatarSize, avatarSize, in createFromRoundedBitmapDrawable()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java58 static Icon loadContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadContactAvatar() argument
73 .createFromRoundedBitmapDrawable(roundedBitmapDrawable, avatarSize, in loadContactAvatar()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java403 int avatarSize = getResources().getDimensionPixelSize(R.dimen.rtt_avatar_size); in updateAvatar() local
406 getContext(), primaryInfo.photo(), avatarSize, avatarSize)); in updateAvatar() local