Home
last modified time | relevance | path

Searched refs:inputIndex (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h185 const int inputIndex = dicNode->getInputIndex(0); in getTerminalInsertionCost() local
187 ASSERT(inputIndex < inputSize); in getTerminalInsertionCost()
189 return ScoringParams::TERMINAL_INSERTION_COST * (inputSize - inputIndex); in getTerminalInsertionCost()
206 const int inputIndex = dicNode->getInputIndex(0); in getSpaceSubstitutionCost() local
208 ->getPointToKeyLength(inputIndex, KEYCODE_SPACE); in getSpaceSubstitutionCost()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateSquaredDistanceFromSweetSpotCenter() argument
162 const float inputX = static_cast<float>((*sampledInputXs)[inputIndex]); in calculateSquaredDistanceFromSweetSpotCenter()
163 const float inputY = static_cast<float>((*sampledInputYs)[inputIndex]); in calculateSquaredDistanceFromSweetSpotCenter()
170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateNormalizedSquaredDistance() argument
177 if (NOT_A_COORDINATE == (*sampledInputXs)[inputIndex]) { in calculateNormalizedSquaredDistance()
181 sampledInputXs, sampledInputYs, keyIndex, inputIndex); in calculateNormalizedSquaredDistance()
402 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x, int y, in pushTouchPoint() argument
467 sampledInputIndice->push_back(inputIndex); in pushTouchPoint()
470 x, y, time, inputIndex, popped); in pushTouchPoint()
605 const int inputIndex, const int keyId) { in getPointToKeyByIdLength() argument
[all …]
Dproximity_info_state_utils.h84 const int inputIndex, const int keyId);
128 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x,
154 const int inputIndex);
157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
Dproximity_info_state.cpp170 const int inputIndex, const int codePoint) const { in getPointToKeyLength() argument
173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId; in getPointToKeyLength()
184 const int inputIndex, const int keyId) const { in getPointToKeyByIdLength() argument
186 &mSampledNormalizedSquaredLengthCache, mProximityInfo->getKeyCount(), inputIndex, in getPointToKeyByIdLength()
Dproximity_info_state.h147 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const;
149 float getPointToKeyLength(const int inputIndex, const int codePoint) const;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_input.h49 void updateInputIndexG(const int pointerId, const int inputIndex, in updateInputIndexG() argument
51 mInputIndex[pointerId] = inputIndex; in updateInputIndexG()
Ddic_node_state_output.h101 void setSecondWordFirstInputIndex(const int inputIndex) { in setSecondWordFirstInputIndex() argument
102 mSecondWordFirstInputIndex = inputIndex; in setSecondWordFirstInputIndex()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h79 bool isLookAheadCorrectionInputIndex(const int inputIndex) const { in isLookAheadCorrectionInputIndex() argument
80 return inputIndex == mInputIndex - 1; in isLookAheadCorrectionInputIndex()
Ddic_node.h261 const int inputIndex = mDicNodeState.mDicNodeStateOutput.getSecondWordFirstInputIndex(); in getSecondWordFirstInputIndex() local
262 if (inputIndex == NOT_AN_INDEX) { in getSecondWordFirstInputIndex()
265 return pInfoState->getInputIndexOfSampledPoint(inputIndex); in getSecondWordFirstInputIndex()