Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp77 const DicNode *const parentDicNode, DicNode *const dicNode, in addCostAndForwardInputIndex() argument
83 traverseSession, parentDicNode, dicNode, &inputStateG); in addCostAndForwardInputIndex()
85 traverseSession, parentDicNode, dicNode, multiBigramMap); in addCostAndForwardInputIndex()
87 traverseSession, parentDicNode, dicNode); in addCostAndForwardInputIndex()
106 const DicNode *const parentDicNode, const DicNode *const dicNode, in getSpatialCost() argument
110 return weighting->getOmissionCost(parentDicNode, dicNode); in getSpatialCost()
134 return weighting->getInsertionCost(traverseSession, parentDicNode, dicNode); in getSpatialCost()
136 return weighting->getTranspositionCost(traverseSession, parentDicNode, dicNode); in getSpatialCost()
144 const DicNode *const parentDicNode, const DicNode *const dicNode, in getLanguageCost() argument
153 traverseSession, parentDicNode, multiBigramMap); in getLanguageCost()
[all …]
Dweighting.h35 const DicNode *const parentDicNode, DicNode *const dicNode,
43 const DicNode *const parentDicNode, const DicNode *const dicNode) const = 0;
53 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode,
58 const DicNode *const parentDicNode, const DicNode *const dicNode) const = 0;
90 const DicNode *const parentDicNode, const DicNode *const dicNode) const = 0;
100 const DicNode *const parentDicNode, const DicNode *const dicNode,
104 const DicNode *const parentDicNode, const DicNode *const dicNode,
Dtraversal.h50 const DicNode *const parentDicNode, const DicNode *const dicNode) const = 0;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h55 float getOmissionCost(const DicNode *const parentDicNode, const DicNode *const dicNode) const { in getOmissionCost() argument
56 const bool isZeroCostOmission = parentDicNode->isZeroCostOmission(); in getOmissionCost()
57 const bool isIntentionalOmission = parentDicNode->canBeIntentionalOmission(); in getOmissionCost()
58 const bool sameCodePoint = dicNode->isSameNodeCodePoint(parentDicNode); in getOmissionCost()
115 const DicNode *const parentDicNode, const DicNode *const dicNode) const { in getTranspositionCost() argument
116 const int16_t parentPointIndex = parentDicNode->getInputIndex(0); in getTranspositionCost()
117 const int prevCodePoint = parentDicNode->getNodeCodePoint(); in getTranspositionCost()
130 const DicNode *const parentDicNode, const DicNode *const dicNode) const { in getInsertionCost() argument
131 const int16_t insertedPointIndex = parentDicNode->getInputIndex(0); in getInsertionCost()
215 const DicNode *const parentDicNode, const DicNode *const dicNode) const;
Dtyping_weighting.cpp28 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode, in getErrorType() argument
84 if (parentDicNode->canBeIntentionalOmission()) { in getErrorType()
Dtyping_traversal.h174 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode, in isPossibleOmissionChildNode() argument
177 getProximityType(traverseSession, parentDicNode, dicNode); in isPossibleOmissionChildNode()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h128 void initAsPassingChild(const DicNode *parentDicNode) { in initAsPassingChild() argument
129 mIsCachedForNextSuggestion = parentDicNode->mIsCachedForNextSuggestion; in initAsPassingChild()
131 parentDicNode->mDicNodeState.mDicNodeStateOutput.getCurrentWordCodePointAt( in initAsPassingChild()
132 parentDicNode->getNodeCodePointCount()); in initAsPassingChild()
133 mDicNodeProperties.init(&parentDicNode->mDicNodeProperties, codePoint); in initAsPassingChild()
134 mDicNodeState.initByCopy(&parentDicNode->mDicNodeState); in initAsPassingChild()
135 PROF_NODE_COPY(&parentDicNode->mProfiler, mProfiler); in initAsPassingChild()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp74 const int inputCodePoint, const DicNode *const parentDicNode, in processChildDicNodes() argument
77 DicNodeUtils::getAllChildDicNodes(parentDicNode, dictionaryStructurePolicy, &childDicNodes); in processChildDicNodes()
Ddictionary_utils.h41 const int inputCodePoint, const DicNode *const parentDicNode,