@since: BuddyPress 2.4.0 Add the $ui_available_width parameter, to inform about the Avatar UI width.
Description
BP_Attachment_Avatar::shrink()

Maybe shrink the attachment to fit maximum allowed width.

Source: bp-core/classes/class-bp-attachment-avatar.php:116