Home
last modified time | relevance | path

Searched refs:NOT_AN_INDEX (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp171 if (keyIndex == NOT_AN_INDEX) { in calculateNormalizedSquaredDistance()
451 x = proximityInfo->getKeyCenterXOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric); in pushTouchPoint()
452 y = proximityInfo->getKeyCenterYOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric); in pushTouchPoint()
606 if (keyId != NOT_AN_INDEX) { in getPointToKeyByIdLength()
698 (*charProbabilities)[i][NOT_AN_INDEX] = skipProbability; in updateAlignPointProbabilities()
768 if (it->first == NOT_AN_INDEX) { in updateAlignPointProbabilities()
818 (*charProbabilities)[i][NOT_AN_INDEX] = -logf((*charProbabilities)[i][NOT_AN_INDEX]); in updateAlignPointProbabilities()
843 if (charProbability.first == NOT_AN_INDEX) { in updateSampledSearchKeySets()
890 (*charProbabilities)[index0][NOT_AN_INDEX] += suppression; in suppressCharProbabilities()
895 (*charProbabilities)[index1][NOT_AN_INDEX] in suppressCharProbabilities()
[all …]
Dproximity_info_utils.h36 return NOT_AN_INDEX; in getKeyIndexOf()
39 return NOT_AN_INDEX; in getKeyIndexOf()
46 return NOT_AN_INDEX; in getKeyIndexOf()
Dproximity_info.h87 return getKeyIndexOf(codePoint) != NOT_AN_INDEX; in isCodePointOnKeyboard()
Dproximity_info_state.cpp172 if (keyId != NOT_AN_INDEX) { in getPointToKeyLength()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.cpp59 if (keyIndex == NOT_AN_INDEX) { in getErrorType()
70 if (keyIndex == NOT_AN_INDEX) { in getErrorType()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_output.h34 mPrevWordsLength(0), mPrevWordStart(0), mSecondWordFirstInputIndex(NOT_AN_INDEX) {} in DicNodeStateOutput()
46 mSecondWordFirstInputIndex = NOT_AN_INDEX; in init()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestedWords.java240 public static final int NOT_AN_INDEX = -1; field in SuggestedWords.SuggestedWordInfo
322 mIndexOfTouchPointOfSecondWord = SuggestedWordInfo.NOT_AN_INDEX; in SuggestedWordInfo()
327 return (isKindOf(KIND_CORRECTION) && NOT_AN_INDEX != mIndexOfTouchPointOfSecondWord); in isEligibleForAutoCommit()
DPunctuationSuggestions.java121 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in newHardCodedWordInfo()
DSuggest.java255 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in getSuggestedWordsForNonBatchInput()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DSuggestedWordsTests.java43 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in createTypedWordInfo()
58 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in createCorrectionWordInfo()
DInputTestsBase.java417 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in pickSuggestionManually()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestions_output_utils.cpp179 NOT_AN_INDEX; in outputSuggestionsOfDicNode()
272 std::max(S_INT_MIN + 1, shortcutScore) - 1, kind, NOT_AN_INDEX, in outputShortcuts()
Dsuggestion_results.cpp58 NOT_AN_INDEX, NOT_A_FIRST_WORD_CONFIDENCE); in addPrediction()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h262 if (inputIndex == NOT_AN_INDEX) { in getSecondWordFirstInputIndex()
263 return NOT_AN_INDEX; in getSecondWordFirstInputIndex()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h236 #define NOT_AN_INDEX (-1) macro
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DSuggestionSpanUtilsTest.java49 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in createWordInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1479 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in performUpdateSuggestionStripSync()
1567 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in restartSuggestionsOnWordTouchedByCursor()
1582 SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, in restartSuggestionsOnWordTouchedByCursor()