Home
last modified time | relevance | path

Searched refs:errorType (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Derror_type_utils.h65 static bool isMissingExplicitAccent(const ErrorType errorType) { in isMissingExplicitAccent() argument
66 return (errorType & MATCH_WITH_MISSING_EXPLICIT_ACCENT) != 0; in isMissingExplicitAccent()
69 static bool isEditCorrectionError(const ErrorType errorType) { in isEditCorrectionError() argument
70 return (errorType & EDIT_CORRECTION) != 0; in isEditCorrectionError()
73 static bool isProximityCorrectionError(const ErrorType errorType) { in isProximityCorrectionError() argument
74 return (errorType & PROXIMITY_CORRECTION) != 0; in isProximityCorrectionError()
77 static bool isCompletion(const ErrorType errorType) { in isCompletion() argument
78 return (errorType & COMPLETION) != 0; in isCompletion()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_scoring.h73 const ErrorTypeUtils::ErrorType errorType) { in addCost() argument
75 mContainedErrorTypes = mContainedErrorTypes | errorType; in addCost()
76 if (ErrorTypeUtils::isEditCorrectionError(errorType)) { in addCost()
79 if (ErrorTypeUtils::isProximityCorrectionError(errorType)) { in addCost()
82 if (ErrorTypeUtils::isCompletion(errorType)) { in addCost()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmRecordActivity.java402 int errorType = bundle.getInt(FmListener.KEY_RECORDING_ERROR_TYPE);
403 handleRecordError(errorType);
430 private void handleRecordError(int errorType) { in handleRecordError() argument
431 Log.d(TAG, "handleRecordError, errorType = " + errorType); in handleRecordError()
433 switch (errorType) { in handleRecordError()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp86 const ErrorTypeUtils::ErrorType errorType = weighting->getErrorType(correctionType, in addCostAndForwardInputIndex() local
96 inputSize, errorType); in addCostAndForwardInputIndex()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h465 const ErrorTypeUtils::ErrorType errorType) { in addCost() argument
470 inputSize, getTotalInputIndex(), errorType); in addCost()