Home
last modified time | relevance | path

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

/packages/apps/IM/libwbxml/test/
Dimps_parser_test.cpp371 vector<DomElement> children; member
394 currentElement->children.push_back(child); in startElement()
396 currentElement = &(currentElement->children.back()); in startElement()
519 TEST_ASSERT_EQUAL_INT(1, root.children.size()); in testSimpleCspLevel2()
520 const DomElement &elem = root.children[0]; in testSimpleCspLevel2()
521 TEST_ASSERT_EQUAL_INT(0, elem.children.size()); in testSimpleCspLevel2()
540 TEST_ASSERT_EQUAL_INT(1, root.children.size()); in testSimpleCspLevel3Characters()
541 const DomElement &session = root.children[0]; in testSimpleCspLevel3Characters()
542 TEST_ASSERT_EQUAL_INT(1, session.children.size()); in testSimpleCspLevel3Characters()
546 const DomElement &sessionDesc = session.children[0]; in testSimpleCspLevel3Characters()
[all …]
Dimps_encoder_test.cpp580 Element &transacContent = root.children[0].children[1].children[1];
587 Element &resultCode = transacContent.children[0].children[0].children[0];
592 Element &detailedResultCode = transacContent.children[0].children[0].children[2].children[0];
608 Element &transacContent = root.children[0].children[1].children[1];
609 Element &contentData = transacContent.children[0].children[2];
626 Element &sessionType = handler.root.children[0].children[0].children[0];
627 TEST_ASSERT_EQUAL_INT(0, sessionType.children.size());
/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/src/com/android/inputmethod/latin/
DExpandableDictionary.java38 NodeArray children; field in ExpandableDictionary.Node
84 private void addWordRec(NodeArray children, final String word, in addWordRec() argument
90 final int childrenLength = children.length; in addWordRec()
94 childNode = children.data[i]; in addWordRec()
103 children.add(childNode); in addWordRec()
112 if (childNode.children == null) { in addWordRec()
113 childNode.children = new NodeArray(); in addWordRec()
115 addWordRec(childNode.children, word, depth + 1, frequency); in addWordRec()
149 private int getWordFrequencyRec(final NodeArray children, final CharSequence word, in getWordFrequencyRec() argument
151 final int count = children.length; in getWordFrequencyRec()
[all …]
/packages/apps/Calculator/src/com/android/calculator2/
DPanelSwitcher.java37 private View children[]; field in PanelSwitcher
91 children = new View[count]; in onFinishInflate()
93 children[i] = getChildAt(i); in onFinishInflate()
95 children[i].setVisibility(View.GONE); in onFinishInflate()
113 if (mCurrentView < children.length - 1 && mPreviousMove != LEFT) { in moveLeft()
114 children[mCurrentView+1].setVisibility(View.VISIBLE); in moveLeft()
115 children[mCurrentView+1].startAnimation(inLeft); in moveLeft()
116 children[mCurrentView].startAnimation(outLeft); in moveLeft()
117 children[mCurrentView].setVisibility(View.GONE); in moveLeft()
127 children[mCurrentView-1].setVisibility(View.VISIBLE); in moveRight()
[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.java119 NodeList children = par.getTimeChildren(); in getParTimeline() local
120 for (int i = 0; i < children.getLength(); ++i) { in getParTimeline()
121 ElementTime child = (ElementTime) children.item(i); in getParTimeline()
178 NodeList children = seq.getTimeChildren(); in getSeqTimeline() local
179 for (int i = 0; i < children.getLength(); ++i) { in getSeqTimeline()
180 ElementTime child = (ElementTime) children.item(i); in getSeqTimeline()
/packages/apps/IM/src/com/android/im/imps/
DPtsPrimitiveSerializer.java310 ArrayList<PrimitiveElement> children = p.getChildren(); in encodePresence() local
311 if (children.size() > emptyValueSize) { in encodePresence()
313 int childCount = children.size(); in encodePresence()
316 PrimitiveElement value = children.get(i); in encodePresence()
352 ArrayList<PrimitiveElement> children = p.getChildren(); in encodeNoValuePresence() local
353 int childCount = children.size(); in encodeNoValuePresence()
362 encodeNoValuePresence(buf, children.get(i)); in encodeNoValuePresence()
447 ArrayList<PrimitiveElement> children = elem.getChildren(); in appendFeature() local
449 appendFeature(buf, children.get(i)); in appendFeature()
488 ArrayList<PrimitiveElement> children = elem.getChildren(); in encodeValue() local
[all …]
DPrimitiveElement.java71 ArrayList<PrimitiveElement> children = new ArrayList<PrimitiveElement>(); in getChildren() local
75 children.add(child); in getChildren()
79 return children; in getChildren()
/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/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java1230 ActionList children = mActions.get(mimeType); in inflateAction() local
1231 Action firstInfo = children.get(0); in inflateAction()
1232 if (children.size() == 1) { in inflateAction()
1235 for (Action action : children) { in inflateAction()
1243 view.setTag(children); in inflateAction()
1329 final ActionList children = (ActionList)tag; in onClick() local
1337 return children.size(); in onClick()
1341 return children.get(position); in onClick()
/packages/apps/Email/src/com/android/exchange/adapter/
DContactsSyncAdapter.java359 ArrayList<String> children = new ArrayList<String>(); in addData() local
483 childrenParser(children); in addData()
593 if (!children.isEmpty()) { in addData()
594 ops.addChildren(entity, children); in addData()
640 private void childrenParser(ArrayList<String> children) throws IOException { in childrenParser() argument
644 if (children.size() < EasChildren.MAX_CHILDREN) { in childrenParser()
645 children.add(getValue()); in childrenParser()
1166 public void addChildren(Entity entity, ArrayList<String> children) { in addChildren() argument
1169 for (String child: children) { in addChildren()
/packages/apps/IM/src/com/android/im/app/
DContactListTreeAdapter.java661 int children = super.getChildrenCount(groupPosition); in getChildrenCount() local
662 if (children == 0) { in getChildrenCount()
666 return children; in getChildrenCount()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarSyncAdapter.java563 List<ICalendar.Component> children = component.getComponents(); in addRecurrenceToEntry() local
564 if (children != null) { in addRecurrenceToEntry()
565 for (ICalendar.Component child : children) { in addRecurrenceToEntry()