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
1373 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1385 if (hasFocus() || mTemporaryRecipients.size() < CHIP_LIMIT) { in handlePendingChips()
1392 mTemporaryRecipients.subList(0, CHIP_LIMIT))); in handlePendingChips()
1393 if (mTemporaryRecipients.size() > CHIP_LIMIT) { in handlePendingChips()
1395 mTemporaryRecipients.subList(CHIP_LIMIT, in handlePendingChips()
2392 for (int i = 0; i < CHIP_LIMIT; i++) { in createMoreChipPlainText()
2398 MoreImageSpan moreSpan = createMoreSpan(tokenCount - CHIP_LIMIT); in createMoreChipPlainText()
2441 if (recipients == null || recipients.length <= CHIP_LIMIT) { in createMoreChip()
2447 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()