Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java541 if (mSelectedChip == null && last != null && start < getSpannable().getSpanEnd(last)) { in onSelectionChanged()
543 setSelection(Math.min(getSpannable().getSpanEnd(last) + 1, getText().length())); in onSelectionChanged()
760 getSpannable().getSpans(start, end, DrawableRecipientChip.class); in shrink()
1426 Spannable spannable = getSpannable(); in sanitizeEnd()
1433 end = getSpannable().getSpanEnd(getLastChip()); in sanitizeEnd()
1747 int end = getSpannable().getSpanStart(last); in sanitizeBetween()
1749 startLooking = getSpannable().getSpanEnd(beforeLast); in sanitizeBetween()
1774 getSpannable().getSpans(start, end, DrawableRecipientChip.class); in alreadyHasChip()
1852 /* package */ Spannable getSpannable() { in getSpannable() method in RecipientEditTextView
1857 return getSpannable().getSpanStart(chip); in getChipStart()
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java97 public Editable getSpannable() { in getSpannable() method in ChipsTest.MockRecipientEditTextView