Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java132 /*package*/ static final int CHIP_LIMIT = 2; field in RecipientEditTextView
1370 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1382 if (hasFocus() || mTemporaryRecipients.size() < CHIP_LIMIT) { in handlePendingChips()
1389 mTemporaryRecipients.subList(0, CHIP_LIMIT))); in handlePendingChips()
1390 if (mTemporaryRecipients.size() > CHIP_LIMIT) { in handlePendingChips()
1392 mTemporaryRecipients.subList(CHIP_LIMIT, in handlePendingChips()
2389 for (int i = 0; i < CHIP_LIMIT; i++) { in createMoreChipPlainText()
2395 MoreImageSpan moreSpan = createMoreSpan(tokenCount - CHIP_LIMIT); in createMoreChipPlainText()
2438 if (recipients == null || recipients.length <= CHIP_LIMIT) { in createMoreChip()
2444 int overage = numRecipients - CHIP_LIMIT; in createMoreChip()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java286 (String) mTokenizer.terminateToken(RecipientEditTextView.CHIP_LIMIT + "")); in testTooManyRecips()