Home | History | Annotate | Download | only in latin

Lines Matching defs:childNode

194         Node childNode = null;
198 childNode = node;
203 if (childNode == null) {
204 childNode = new Node();
205 childNode.mCode = c;
206 childNode.mParent = parentNode;
207 childNode.mShortcutOnly = isShortcutOnly;
208 children.add(childNode);
212 childNode.mTerminal = true;
214 if (null == childNode.mShortcutTargets) {
215 childNode.mShortcutTargets = CollectionUtils.newArrayList();
217 childNode.mShortcutTargets.add(shortcutTarget.toCharArray());
219 childNode.mShortcutOnly = false;
221 childNode.mFrequency = Math.max(frequency, childNode.mFrequency);
222 if (childNode.mFrequency > 255) childNode.mFrequency = 255;
225 if (childNode.mChildren == null) {
226 childNode.mChildren = new NodeArray();
228 addWordRec(childNode.mChildren, word, depth + 1, shortcutTarget, frequency, shortcutFreq,
229 childNode);
565 Node childNode = null;
569 childNode = node;
573 if (childNode == null) {
574 childNode = new Node();
575 childNode.mCode = c;
576 childNode.mParent = parentNode;
577 children.add(childNode);
581 childNode.mTerminal = true;
582 return childNode;
584 if (childNode.mChildren == null) {
585 childNode.mChildren = new NodeArray();
587 return searchWord(childNode.mChildren, word, depth + 1, childNode);