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.java829 Drawable indicatorIcon = null; in createChipBitmap() local
832 indicatorIcon = getContext().getDrawable(contact.getIndicatorIconId()); in createChipBitmap()
833 indicatorIcon.setBounds(0, 0, in createChipBitmap()
834 indicatorIcon.getIntrinsicWidth(), indicatorIcon.getIntrinsicHeight()); in createChipBitmap()
835 indicatorPadding = indicatorIcon.getBounds().width() + mChipTextEndPadding; in createChipBitmap()
921 if (indicatorIcon != null) { in createChipBitmap()
924 : width - backgroundPadding.right - indicatorIcon.getBounds().width() in createChipBitmap()
926 int indicatorY = height / 2 - indicatorIcon.getBounds().height() / 2; in createChipBitmap()
927 indicatorIcon.getBounds().offsetTo(indicatorX, indicatorY); in createChipBitmap()
928 indicatorIcon.draw(canvas); in createChipBitmap()