Searched refs:inputIndex (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
D | typing_weighting.h | 185 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/ |
D | proximity_info_state_utils.cpp | 159 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 …]
|
D | proximity_info_state_utils.h | 84 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);
|
D | proximity_info_state.cpp | 170 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()
|
D | proximity_info_state.h | 147 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/ |
D | dic_node_state_input.h | 49 void updateInputIndexG(const int pointerId, const int inputIndex, in updateInputIndexG() argument 51 mInputIndex[pointerId] = inputIndex; in updateInputIndexG()
|
D | dic_node_state_output.h | 101 void setSecondWordFirstInputIndex(const int inputIndex) { in setSecondWordFirstInputIndex() argument 102 mSecondWordFirstInputIndex = inputIndex; in setSecondWordFirstInputIndex()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_nodes_cache.h | 79 bool isLookAheadCorrectionInputIndex(const int inputIndex) const { in isLookAheadCorrectionInputIndex() argument 80 return inputIndex == mInputIndex - 1; in isLookAheadCorrectionInputIndex()
|
D | dic_node.h | 261 const int inputIndex = mDicNodeState.mDicNodeStateOutput.getSecondWordFirstInputIndex(); in getSecondWordFirstInputIndex() local 262 if (inputIndex == NOT_AN_INDEX) { in getSecondWordFirstInputIndex() 265 return pInfoState->getInputIndexOfSampledPoint(inputIndex); in getSecondWordFirstInputIndex()
|