Searched refs:layoutColor (Results 1 – 2 of 2) sorted by relevance
342 int layoutColor) { in getAvatarSymbolIfMatching() argument344 && layoutColor == mLayoutColor) { in getAvatarSymbolIfMatching()351 int layoutColor) { in setCreatedAvatar() argument353 || layoutColor != mLayoutColor) { in setCreatedAvatar()356 setLayoutColor(layoutColor); in setCreatedAvatar()368 public void setLayoutColor(int layoutColor) { in setLayoutColor() argument369 if (layoutColor != mLayoutColor){ in setLayoutColor()370 mLayoutColor = layoutColor; in setLayoutColor()
310 public Icon createAvatarSymbol(CharSequence senderName, String symbol, int layoutColor) { in createAvatarSymbol() argument315 avatarIcon.setTint(findColor(senderName, layoutColor)); in createAvatarSymbol()321 int color = findColor(senderName, layoutColor); in createAvatarSymbol()333 private int findColor(CharSequence senderName, int layoutColor) { in findColor() argument334 double luminance = ContrastColorUtil.calculateLuminance(layoutColor); in findColor()340 return ContrastColorUtil.getShiftedColor(layoutColor, in findColor()