/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
NodeListImpl.java | 37 private List<NodeImpl> children; field in class:NodeListImpl 40 children = new ArrayList<NodeImpl>(); 44 children = list; 48 children.add(node); 52 return children.size(); 56 if (index >= children.size()) { 59 return children.get(index);
|
LeafNodeImpl.java | 31 * This class represents a Node that has a parent Node, but no children. 46 if (parent == null || index + 1 >= parent.children.size()) { 50 return parent.children.get(index + 1); 62 return parent.children.get(index - 1);
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
SimpleNode.java | 7 protected Node[] children; field in class:SimpleNode 30 if (children == null) { 31 children = new Node[i + 1]; 32 } else if (i >= children.length) { 34 System.arraycopy(children, 0, c, 0, children.length); 35 children = c; 37 children[i] = n; 41 return children[i]; 45 return (children == null) ? 0 : children.length [all...] |
/external/webkit/WebCore/inspector/front-end/ |
TopDownProfileDataGridTree.js | 28 var hasChildren = (profileNode.children && profileNode.children.length); 32 this._remainingChildren = profileNode.children; 38 var children = this._remainingChildren; 39 var childrenLength = children.length; 42 this.appendChild(new WebInspector.TopDownProfileDataGridNode(this.profileView, children[i], this.tree)); 54 var children = this.children; 55 var index = this.children.length; 58 children[index]._exclude(aCallUID) [all...] |
ProfileDataGridTree.js | 141 // If the grid node is collapsed, then don't sort children (save operation for later). 144 if (gridNode.children.length) 151 var children = gridNode.children; 152 var childCount = children.length; 155 children.sort(comparator); 158 children[childIndex]._recalculateSiblings(childIndex); 160 gridNodeGroups.push(children); 245 this._savedChildren = this.children.slice(); 261 var children = this._savedChildren [all...] |
/external/webkit/WebCore/editing/ |
RemoveNodePreservingChildrenCommand.cpp | 43 Vector<RefPtr<Node> > children; local 45 children.append(child); 47 size_t size = children.size(); 49 RefPtr<Node> child = children[i].release();
|
WrapContentsInDummySpanCommand.cpp | 43 Vector<RefPtr<Node> > children; local 45 children.append(child); 49 size_t size = children.size(); 51 m_dummySpan->appendChild(children[i].release(), ec); 70 Vector<RefPtr<Node> > children; 72 children.append(child); 76 size_t size = children.size(); 78 m_element->appendChild(children[i].release(), ec);
|
MergeIdenticalElementsCommand.cpp | 52 Vector<RefPtr<Node> > children; local 54 children.append(child); 56 size_t size = children.size(); 58 m_element2->insertBefore(children[i].release(), m_atChild.get(), ec); 80 Vector<RefPtr<Node> > children; 82 children.append(child); 84 size_t size = children.size(); 86 m_element1->appendChild(children[i].release(), ec);
|
SplitElementCommand.cpp | 49 Vector<RefPtr<Node> > children; 51 children.append(node); 62 size_t size = children.size(); 64 m_element1->appendChild(children[i], ec); 79 Vector<RefPtr<Node> > children; 81 children.append(node); 87 size_t size = children.size(); 89 m_element2->insertBefore(children[i].get(), refChild.get(), ec);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 103 List<Animation> children = animationSet.getAnimations(); local 104 assertEquals(SHORT_CHILD_DURATION, children.get(0).getDuration()); 105 assertEquals(MEDIUM_CHILD_DURATION, children.get(1).getDuration()); 106 assertEquals(LONG_CHILD_DURATION, children.get(2).getDuration()); 112 children = animationSet.getAnimations(); 113 assertEquals(ANIMATIONSET_DURATION, children.get(0).getDuration()); 114 assertEquals(ANIMATIONSET_DURATION, children.get(1).getDuration()); 115 assertEquals(ANIMATIONSET_DURATION, children.get(2).getDuration()); 145 List<Animation> children = animationSet.getAnimations(); local 146 children.get(0).setFillAfter(true) 167 List<Animation> children = animationSet.getAnimations(); local 200 final List<Animation> children = animationSet.getAnimations(); local 228 final List<Animation> children = animationSet.getAnimations(); local 250 final List<Animation> children = animationSet.getAnimations(); local 265 List<Animation> children = animationSet.getAnimations(); local 296 List<Animation> children = animationSet.getAnimations(); local 330 List<Animation> children = animationSet.getAnimations(); local 369 List<Animation> children = animationSet.getAnimations(); local 415 final List<Animation> children = animationSet.getAnimations(); local 457 final List<Animation> children = animationSet.getAnimations(); local 514 final List<Animation> children = animationSet.getAnimations(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockNodeList.java | 33 * Constructs a node list from a given children list. 35 * @param children The children list. Can be null. 37 public MockNodeList(MockXmlNode[] children) { 39 if (children != null) { 40 for (MockXmlNode n : children) {
|
/build/tools/droiddoc/src/ |
NavTree.java | 24 ArrayList<Node> children = new ArrayList(); local 26 children.add(makePackageNode(pkg)); 28 Node node = new Node("Reference", dir + "packages.html", children, null); 47 ArrayList<Node> children = new ArrayList(); local 49 children.add(new Node("Description", pkg.fullDescriptionHtmlPage(), null, null)); 51 addClassNodes(children, "Interfaces", pkg.interfaces()); 52 addClassNodes(children, "Classes", pkg.ordinaryClasses()); 53 addClassNodes(children, "Enums", pkg.enums()); 54 addClassNodes(children, "Exceptions", pkg.exceptions()); 55 addClassNodes(children, "Errors", pkg.errors()) 61 ArrayList<Node> children = new ArrayList(); local [all...] |
/external/webkit/WebCore/rendering/ |
RenderTableCol.h | 39 const RenderObjectChildList* children() const { return &m_children; } function in class:WebCore::RenderTableCol 40 RenderObjectChildList* children() { return &m_children; } function in class:WebCore::RenderTableCol 48 virtual RenderObjectChildList* virtualChildren() { return children(); } 49 virtual const RenderObjectChildList* virtualChildren() const { return children(); }
|
/frameworks/base/tests/CoreTests/android/core/ |
AndroidPerformanceTests.java | 28 public static String[] children() { method in class:AndroidPerformanceTests.Suite
|
/external/webkit/WebKit/mac/WebView/ |
WebRenderNode.h | 35 NSArray *children; variable 43 - (NSArray *)children;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DocumentDescriptor.java | 28 * It has a children list which represent all the possible roots of the document. 36 * Constructs a new {@link DocumentDescriptor} based on its XML name and children list. 44 * @param children The list of allowed children. Can be null or empty. 46 public DocumentDescriptor(String xml_name, ElementDescriptor[] children) { 47 super(xml_name, children, true /* mandatory */);
|
/sdk/traceview/src/com/android/traceview/ |
ProfileNode.java | 28 ProfileData[] children, boolean isParent, boolean isRecursive) { 31 mChildren = children;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
ManifestElementDescriptor.java | 41 * @param children The list of allowed children. Can be null or empty. 46 ElementDescriptor[] children, 48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); 59 * @param children The list of allowed children. Can be null or empty. 63 ElementDescriptor[] children) { 64 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, false); 69 * ManifestElementDescriptor(xml_name, xml_name.capitalize(), null, null, null, children). 74 public ManifestElementDescriptor(String xml_name, ElementDescriptor[] children) { [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
PKIXPolicyNode.java | 13 protected List children; field in class:PKIXPolicyNode 36 children = _children; 48 children.add(_child); 54 return children.iterator(); 84 return !children.isEmpty(); 94 children.remove(_child); 119 for(int i = 0; i < children.size(); i++) 121 _buf.append(((PKIXPolicyNode)children.get(i)).toString(_indent + " ")); 158 _iter = children.iterator();
|
/external/webkit/WebCore/accessibility/ |
AccessibilityARIAGrid.cpp | 72 unsigned rowCellCount = row->children().size(); 102 // in case the render tree doesn't match the expected ARIA hierarchy, look at the children 107 AccessibilityChildrenVector children = child->children(); local 108 unsigned length = children.size(); 110 addChild(children[i].get(), appendedRows, columnCount); 144 AccessibilityChildrenVector children = tableRow->children(); 147 if (column >= children.size()) 150 tableCell = children[column].get() [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
ViewsTreeModel.java | 37 return ((ViewNode) o).children.get(i); 41 return ((ViewNode) o).children.size(); 46 return node.children == null || node.children.size() == 0; 54 return ((ViewNode) parent).children.indexOf(child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
ViewElementDescriptor.java | 30 * The base class {@link ElementDescriptor} has a notion of "children", that is an XML element 32 * XML files all possible views are children of the document and of themselves (that is any 35 * that deals with the children hierarchy must also deal with potential infinite loops since views 41 * The super class hierarchy is very different from the descriptor's children hierarchy: the 60 * its children list and its mandatory flag. 70 * @param children The list of allowed children. Can be null or empty. 80 ElementDescriptor[] children, boolean mandatory) { 81 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); 88 * name of the class it represents, and its children list [all...] |
/cts/tools/utils/ |
android_api_description_splitter.py | 104 children = []
107 children.append(child)
109 for child in children:
112 children.remove(child)
114 for child in children:
137 children = []
139 children.append(child)
141 for child in children:
|
/external/webkit/WebCore/html/ |
HTMLTableSectionElement.cpp | 82 RefPtr<HTMLCollection> children = rows(); local 83 int numRows = children ? (int)children->length() : 0; 95 n = children->item(index); 104 RefPtr<HTMLCollection> children = rows(); local 105 int numRows = children ? (int)children->length() : 0; 109 RefPtr<Node> row = children->item(index);
|
/external/elfutils/tests/ |
run-show-abbrev.sh | 25 abbrev[0]: code = 1, tag = 17, children = 1 33 abbrev[19]: code = 2, tag = 46, children = 1 44 abbrev[44]: code = 3, tag = 46, children = 1 52 abbrev[63]: code = 4, tag = 24, children = 0 53 abbrev[68]: code = 5, tag = 46, children = 1 60 abbrev[85]: code = 6, tag = 36, children = 0 64 abbrev[96]: code = 7, tag = 52, children = 0 71 abbrev[0]: code = 1, tag = 17, children = 1 79 abbrev[19]: code = 2, tag = 46, children = 0 89 abbrev[42]: code = 3, tag = 36, children = [all...] |