Home
last modified time | relevance | path

Searched refs:applyStrategy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java52 @TextLinks.ApplyStrategy int applyStrategy, in TextLinksParams()
54 mApplyStrategy = applyStrategy; in TextLinksParams()
160 public Builder setApplyStrategy(@TextLinks.ApplyStrategy int applyStrategy) { in setApplyStrategy() argument
161 mApplyStrategy = checkApplyStrategy(applyStrategy); in setApplyStrategy()
197 private static int checkApplyStrategy(int applyStrategy) { in checkApplyStrategy() argument
198 if (applyStrategy != TextLinks.APPLY_STRATEGY_IGNORE in checkApplyStrategy()
199 && applyStrategy != TextLinks.APPLY_STRATEGY_REPLACE) { in checkApplyStrategy()
203 return applyStrategy; in checkApplyStrategy()
DTextLinks.java139 @ApplyStrategy int applyStrategy, in apply() argument
143 .setApplyStrategy(applyStrategy) in apply()
707 public Options setApplyStrategy(@ApplyStrategy int applyStrategy) { in setApplyStrategy() argument
708 checkValidApplyStrategy(applyStrategy); in setApplyStrategy()
709 mApplyStrategy = applyStrategy; in setApplyStrategy()
749 private static void checkValidApplyStrategy(int applyStrategy) { in checkValidApplyStrategy() argument
750 if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy != APPLY_STRATEGY_REPLACE) { in checkValidApplyStrategy()
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
DTextLinks.java108 @ApplyStrategy int applyStrategy, in apply() argument
111 checkValidApplyStrategy(applyStrategy); in apply()
129 if (applyStrategy == APPLY_STRATEGY_REPLACE) { in apply()
321 public Options setApplyStrategy(@ApplyStrategy int applyStrategy) { in setApplyStrategy() argument
322 checkValidApplyStrategy(applyStrategy); in setApplyStrategy()
323 mApplyStrategy = applyStrategy; in setApplyStrategy()
536 private static void checkValidApplyStrategy(int applyStrategy) { in checkValidApplyStrategy() argument
537 if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy != APPLY_STRATEGY_REPLACE) { in checkValidApplyStrategy()