Searched defs:applyStrategy (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
H A DTextLinksParams.java52 @TextLinks.ApplyStrategy int applyStrategy,
54 mApplyStrategy = applyStrategy;
160 public Builder setApplyStrategy(@TextLinks.ApplyStrategy int applyStrategy) { argument
161 mApplyStrategy = checkApplyStrategy(applyStrategy);
197 private static int checkApplyStrategy(int applyStrategy) { argument
198 if (applyStrategy != TextLinks.APPLY_STRATEGY_IGNORE
199 && applyStrategy != TextLinks.APPLY_STRATEGY_REPLACE) {
203 return applyStrategy;
51 TextLinksParams( @extLinks.ApplyStrategy int applyStrategy, Function<TextLink, TextLinkSpan> spanFactory) argument
H A DTextLinks.java128 * @param applyStrategy the apply strategy used to determine how to apply links to text.
139 @ApplyStrategy int applyStrategy,
143 .setApplyStrategy(applyStrategy)
706 /** @param applyStrategy strategy to use when resolving conflicts. */
707 public Options setApplyStrategy(@ApplyStrategy int applyStrategy) { argument
708 checkValidApplyStrategy(applyStrategy);
709 mApplyStrategy = applyStrategy;
749 private static void checkValidApplyStrategy(int applyStrategy) { argument
750 if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy !
137 apply( @onNull Spannable text, @ApplyStrategy int applyStrategy, @Nullable Function<TextLink, TextLinkSpan> spanFactory) argument
[all...]
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DTextLinks.java108 @ApplyStrategy int applyStrategy,
111 checkValidApplyStrategy(applyStrategy);
129 if (applyStrategy == APPLY_STRATEGY_REPLACE) {
317 * @throws IllegalArgumentException if applyStrategy is not valid.
321 public Options setApplyStrategy(@ApplyStrategy int applyStrategy) { argument
322 checkValidApplyStrategy(applyStrategy);
323 mApplyStrategy = applyStrategy;
536 private static void checkValidApplyStrategy(int applyStrategy) { argument
537 if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy !
106 apply( @onNull Spannable text, @ApplyStrategy int applyStrategy, @Nullable SpanFactory spanFactory) argument
[all...]

Completed in 81 milliseconds