Home
last modified time | relevance | path

Searched refs:mFrequency (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWord.java31 final int mFrequency; field in Word
41 mFrequency = frequency; in Word()
49 word.mFrequency, in computeHashCode()
63 if (mFrequency < w.mFrequency) return 1; in compareTo()
64 if (mFrequency > w.mFrequency) return -1; in compareTo()
79 return mFrequency == w.mFrequency && mWord.equals(w.mWord) in equals()
DFusionDictionary.java65 int mFrequency; field in FusionDictionary.WeightedString
68 mFrequency = frequency; in WeightedString()
73 return Arrays.hashCode(new Object[] { mWord, mFrequency }); in hashCode()
81 return mWord.equals(w.mWord) && mFrequency == w.mFrequency; in equals()
102 int mFrequency; // NOT_A_TERMINAL == mFrequency indicates this is not a terminal. field in FusionDictionary.CharGroup
111 mFrequency = frequency; in CharGroup()
120 mFrequency = frequency; in CharGroup()
134 return NOT_A_TERMINAL != mFrequency; in isTerminal()
152 bigram.mFrequency = frequency; in addBigram()
202 if (frequency > mFrequency) { in update()
[all …]
DPendingAttribute.java26 public final int mFrequency; field in PendingAttribute
29 mFrequency = frequency; in PendingAttribute()
DCharGroupInfo.java32 public final int mFrequency; field in CharGroupInfo
45 mFrequency = frequency; in CharGroupInfo()
DBinaryDictInputOutput.java701 if (group.mFrequency >= 0) { in makeCharGroupFlags()
860 if (DBG && group.mFrequency > MAX_TERMINAL_FREQUENCY) { in writePlacedNode()
862 + " : " + group.mFrequency); in writePlacedNode()
864 if (group.mFrequency >= 0) groupAddress += GROUP_FREQUENCY_SIZE; in writePlacedNode()
873 if (group.mFrequency >= 0) { in writePlacedNode()
874 buffer[index++] = (byte) group.mFrequency; in writePlacedNode()
890 target.mFrequency); in writePlacedNode()
911 final int unigramFrequencyForThisWord = target.mFrequency; in writePlacedNode()
915 bigram.mFrequency, unigramFrequencyForThisWord, bigram.mWord); in writePlacedNode()
951 if (cg.mFrequency >= 0) { in showStatistics()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java54 int mFrequency; field in ExpandableDictionary.Node
93 private final int mFrequency; field in ExpandableDictionary.NextStaticWord
96 mFrequency = frequency; in NextStaticWord()
106 return mFrequency; in getFrequency()
116 return mFrequency; in notifyTypedAgainAndGetFrequency()
239 childNode.mFrequency = Math.max(frequency, childNode.mFrequency); in addWordRec()
240 if (childNode.mFrequency > 255) childNode.mFrequency = 255; in addWordRec()
334 return (node == null) ? -1 : node.mFrequency;
436 final int freq = node.mFrequency;
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
DXmlDictInputOutput.java270 dict.setBigram(firstWord, bigram.mWord, bigram.mFrequency); in readDictionaryXml()
319 + FREQUENCY_ATTR + "=\"" + word.mFrequency + "\">"); in writeDictionaryXml()
324 + target.mFrequency + "\">" + target.mWord + "</" + SHORTCUT_TAG in writeDictionaryXml()
333 + bigram.mFrequency + "\">" + bigram.mWord + "</" + BIGRAM_TAG + ">\n"); in writeDictionaryXml()