Home
last modified time | relevance | path

Searched refs:originalPtNodeParams (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp137 bool DynamicPtUpdatingHelper::setPtNodeProbability(const PtNodeParams *const originalPtNodeParams, in setPtNodeProbability() argument
139 if (originalPtNodeParams->isTerminal() && !originalPtNodeParams->isDeleted()) { in setPtNodeProbability()
142 return mPtNodeWriter->updatePtNodeUnigramProperty(originalPtNodeParams, unigramProperty); in setPtNodeProbability()
148 const PtNodeParams ptNodeParamsToWrite(getUpdatedPtNodeParams(originalPtNodeParams, in setPtNodeProbability()
150 true /* isTerminal */, originalPtNodeParams->getParentPos(), in setPtNodeProbability()
151 originalPtNodeParams->getCodePointArrayView(), unigramProperty->getProbability())); in setPtNodeProbability()
156 if (!mPtNodeWriter->markPtNodeAsMoved(originalPtNodeParams, movedPos, movedPos)) { in setPtNodeProbability()
279 const PtNodeParams *const originalPtNodeParams, const bool isNotAWord, in getUpdatedPtNodeParams() argument
286 return PtNodeParams(originalPtNodeParams, flags, parentPos, codePoints, probability); in getUpdatedPtNodeParams()
Ddynamic_pt_updating_helper.h72 bool setPtNodeProbability(const PtNodeParams *const originalPtNodeParams,
87 const PtNodeParams getUpdatedPtNodeParams(const PtNodeParams *const originalPtNodeParams,