Searched refs:maxEmojiCount (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiEditTextHelper.java92 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence,
97 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument
98 Preconditions.checkArgumentNonnegative(maxEmojiCount,
99 "maxEmojiCount should be greater than 0");
100 mMaxEmojiCount = maxEmojiCount;
101 mHelper.setMaxEmojiCount(maxEmojiCount);
189 void setMaxEmojiCount(int maxEmojiCount) { argument
211 void setMaxEmojiCount(int maxEmojiCount) { argument
212 mTextWatcher.setMaxEmojiCount(maxEmojiCount);
H A DEmojiEditText.java91 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence,
98 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument
99 getEmojiEditTextHelper().setMaxEmojiCount(maxEmojiCount);
H A DEmojiExtractEditText.java99 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence,
103 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument
104 getEmojiEditTextHelper().setMaxEmojiCount(maxEmojiCount);
H A DEmojiTextWatcher.java50 void setMaxEmojiCount(int maxEmojiCount) { argument
51 this.mMaxEmojiCount = maxEmojiCount;
/frameworks/support/emoji/appcompat/src/android/support/text/emoji/widget/
H A DEmojiAppCompatEditText.java85 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence,
92 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument
93 getEmojiEditTextHelper().setMaxEmojiCount(maxEmojiCount);
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DEmojiCompat.java578 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater
586 * {@code maxEmojiCount < 0}
591 @IntRange(from = 0) final int maxEmojiCount) {
592 return process(charSequence, start, end, maxEmojiCount, REPLACE_STRATEGY_DEFAULT);
614 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater
626 * {@code maxEmojiCount < 0}
631 @IntRange(from = 0) final int maxEmojiCount, @ReplaceStrategy int replaceStrategy) {
635 Preconditions.checkArgumentNonnegative(maxEmojiCount, "maxEmojiCount cannot be negative");
668 return mHelper.process(charSequence, start, end, maxEmojiCount, replaceAl
589 process(@onNull final CharSequence charSequence, @IntRange(from = 0) final int start, @IntRange(from = 0) final int end, @IntRange(from = 0) final int maxEmojiCount) argument
629 process(@onNull final CharSequence charSequence, @IntRange(from = 0) final int start, @IntRange(from = 0) final int end, @IntRange(from = 0) final int maxEmojiCount, @ReplaceStrategy int replaceStrategy) argument
953 process(@onNull final CharSequence charSequence, @IntRange(from = 0) final int start, @IntRange(from = 0) final int end, @IntRange(from = 0) final int maxEmojiCount, boolean replaceAll) argument
1037 process(@onNull CharSequence charSequence, int start, int end, int maxEmojiCount, boolean replaceAll) argument
[all...]
H A DEmojiProcessor.java137 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater
142 @IntRange(from = 0) int end, @IntRange(from = 0) int maxEmojiCount,
186 // expensive operation, do it only when maxEmojiCount is not unlimited.
187 if (maxEmojiCount != EmojiCompat.EMOJI_COUNT_UNLIMITED && spannable != null) {
188 maxEmojiCount -= spannable.getSpans(0, spannable.length(), EmojiSpan.class).length;
197 while (currentOffset < end && addedCount < maxEmojiCount) {
232 if (sm.isInFlushableState() && addedCount < maxEmojiCount) {
141 process(@onNull final CharSequence charSequence, @IntRange(from = 0) int start, @IntRange(from = 0) int end, @IntRange(from = 0) int maxEmojiCount, final boolean replaceAll) argument

Completed in 188 milliseconds