Searched refs:node (Results 1 - 23 of 23) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParserVisitor.java7 public Object visit(SimpleNode node, Object data); argument
8 public Object visit(ASTaddress_list node, Object data); argument
9 public Object visit(ASTaddress node, Object data); argument
10 public Object visit(ASTmailbox node, Object data); argument
11 public Object visit(ASTname_addr node, Object data); argument
12 public Object visit(ASTgroup_body node, Object data); argument
13 public Object visit(ASTangle_addr node, Object data); argument
14 public Object visit(ASTroute node, Object data); argument
15 public Object visit(ASTphrase node, Object data); argument
16 public Object visit(ASTaddr_spec node, Objec argument
17 visit(ASTlocal_part node, Object data) argument
18 visit(ASTdomain node, Object data) argument
[all...]
/packages/apps/Mms/src/com/android/mms/dom/
H A DNodeListImpl.java38 * children of a root node with a given tag name.
52 * Constructs a NodeList for a given static node list.
53 * @param nodes The static node list.
73 Node node = null;
77 node = mSearchNodes.get(index);
83 node = mStaticNodes.get(index);
88 return node;
97 * This method fills the live node list.
101 private void fillList(Node node) { argument
104 if (node
[all...]
H A DNamedNodeMapImpl.java35 Node node = null;
38 node = mNodes.elementAt(i);
42 return node;
58 Node node = getNamedItem(name);
59 if (node == null) {
62 mNodes.remove(node);
64 return node;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DLinkedNode.java28 public void insert(LinkedNode node) { argument
29 node.mNext = mNext;
30 mNext.mPrev = node;
31 node.mPrev = this;
32 mNext = node;
46 public void insertLast(T node) { argument
47 mHead.mPrev.insert(node);
58 public T nextOf(T node) { argument
59 return (T) (node.mNext == mHead ? null : node
62 previousOf(T node) argument
[all...]
H A DProfileData.java38 public int id; // this is the name of this node, mapped from mNameToId
55 mRoot = new Node(null, -1); // The id of the root node is unused.
80 Node node = mRoot;
82 if (node.children == null) {
83 node.children = new ArrayList<Node>();
87 ArrayList<Node> children = node.children;
93 children.add(new Node(node, id));
96 node = children.get(j);
99 node.sampleCount++;
131 private void writeOneStack(Node node, in argument
140 writeAllStacks(Node node, int depth) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
H A DBuilder.java57 public AddressList buildAddressList(ASTaddress_list node) { argument
59 for (int i = 0; i < node.jjtGetNumChildren(); i++) {
60 ASTaddress childNode = (ASTaddress) node.jjtGetChild(i);
67 private Address buildAddress(ASTaddress node) { argument
68 ChildNodeIterator it = new ChildNodeIterator(node);
97 private MailboxList buildGroupBody(ASTgroup_body node) { argument
99 ChildNodeIterator it = new ChildNodeIterator(node);
110 private Mailbox buildMailbox(ASTmailbox node) { argument
111 ChildNodeIterator it = new ChildNodeIterator(node);
127 private NamedMailbox buildNameAddr(ASTname_addr node) { argument
148 buildAngleAddr(ASTangle_addr node) argument
167 buildRoute(ASTroute node) argument
180 buildAddrSpec(ASTaddr_spec node) argument
183 buildAddrSpec(DomainList route, ASTaddr_spec node) argument
191 buildString(SimpleNode node, boolean stripSpaces) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
H A Dweighting.cpp30 static inline void profile(const CorrectionType correctionType, DicNode *const node) { argument
34 PROF_OMISSION(node->mProfiler);
37 PROF_ADDITIONAL_PROXIMITY(node->mProfiler);
40 PROF_SUBSTITUTION(node->mProfiler);
43 PROF_NEW_WORD(node->mProfiler);
46 PROF_MATCH(node->mProfiler);
49 PROF_COMPLETION(node->mProfiler);
52 PROF_TERMINAL(node->mProfiler);
55 PROF_TERMINAL_INSERTION(node->mProfiler);
58 PROF_SPACE_SUBSTITUTION(node
[all...]
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
H A DMockObserverNode.java73 // If this is the leaf node add the observer
86 MockObserverNode node = mChildren.get(i);
87 if (node.mName.equals(segment)) {
88 node.addObserver(uri, index + 1, observer, notifyForDescendents);
94 MockObserverNode node = new MockObserverNode(segment);
95 mChildren.add(node);
96 node.addObserver(uri, index + 1, observer, notifyForDescendents);
149 // This is the leaf node, notify all observers
159 MockObserverNode node = mChildren.get(i);
160 if (segment == null || node
[all...]
/packages/apps/UnifiedEmail/assets/
H A Dscript.js222 var node;
376 var node;
379 node = nodes[i];
380 if (!conditionFn || conditionFn(node)) {
381 if (node.classList.contains(classToAdd)) {
384 node.classList.add(classToAdd);
386 actionLog.push([node.classList.remove, node.classList, [classToAdd]]);
394 var node;
400 node
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DPathMatcher.java80 Node node = mMap.get(segment);
81 if (node != null) return node;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_node_priority_queue.h87 DicNode *node = mDicNodesQueue.top(); local
89 DicNodeUtils::initByCopy(node, dest);
91 mDicNodePool.placeBackInstance(node);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DLayout.java159 public LayoutRow(LayoutTreeNode node) { argument
160 mNode = node;
163 if (node instanceof Header) {
164 a = ((Header) node).mAppearence;
166 } else if (node instanceof Action) {
167 a = ((Action) node).mAppearence;
169 } else if (node instanceof Status) {
170 a = ((Status) node).mAppearence;
175 if (node instanceof Static) {
177 Static s = (Static) node;
415 add(LayoutTreeNode node) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndbdic.c100 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node,
552 NJ_UINT8 *root, *now, *node, *node_mid; local
580 node = NULL;
611 node = root;
757 node = now;
766 node = now;
793 now = node;
796 if ((node == NULL) || !(NODE_DATA_EXIST(node))) {
799 (node !
1541 NJ_UINT8 *root, *now, *node, *node_mid; local
1975 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node, NJ_UINT8 *now, NJ_UINT16 idx_no, NJ_CHAR *yomi, NJ_UINT16 yomilen, NJ_UINT8 * root, NJ_UINT8 * node_mid, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT8 * data_top, NJ_INT16 ytbl_cnt, NJ_UINT16 y, NJ_UINT8 * ytbl_top, NJ_CACHE_INFO * storebuf, NJ_UINT8 ** con_node, NJ_UINT32 * data_offset) argument
2255 NJ_UINT8 *node; local
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlTree.java45 * For a string node, begin_[node] = end_[node] = node
46 * For an open tag, begin_[node] = node, end_[node] = the matching end tag
47 * For a close tag, end_[node] = the matching open tag, end_[node] = node
526 getTextPosition(int node) argument
[all...]
H A DHtmlParser.java257 for (HtmlDocument.Node node : nodes) {
258 if (node instanceof HtmlDocument.Text) {
259 textNodes.add((HtmlDocument.Text) node);
262 out.add(node);
270 * Flushes any Text nodes in {@code textNodes} into a single Text node
371 // officially a '<' can be valid in a text node, but to be safe we
762 // Officially a '<' can be valid in a text node, but to be safe we
1105 // Add a CDATA node
H A DHtmlDocument.java173 * Creates a Text node.
181 * Creates a Text node where the content hasn't been unescaped yet (this will
189 * Creates an Comment node.
197 * Creates a CDATA node.
207 for (Node node : nodes) {
208 node.accept(v);
220 for (Node node : nodes) {
221 filter.filter(node, newNodes);
228 * Html node
273 * HTML comment node
1184 addNode(Node node) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderSelectorAdapter.java191 * special case the root node. If we don't find the parent node, then we pre-create one to fill
194 * Uri, so that we can find it later either to add children or to retrieve a half-created node.
195 * It should be noted that it is only valid to add a child node after the mWrappedObject
203 // Make double-sure we don't accidentally add the root node to the final list
212 TreeNode node = nodeMap.get(folder.folderUri.getComparisonUri());
213 if (node == null) {
214 node = new TreeNode(folderRow);
215 nodeMap.put(folder.folderUri.getComparisonUri(), node);
217 node
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictEncoderUtils.java82 * Compute the binary size of the PtNode count for a node array.
145 * the containing node array, and cache it it its 'mCachedSize' member.
147 * @param ptNodeArray the node array to compute the maximum size of.
151 for (PtNode node : ptNodeArray.mData) {
152 final int nodeSize = getPtNodeMaximumSize(node);
153 node.mCachedSize = nodeSize;
267 // Removing the node is necessary if the tails are merged, because we would then
268 // add the same node several times when we only want it once. A number of places in
269 // the code also depends on any node being only once in the list.
273 // to merge tails, and removing the node fro
613 makePtNodeFlags(final PtNode node, final int childrenOffset) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideshowActivity.java119 Node node = map.item(j);
120 if (node == null) {
123 String attrName = node.getNodeName();
131 if (node instanceof AttrImpl) {
132 value = ((AttrImpl)node).getValue();
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
H A Ddynamic_pt_reading_helper.h34 * dealing with additional buffer. This class counts nodes and node arrays to avoid infinite loop.
52 virtual bool onVisitingPtNode(const PtNodeParams *const node) = 0;
107 // Initialize reading state with the head position of a node.
140 // Return code point count exclude the last read node's code points.
145 // Return code point count include the last read node's code points.
164 // All nodes in the current node array have been read.
169 // Read the first child node of the current node.
178 // Read children node array.
185 // Read the parent node o
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h120 NJ_UINT8 *node; member in struct:__anon58
/packages/experimental/SELinux/CTS/src/
H A Dexample_input_policy.conf32 class node
160 sid node
425 class node
4748 # attach service. The uart dev node
4872 allow dnsmasq node:tcp_socket node_bind;
5083 # Limit device node creation and raw I/O to these whitelisted domains.
7120 type node, node_type;
7500 allow racoon node:udp_socket node_bind;
9136 allow unconfineddomain node_type:node *;
9779 sid node
[all...]
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 739 milliseconds