Searched refs:CharGroup (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 43 ArrayList<CharGroup> mData; 50 mData = new ArrayList<CharGroup>(); in Node() 52 public Node(ArrayList<CharGroup> data) { in Node() 96 public static final class CharGroup { class in FusionDictionary 109 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, in CharGroup() method in FusionDictionary.CharGroup 121 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, in CharGroup() method in FusionDictionary.CharGroup 133 public void addChild(CharGroup n) { in addChild() 336 ArrayList<CharGroup> stack = node.mData; in checkStack() 355 CharGroup charGroup = findWordInTree(mRoot, word1); in setBigram() 357 final CharGroup charGroup2 = findWordInTree(mRoot, word2); in setBigram() [all …]
|
D | BinaryDictInputOutput.java | 21 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup; 288 private static int getGroupCharactersSize(final CharGroup group) { in getGroupCharactersSize() 357 private static int getCharGroupMaximumSize(final CharGroup group, final FormatOptions options) { in getCharGroupMaximumSize() 380 for (CharGroup g : node.mData) { in setNodeMaximumSize() 419 private static int getGroupHeaderSize(final CharGroup group, final FormatOptions options) { in getGroupHeaderSize() 492 final ArrayList<CharGroup> branches = node.mData; in flattenTreeInner() 494 for (CharGroup group : branches) { in flattenTreeInner() 530 for (CharGroup group : node.mData) { in computeActualNodeSize() 588 for (CharGroup g : n.mData) { in stackNodes() 724 private static byte makeCharGroupFlags(final CharGroup group, final int groupAddress, in makeCharGroupFlags() [all …]
|
D | BinaryDictIOUtils.java | 23 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup; 94 && info.mFrequency != FusionDictionary.CharGroup.NOT_A_TERMINAL) {// found word in readUnigramsAndBigramsBinaryInner() 195 if (currentInfo.mFrequency == CharGroup.NOT_A_TERMINAL) { in getTerminalPosition()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | UserHistoryDictIOUtilsTests.java | 24 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup; 87 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, word); in checkWordInFusionDict()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOTests.java | 23 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup; 210 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, word); in checkDictionary() 218 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, words.get(w1)); in checkDictionary() 226 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, entry.getKey()); in checkDictionary()
|