/packages/apps/Mms/src/com/android/mms/dom/ |
D | NodeImpl.java | 26 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 …]
|
D | NamedNodeMapImpl.java | 24 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 …]
|
D | NodeListImpl.java | 22 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()
|
D | DocumentImpl.java | 31 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()
|
D | AttrImpl.java | 23 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/Gallery2/src/com/android/gallery3d/data/ |
D | PathMatcher.java | 26 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/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | JJTAddressListParserState.java | 6 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 …]
|
D | SimpleNode.java | 5 …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()
|
D | Node.java | 9 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()
|
D | BaseNode.java | 22 import org.apache.james.mime4j.field.address.parser.Node; 25 public abstract class BaseNode implements Node {
|
D | AddressListParser.jj | 85 void jjtreeOpenNodeScope(Node n) { 89 void jjtreeCloseNodeScope(Node n) {
|
D | AddressListParser.java | 47 void jjtreeOpenNodeScope(Node n) { in jjtreeOpenNodeScope() 51 void jjtreeCloseNodeScope(Node n) { in jjtreeCloseNodeScope()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ProfileData.java | 36 private static class Node { class in ProfileData 38 public Node parent; 40 public ArrayList<Node> children; 41 public Node(Node parent, int id) { in Node() method in ProfileData.Node 47 private Node mRoot; 54 mRoot = new Node(null, -1); // The id of the root node is unused. in ProfileData() 59 mRoot = new Node(null, -1); in reset() 79 Node node = mRoot; in addSample() 82 node.children = new ArrayList<Node>(); in addSample() 86 ArrayList<Node> children = node.children; in addSample() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableDictionary.java | 51 private static class Node { class in ExpandableDictionary 52 Node() {} in Node() method in ExpandableDictionary.Node 56 Node mParent; 64 Node[] mData; 69 mData = new Node[INCREMENT]; in NodeArray() 72 void add(Node n) { in add() 74 Node[] tempData = new Node[mLength + INCREMENT]; in add() 85 public Node getWordNode(); in getWordNode() 92 public final Node mWord; 94 public NextStaticWord(Node word, int frequency) { in NextStaticWord() [all …]
|
D | ExpandableBinaryDictionary.java | 24 import com.android.inputmethod.latin.makedict.FusionDictionary.Node; 164 mFusionDictionary = new FusionDictionary(new Node(), in clearFusionDictionary()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | SmilDocumentImpl.java | 22 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()
|
D | ElementSequentialTimeContainerImpl.java | 22 import org.w3c.dom.Node; 47 ArrayList<Node> nodes = new ArrayList<Node>(); in getActiveChildrenAt()
|
D | ElementParallelTimeContainerImpl.java | 23 import org.w3c.dom.Node; 115 ArrayList<Node> activeChildren = new ArrayList<Node>(); in getActiveChildrenAt() 150 activeChildren.add((Node) child); in getActiveChildrenAt()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
D | Builder.java | 37 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictInputOutput.java | 21 import com.android.inputmethod.latin.makedict.FusionDictionary.Node; 378 private static int getGroupCountSize(final Node node) { in getGroupCountSize() 437 private static void setNodeMaximumSize(Node node) { in setNodeMaximumSize() 480 /* package for tests */ static ArrayList<Node> flattenTree(Node root) { 483 final ArrayList<Node> flatTree = new ArrayList<Node>(treeSize); 487 private static ArrayList<Node> flattenTreeInner(ArrayList<Node> list, Node node) { 539 private static boolean computeActualNodeSize(Node node, FusionDictionary dict) { 580 private static int stackNodes(ArrayList<Node> flatNodes) { 582 for (Node n : flatNodes) { 612 private static ArrayList<Node> computeAddresses(FusionDictionary dict, [all …]
|
D | FusionDictionary.java | 41 public static class Node { class in FusionDictionary 46 public Node() { in Node() method in FusionDictionary.Node 51 public Node(ArrayList<CharGroup> data) { in Node() method in FusionDictionary.Node 103 Node mChildren; 118 final ArrayList<WeightedString> bigrams, final int frequency, final Node children) { in CharGroup() 128 mChildren = new Node(); in addChild() 258 public final Node mRoot; 260 public FusionDictionary(final Node root, final DictionaryOptions options) { in FusionDictionary() 311 private void checkStack(Node node) { in checkStack() 356 Node currentNode = mRoot; in add() [all …]
|
/packages/inputmethods/LatinIME/tools/makedict/tests/com/android/inputmethod/latin/ |
D | BinaryDictInputOutputTest.java | 20 import com.android.inputmethod.latin.makedict.FusionDictionary.Node; 43 final FusionDictionary dict = new FusionDictionary(new Node(), in testFlattenNodes() 51 final ArrayList<Node> result = BinaryDictInputOutput.flattenTree(dict.mRoot); in testFlattenNodes() 54 final Node n = result.remove(0); in testFlattenNodes()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
D | SmilContentHandler.java | 26 import org.w3c.dom.Node; 36 private Node mCurrentNode;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SlideshowActivity.java | 32 import org.w3c.dom.Node; 90 Node layout = children.item(0); in isMMSConformance() 106 Node layoutChild = layoutChildren.item(i); in isMMSConformance() 117 Node node = map.item(j); in isMMSConformance()
|
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/ |
D | XmlDictInputOutput.java | 20 import com.android.inputmethod.latin.makedict.FusionDictionary.Node; 121 mDictionary = new FusionDictionary(new Node(), new DictionaryOptions(attributes, in startElement()
|