Searched refs:originalPtNodeParams (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 137 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()
|
D | dynamic_pt_updating_helper.h | 72 bool setPtNodeProbability(const PtNodeParams *const originalPtNodeParams, 87 const PtNodeParams getUpdatedPtNodeParams(const PtNodeParams *const originalPtNodeParams,
|