Searched refs:maxEmojiCount (Results 1 - 7 of 7) sorted by relevance
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
H A D | EmojiEditTextHelper.java | 94 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence, 99 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument 100 Preconditions.checkArgumentNonnegative(maxEmojiCount, 101 "maxEmojiCount should be greater than 0"); 102 mMaxEmojiCount = maxEmojiCount; 103 mHelper.setMaxEmojiCount(maxEmojiCount); 192 void setMaxEmojiCount(int maxEmojiCount) { argument 214 void setMaxEmojiCount(int maxEmojiCount) { argument 215 mTextWatcher.setMaxEmojiCount(maxEmojiCount);
|
H A D | EmojiEditText.java | 96 * @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 D | EmojiExtractEditText.java | 104 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence, 108 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument 109 getEmojiEditTextHelper().setMaxEmojiCount(maxEmojiCount);
|
H A D | EmojiTextWatcher.java | 51 void setMaxEmojiCount(int maxEmojiCount) { argument 52 this.mMaxEmojiCount = maxEmojiCount;
|
/frameworks/support/emoji/appcompat/src/main/java/androidx/emoji/widget/ |
H A D | EmojiAppCompatEditText.java | 90 * @param maxEmojiCount maximum number of EmojiSpans to be added to a single CharSequence, 97 public void setMaxEmojiCount(@IntRange(from = 0) int maxEmojiCount) { argument 98 getEmojiEditTextHelper().setMaxEmojiCount(maxEmojiCount);
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/ |
H A D | EmojiCompat.java | 666 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater 674 * {@code maxEmojiCount < 0} 679 @IntRange(from = 0) final int maxEmojiCount) { 680 return process(charSequence, start, end, maxEmojiCount, REPLACE_STRATEGY_DEFAULT); 702 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater 714 * {@code maxEmojiCount < 0} 719 @IntRange(from = 0) final int maxEmojiCount, @ReplaceStrategy int replaceStrategy) { 723 Preconditions.checkArgumentNonnegative(maxEmojiCount, "maxEmojiCount cannot be negative"); 756 return mHelper.process(charSequence, start, end, maxEmojiCount, replaceAl 677 process(@onNull final CharSequence charSequence, @IntRange(from = 0) final int start, @IntRange(from = 0) final int end, @IntRange(from = 0) final int maxEmojiCount) argument 717 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 1109 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 1195 process(@onNull CharSequence charSequence, int start, int end, int maxEmojiCount, boolean replaceAll) argument [all...] |
H A D | EmojiProcessor.java | 156 * @param maxEmojiCount maximum number of emojis in the {@code charSequence}, should be greater 161 @IntRange(from = 0) int end, @IntRange(from = 0) int maxEmojiCount, 214 // expensive operation, do it only when maxEmojiCount is not unlimited. 215 if (maxEmojiCount != EmojiCompat.EMOJI_COUNT_UNLIMITED && spannable != null) { 216 maxEmojiCount -= spannable.getSpans(0, spannable.length(), EmojiSpan.class).length; 226 while (currentOffset < end && addedCount < maxEmojiCount) { 261 if (sm.isInFlushableState() && addedCount < maxEmojiCount) { 160 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 93 milliseconds