Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Derror_type_utils.h52 static bool isExactMatch(const ErrorType containedErrorTypes) { in isExactMatch() argument
53 return (containedErrorTypes & ~ERRORS_TREATED_AS_AN_EXACT_MATCH) == 0; in isExactMatch()
56 static bool isPerfectMatch(const ErrorType containedErrorTypes) { in isPerfectMatch() argument
57 return (containedErrorTypes & ~ERRORS_TREATED_AS_A_PERFECT_MATCH) == 0; in isPerfectMatch()
60 static bool isExactMatchWithIntentionalOmission(const ErrorType containedErrorTypes) { in isExactMatchWithIntentionalOmission() argument
61 return (containedErrorTypes in isExactMatchWithIntentionalOmission()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_scoring.h46 const ErrorTypeUtils::ErrorType containedErrorTypes, const bool forceCommit, in calculateFinalScore() argument
76 if (boostExactMatches && ErrorTypeUtils::isPerfectMatch(containedErrorTypes)) { in calculateFinalScore()
80 if (boostExactMatches && ErrorTypeUtils::isExactMatch(containedErrorTypes)) { in calculateFinalScore()
82 if ((ErrorTypeUtils::MATCH_WITH_WRONG_CASE & containedErrorTypes) != 0) { in calculateFinalScore()
85 if ((ErrorTypeUtils::MATCH_WITH_MISSING_ACCENT & containedErrorTypes) != 0) { in calculateFinalScore()
88 if ((ErrorTypeUtils::MATCH_WITH_DIGRAPH & containedErrorTypes) != 0) { in calculateFinalScore()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dscoring.h32 const ErrorTypeUtils::ErrorType containedErrorTypes, const bool forceCommit,