Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/
Dcorrection.cpp330 mDistances[mOutputIndex] = NOT_A_DISTANCE; in processCharAndCalcState()
342 mDistances[mOutputIndex] = in processCharAndCalcState()
348 mDistances[mOutputIndex] = in processCharAndCalcState()
510 mDistances[mOutputIndex] = ADDITIONAL_PROXIMITY_CHAR_DISTANCE_INFO; in processCharAndCalcState()
549 mDistances[mOutputIndex] = ADDITIONAL_PROXIMITY_CHAR_DISTANCE_INFO; in processCharAndCalcState()
575 mDistances[mOutputIndex] = mProximityInfo->getNormalizedSquaredDistance(mInputIndex, 0); in processCharAndCalcState()
579 mDistances[mOutputIndex] = in processCharAndCalcState()
785 const int squaredDistance = correction->mDistances[i]; in calculateFinalProbability()
821 const int squaredDistance = correction->mDistances[i]; in calculateFinalProbability()
Dcorrection.h212 int mDistances[MAX_WORD_LENGTH_INTERNAL]; variable
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java230 private int[] mDistances = new int[MAX_NEARBY_KEYS]; field in KeyboardView
804 java.util.Arrays.fill(mDistances, Integer.MAX_VALUE); in getKeyIndices()
827 for (int j = 0; j < mDistances.length; j++) { in getKeyIndices()
828 if (mDistances[j] > dist) { in getKeyIndices()
829 System.arraycopy(mDistances, j, mDistances, j + nCodes, in getKeyIndices()
830 mDistances.length - j - nCodes); in getKeyIndices()
835 mDistances[j + c] = dist; in getKeyIndices()