Home
last modified time | relevance | path

Searched refs:mBigrams (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java85 ArrayList<WeightedString> mBigrams; field in FusionDictionary.PtNode
108 mBigrams = bigrams; in PtNode()
119 mBigrams = bigrams; in PtNode()
154 if (null == mBigrams) return null; in getBigrams()
155 final ArrayList<WeightedString> copyOfBigrams = new ArrayList<>(mBigrams); in getBigrams()
169 if (mBigrams == null) { in addBigram()
170 mBigrams = new ArrayList<>(); in addBigram()
177 mBigrams.add(bigram); in addBigram()
187 if (mBigrams != null) { in getBigram()
188 final int size = mBigrams.size(); in getBigram()
[all …]
DBinaryDictEncoderUtils.java106 if (null != ptNode.mBigrams) { in getPtNodeMaximumSize()
109 * ptNode.mBigrams.size(); in getPtNodeMaximumSize()
337 if (null != ptNode.mBigrams) { in computeActualPtNodeArraySize()
338 for (WeightedString bigram : ptNode.mBigrams) { in computeActualPtNodeArraySize()
547 node.mBigrams != null && !node.mBigrams.isEmpty(), in makePtNodeFlags()
DPtNodeInfo.java32 public final ArrayList<PendingAttribute> mBigrams; field in PtNodeInfo
45 mBigrams = bigrams; in PtNodeInfo()
DBinaryDictIOUtils.java118 if (ptNodeInfo.mBigrams != null) { in readUnigramsAndBigramsBinaryInner()
119 bigrams.put(ptNodeInfo.mOriginalAddress, ptNodeInfo.mBigrams); in readUnigramsAndBigramsBinaryInner()
DVer2DictEncoder.java277 writeBigrams(ptNode.mBigrams, dict); in writePtNode()