Home
last modified time | relevance | path

Searched refs:indicatorIcon (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java311 final Drawable indicatorIcon; in bindIndicatorToView() local
313 indicatorIcon = mContext.getDrawable(indicatorIconId).mutate(); in bindIndicatorToView()
314 indicatorIcon.setColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN); in bindIndicatorToView()
316 indicatorIcon = null; in bindIndicatorToView()
319 indicatorIcon, null, null, null); in bindIndicatorToView()
DRecipientEditTextView.java832 Drawable indicatorIcon = null; in createChipBitmap() local
835 indicatorIcon = getContext().getDrawable(contact.getIndicatorIconId()); in createChipBitmap()
836 indicatorIcon.setBounds(0, 0, in createChipBitmap()
837 indicatorIcon.getIntrinsicWidth(), indicatorIcon.getIntrinsicHeight()); in createChipBitmap()
838 indicatorPadding = indicatorIcon.getBounds().width() + mChipTextEndPadding; in createChipBitmap()
924 if (indicatorIcon != null) { in createChipBitmap()
927 : width - backgroundPadding.right - indicatorIcon.getBounds().width() in createChipBitmap()
929 int indicatorY = height / 2 - indicatorIcon.getBounds().height() / 2; in createChipBitmap()
930 indicatorIcon.getBounds().offsetTo(indicatorX, indicatorY); in createChipBitmap()
931 indicatorIcon.draw(canvas); in createChipBitmap()