Home
last modified time | relevance | path

Searched refs:children (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DSimpleNode.java7 protected Node[] children; field in SimpleNode
30 if (children == null) { in jjtAddChild()
31 children = new Node[i + 1]; in jjtAddChild()
32 } else if (i >= children.length) { in jjtAddChild()
34 System.arraycopy(children, 0, c, 0, children.length); in jjtAddChild()
35 children = c; in jjtAddChild()
37 children[i] = n; in jjtAddChild()
41 return children[i]; in jjtGetChild()
45 return (children == null) ? 0 : children.length; in jjtGetNumChildren()
55 if (children != null) { in childrenAccept()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java57 NodeArray children; field in ExpandableDictionary.Node
145 private void addWordRec(NodeArray children, final String word, final int depth, in addWordRec() argument
150 final int childrenLength = children.length; in addWordRec()
154 childNode = children.data[i]; in addWordRec()
164 children.add(childNode); in addWordRec()
173 if (childNode.children == null) { in addWordRec()
174 childNode.children = new NodeArray(); in addWordRec()
176 addWordRec(childNode.children, word, depth + 1, frequency, childNode); in addWordRec()
262 final NodeArray children = node.children; in getWordsRec() local
277 if (children != null) { in getWordsRec()
[all …]
/packages/apps/Mms/src/com/android/mms/dom/smil/
DElementParallelTimeContainerImpl.java88 NodeList children = getTimeChildren(); in getImplicitDuration() local
89 for (int i = 0; i < children.getLength(); ++i) { in getImplicitDuration()
90 ElementTime child = (ElementTime) children.item(i); in getImplicitDuration()
116 NodeList children = getTimeChildren(); in getActiveChildrenAt() local
117 int childrenLen = children.getLength(); in getActiveChildrenAt()
121 ElementTime child = (ElementTime) children.item(i); in getActiveChildrenAt()
DElementSequentialTimeContainerImpl.java61 NodeList children = getTimeChildren(); in getDur() local
62 for (int i = 0; i < children.getLength(); ++i) { in getDur()
63 ElementTime child = (ElementTime) children.item(i); in getDur()
DSmilPlayer.java122 NodeList children = par.getTimeChildren(); in getParTimeline() local
123 for (int i = 0; i < children.getLength(); ++i) { in getParTimeline()
124 ElementTime child = (ElementTime) children.item(i); in getParTimeline()
181 NodeList children = seq.getTimeChildren(); in getSeqTimeline() local
182 for (int i = 0; i < children.getLength(); ++i) { in getSeqTimeline()
183 ElementTime child = (ElementTime) children.item(i); in getSeqTimeline()
/packages/apps/Settings/src/com/android/settings/vpn/
DUtil.java101 String[] children = sourceLocation.list(); in copyFiles() local
102 for (int i=0; i<children.length; i++) { in copyFiles()
103 copyFiles(new File(sourceLocation, children[i]), in copyFiles()
104 new File(targetLocation, children[i])); in copyFiles()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityDiff.java139 final ArrayList<NamedContentValues> children = entity.getSubValues(); in buildChildrenMap() local
141 children.size()); in buildChildrenMap()
142 for (NamedContentValues child : children) { in buildChildrenMap()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java85 NodeList children = head.getChildNodes(); in isMMSConformance() local
86 if (children == null || children.getLength() != 1) { in isMMSConformance()
90 Node layout = children.item(0); in isMMSConformance()
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java1353 ActionList children = mActions.get(mimeType); in inflateAction() local
1354 if (children.size() > 1) { in inflateAction()
1355 Collapser.collapseList(children); in inflateAction()
1357 Action firstInfo = children.get(0); in inflateAction()
1358 if (children.size() == 1) { in inflateAction()
1361 for (Action action : children) { in inflateAction()
1369 view.setTag(children); in inflateAction()
1459 final ActionList children = (ActionList)tag; in onClick() local
1467 return children.size(); in onClick()
1471 return children.get(position); in onClick()
/packages/apps/Browser/src/com/android/browser/
DTabControl.java224 Vector<Tab> children = tab.getChildTabs(); in removeTab() local
225 if (children != null) { in removeTab()
226 for (Tab child : children) { in removeTab()
/packages/apps/Email/src/com/android/exchange/adapter/
DContactsSyncAdapter.java362 ArrayList<String> children = new ArrayList<String>(); in addData() local
486 childrenParser(children); in addData()
596 if (!children.isEmpty()) { in addData()
597 ops.addChildren(entity, children); in addData()
643 private void childrenParser(ArrayList<String> children) throws IOException { in childrenParser() argument
647 if (children.size() < EasChildren.MAX_CHILDREN) { in childrenParser()
648 children.add(getValue()); in childrenParser()
1172 public void addChildren(Entity entity, ArrayList<String> children) { in addChildren() argument
1175 for (String child: children) { in addChildren()