Home
last modified time | relevance | path

Searched refs:Node (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Mms/src/com/android/mms/dom/
DNodeImpl.java26 import org.w3c.dom.Node;
36 public abstract class NodeImpl implements Node, EventTarget {
37 private Node mParentNode;
38 private final Vector<Node> mChildNodes = new Vector<Node>();
54 public Node appendChild(Node newChild) throws DOMException { in appendChild()
61 public Node cloneNode(boolean deep) { in cloneNode()
75 public Node getFirstChild() { in getFirstChild()
76 Node firstChild = null; in getFirstChild()
86 public Node getLastChild() { in getLastChild()
87 Node lastChild = null; in getLastChild()
[all …]
DNamedNodeMapImpl.java24 import org.w3c.dom.Node;
28 private Vector<Node> mNodes = new Vector<Node>();
34 public Node getNamedItem(String name) { in getNamedItem()
35 Node node = null; in getNamedItem()
45 public Node getNamedItemNS(String namespaceURI, String localName) { in getNamedItemNS()
50 public Node item(int index) { in item()
57 public Node removeNamedItem(String name) throws DOMException { in removeNamedItem()
58 Node node = getNamedItem(name); in removeNamedItem()
67 public Node removeNamedItemNS(String namespaceURI, String localName) in removeNamedItemNS()
73 public Node setNamedItem(Node arg) throws DOMException { in setNamedItem()
[all …]
DNodeListImpl.java22 import org.w3c.dom.Node;
26 private ArrayList<Node> mSearchNodes;
27 private ArrayList<Node> mStaticNodes;
28 private Node mRootNode;
45 public NodeListImpl(Node rootNode, String tagName, boolean deepSearch) { in NodeListImpl()
55 public NodeListImpl(ArrayList<Node> nodes) { in NodeListImpl()
72 public Node item(int index) { in item()
73 Node node = null; in item()
101 private void fillList(Node node) { in fillList()
105 mSearchNodes = new ArrayList<Node>(); in fillList()
DDocumentImpl.java31 import org.w3c.dom.Node;
126 public Node importNode(Node importedNode, boolean deep) throws DOMException { in importNode()
137 return Node.DOCUMENT_NODE; in getNodeType()
178 public Node adoptNode(Node source) throws DOMException { in adoptNode()
190 public Node renameNode(Node n, String namespaceURI, String qualifiedName) in renameNode()
DAttrImpl.java23 import org.w3c.dom.Node;
78 return Node.ATTRIBUTE_NODE; in getNodeType()
82 public Node getParentNode() { in getParentNode()
87 public Node getPreviousSibling() { in getPreviousSibling()
92 public Node getNextSibling() { in getNextSibling()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlDocument.java42 private final List<Node> nodes;
48 public HtmlDocument(List<Node> nodes) { in HtmlDocument()
53 public List<Node> getNodes() { in getNodes()
60 for (Node n : nodes) { in toHTML()
69 for (Node n : nodes) { in toXHTML()
82 for (Node n : nodes) { in toOriginalHTML()
207 for (Node node : nodes) { in accept()
219 List<Node> newNodes = new ArrayList<Node>(); in filter()
220 for (Node node : nodes) { in filter()
230 public static abstract class Node { class in HtmlDocument
[all …]
DHtmlTree.java79 void addNode(HtmlDocument.Node n, int nodeNum, int endNum); in addNode()
102 private final List<HtmlDocument.Node> nodes = new ArrayList<HtmlDocument.Node>();
149 public List<HtmlDocument.Node> getNodesList() { in getNodesList()
223 HtmlDocument.Node node = nodes.get(n); in getHtml()
273 HtmlDocument.Node node = nodes.get(n); in getHtmlChunks()
331 HtmlDocument.Node node = nodes.get(i); in getTreeHeight()
892 public void addNode(HtmlDocument.Node n, int nodeNum, int endNum) {
1036 private void addNode(HtmlDocument.Node n, int begin, int end) { in addNode()
DHtmlParser.java61 private List<HtmlDocument.Node> nodes;
251 static List<HtmlDocument.Node> coalesceTextNodes( in coalesceTextNodes()
252 List<HtmlDocument.Node> nodes) { in coalesceTextNodes()
253 List<HtmlDocument.Node> out = in coalesceTextNodes()
254 new ArrayList<HtmlDocument.Node>(nodes.size()); in coalesceTextNodes()
257 for (HtmlDocument.Node node : nodes) { in coalesceTextNodes()
277 List<HtmlDocument.Node> output) { in mergeTextNodes()
/packages/apps/Gallery2/src/com/android/photos/data/
DSparseArrayBitmapPool.java33 private SparseArray<Node> mStore = new SparseArray<Node>();
36 private Pool<Node> mNodePool;
37 private Node mPoolNodesHead = null;
38 private Node mPoolNodesTail = null;
40 protected static class Node { class in SparseArrayBitmapPool
48 Node prevInBucket;
49 Node nextInBucket;
50 Node nextInPool;
51 Node prevInPool;
58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) { in SparseArrayBitmapPool()
[all …]
DGalleryBitmapPool.java24 import com.android.photos.data.SparseArrayBitmapPool.Node;
55 private Pool<Node> mSharedNodePool = new SynchronizedPool<Node>(128);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java37 private static class Node { class in ProfileData
39 public Node parent;
41 public ArrayList<Node> children;
42 public Node(Node parent, int id) { in Node() method in ProfileData.Node
48 private Node mRoot;
55 mRoot = new Node(null, -1); // The id of the root node is unused. in ProfileData()
60 mRoot = new Node(null, -1); in reset()
80 Node node = mRoot; in addSample()
83 node.children = new ArrayList<Node>(); in addSample()
87 ArrayList<Node> children = node.children; in addSample()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java26 private Node mRoot = new Node();
29 mRoot = new Node(); in PathMatcher()
34 Node current = mRoot; in add()
44 Node current = mRoot; in match()
46 Node next = current.getChild(segments[i]); in match()
72 private static class Node { class in PathMatcher
73 private HashMap<String, Node> mMap;
76 Node addChild(String segment) { in addChild()
78 mMap = new HashMap<String, Node>(); in addChild()
80 Node node = mMap.get(segment); in addChild()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DJJTAddressListParserState.java6 private java.util.Stack<Node> nodes;
14 nodes = new java.util.Stack<Node>(); in JJTAddressListParserState()
38 Node rootNode() { in rootNode()
43 void pushNode(Node n) { in pushNode()
50 Node popNode() { in popNode()
58 Node peekNode() { in peekNode()
69 void clearNodeScope(Node n) { in clearNodeScope()
77 void openNodeScope(Node n) { in openNodeScope()
88 void closeNodeScope(Node n, int num) { in closeNodeScope()
91 Node c = popNode(); in closeNodeScope()
[all …]
DSimpleNode.java5 …ic class SimpleNode extends org.apache.james.mime4j.field.address.parser.BaseNode implements Node {
6 protected Node parent;
7 protected Node[] children;
26 public void jjtSetParent(Node n) { parent = n; } in jjtSetParent()
27 public Node jjtGetParent() { return parent; } in jjtGetParent()
29 public void jjtAddChild(Node n, int i) { in jjtAddChild()
31 children = new Node[i + 1]; in jjtAddChild()
33 Node c[] = new Node[i + 1]; in jjtAddChild()
40 public Node jjtGetChild(int i) { in jjtGetChild()
DNode.java9 public interface Node { interface
21 public void jjtSetParent(Node n); in jjtSetParent()
22 public Node jjtGetParent(); in jjtGetParent()
26 public void jjtAddChild(Node n, int i); in jjtAddChild()
30 public Node jjtGetChild(int i); in jjtGetChild()
DBaseNode.java22 import org.apache.james.mime4j.field.address.parser.Node;
25 public abstract class BaseNode implements Node {
DAddressListParser.jj85 void jjtreeOpenNodeScope(Node n) {
89 void jjtreeCloseNodeScope(Node n) {
DAddressListParser.java47 void jjtreeOpenNodeScope(Node n) { in jjtreeOpenNodeScope()
51 void jjtreeCloseNodeScope(Node n) { in jjtreeCloseNodeScope()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java37 import org.apache.james.mime4j.field.address.parser.Node;
69 Node n = it.nextNode(); in buildAddress()
78 Node n2 = it.nextNode(); in buildAddress()
101 Node n = it.nextNode(); in buildGroupBody()
112 Node n = it.nextNode(); in buildMailbox()
129 Node n = it.nextNode(); in buildNameAddr()
151 Node n = it.nextNode(); in buildAngleAddr()
171 Node n = it.nextNode(); in buildRoute()
214 private static class ChildNodeIterator implements Iterator<Node> {
234 public Node next() { in next()
[all …]
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilDocumentImpl.java22 import org.w3c.dom.Node;
183 Node rootElement = getFirstChild(); in getDocumentElement()
198 Node rootElement = getDocumentElement(); in getHead()
199 Node headElement = rootElement.getFirstChild(); in getHead()
210 Node rootElement = getDocumentElement(); in getBody()
211 Node headElement = getHead(); in getBody()
212 Node bodyElement = headElement.getNextSibling(); in getBody()
263 Node headElement = getHead(); in getLayout()
264 Node layoutElement = null; in getLayout()
DElementParallelTimeContainerImpl.java23 import org.w3c.dom.Node;
115 ArrayList<Node> activeChildren = new ArrayList<Node>(); in getActiveChildrenAt()
150 activeChildren.add((Node) child); in getActiveChildrenAt()
DElementSequentialTimeContainerImpl.java22 import org.w3c.dom.Node;
47 ArrayList<Node> nodes = new ArrayList<Node>(); in getActiveChildrenAt()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java42 Node getSelectedNode(); in getSelectedNode()
49 public interface Node { interface in Layout
53 private abstract static class LayoutTreeNode implements Node {
80 public Node getNode() { in getNode()
266 public Node getSelectedNode() { in getSelectedNode()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java23 import org.w3c.dom.Node;
92 Node layout = children.item(0); in isMMSConformance()
108 Node layoutChild = layoutChildren.item(i); in isMMSConformance()
119 Node node = map.item(j); in isMMSConformance()
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/
DSmilContentHandler.java21 import org.w3c.dom.Node;
37 private Node mCurrentNode;

12