Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 47) sorted by relevance

12

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c100 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node,
552 NJ_UINT8 *root, *now, *node, *node_mid; in search_node() local
580 node = NULL; in search_node()
611 node = root; in search_node()
757 node = now; in search_node()
766 node = now; in search_node()
793 now = node; in search_node()
796 if ((node == NULL) || !(NODE_DATA_EXIST(node))) { in search_node()
799 (node != NULL)) { in search_node()
800 while (!NODE_DATA_EXIST(node)) { in search_node()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DExploreByTouchHelper.java332 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() local
333 mView.onInitializeAccessibilityNodeInfo(node); in createNodeForHost()
340 node.addChild(mView, childVirtualViewId); in createNodeForHost()
343 return node; in createNodeForHost()
375 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild() local
378 node.setEnabled(true); in createNodeForChild()
379 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild()
382 onPopulateNodeForVirtualView(virtualViewId, node); in createNodeForChild()
385 if ((node.getText() == null) && (node.getContentDescription() == null)) { in createNodeForChild()
390 node.getBoundsInParent(mTempParentRect); in createNodeForChild()
[all …]
DLabeledSeekBar.java166 int virtualViewId, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument
167 node.setClassName(RadioButton.class.getName()); in onPopulateNodeForVirtualView()
168 node.setBoundsInParent(getBoundsInParentFromVirtualViewId(virtualViewId)); in onPopulateNodeForVirtualView()
169 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); in onPopulateNodeForVirtualView()
170 node.setContentDescription(mLabels[virtualViewId]); in onPopulateNodeForVirtualView()
171 node.setClickable(true); in onPopulateNodeForVirtualView()
172 node.setCheckable(true); in onPopulateNodeForVirtualView()
173 node.setChecked(virtualViewId == LabeledSeekBar.this.getProgress()); in onPopulateNodeForVirtualView()
184 protected void onPopulateNodeForHost(AccessibilityNodeInfoCompat node) { in onPopulateNodeForHost() argument
185 node.setClassName(RadioGroup.class.getName()); in onPopulateNodeForHost()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java57 public AddressList buildAddressList(ASTaddress_list node) { in buildAddressList() argument
59 for (int i = 0; i < node.jjtGetNumChildren(); i++) { in buildAddressList()
60 ASTaddress childNode = (ASTaddress) node.jjtGetChild(i); in buildAddressList()
67 private Address buildAddress(ASTaddress node) { in buildAddress() argument
68 ChildNodeIterator it = new ChildNodeIterator(node); in buildAddress()
97 private MailboxList buildGroupBody(ASTgroup_body node) { in buildGroupBody() argument
99 ChildNodeIterator it = new ChildNodeIterator(node); in buildGroupBody()
110 private Mailbox buildMailbox(ASTmailbox node) { in buildMailbox() argument
111 ChildNodeIterator it = new ChildNodeIterator(node); in buildMailbox()
127 private NamedMailbox buildNameAddr(ASTname_addr node) { in buildNameAddr() argument
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
DBuilder.java57 public AddressList buildAddressList(ASTaddress_list node) { in buildAddressList() argument
59 for (int i = 0; i < node.jjtGetNumChildren(); i++) { in buildAddressList()
60 ASTaddress childNode = (ASTaddress) node.jjtGetChild(i); in buildAddressList()
67 private Address buildAddress(ASTaddress node) { in buildAddress() argument
68 ChildNodeIterator it = new ChildNodeIterator(node); in buildAddress()
97 private MailboxList buildGroupBody(ASTgroup_body node) { in buildGroupBody() argument
99 ChildNodeIterator it = new ChildNodeIterator(node); in buildGroupBody()
110 private Mailbox buildMailbox(ASTmailbox node) { in buildMailbox() argument
111 ChildNodeIterator it = new ChildNodeIterator(node); in buildMailbox()
127 private NamedMailbox buildNameAddr(ASTname_addr node) { in buildNameAddr() argument
[all …]
/packages/apps/UnifiedEmail/assets/
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 = nodes[i];
401 wStr = node.style.width || node.style.minWidth;
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java80 Node node = mRoot; in addSample() local
82 if (node.children == null) { in addSample()
83 node.children = new ArrayList<Node>(); in addSample()
87 ArrayList<Node> children = node.children; in addSample()
93 children.add(new Node(node, id)); in addSample()
96 node = children.get(j); in addSample()
99 node.sampleCount++; in addSample()
131 private void writeOneStack(Node node, int depth) throws IOException { in writeOneStack() argument
132 writeInt(node.sampleCount); in writeOneStack()
135 writeInt(node.id); in writeOneStack()
[all …]
DLinkedNode.java28 public void insert(LinkedNode node) { in insert() argument
29 node.mNext = mNext; in insert()
30 mNext.mPrev = node; in insert()
31 node.mPrev = this; in insert()
32 mNext = node; in insert()
46 public void insertLast(T node) { in insertLast() argument
47 mHead.mPrev.insert(node); in insertLast()
58 public T nextOf(T node) { in nextOf() argument
59 return (T) (node.mNext == mHead ? null : node.mNext); in nextOf()
62 public T previousOf(T node) { in previousOf() argument
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParserVisitor.java7 public Object visit(SimpleNode node, Object data); in visit() argument
8 public Object visit(ASTaddress_list node, Object data); in visit() argument
9 public Object visit(ASTaddress node, Object data); in visit() argument
10 public Object visit(ASTmailbox node, Object data); in visit() argument
11 public Object visit(ASTname_addr node, Object data); in visit() argument
12 public Object visit(ASTgroup_body node, Object data); in visit() argument
13 public Object visit(ASTangle_addr node, Object data); in visit() argument
14 public Object visit(ASTroute node, Object data); in visit() argument
15 public Object visit(ASTphrase node, Object data); in visit() argument
16 public Object visit(ASTaddr_spec node, Object data); in visit() argument
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
DAddressListParserVisitor.java7 public Object visit(SimpleNode node, Object data); in visit() argument
8 public Object visit(ASTaddress_list node, Object data); in visit() argument
9 public Object visit(ASTaddress node, Object data); in visit() argument
10 public Object visit(ASTmailbox node, Object data); in visit() argument
11 public Object visit(ASTname_addr node, Object data); in visit() argument
12 public Object visit(ASTgroup_body node, Object data); in visit() argument
13 public Object visit(ASTangle_addr node, Object data); in visit() argument
14 public Object visit(ASTroute node, Object data); in visit() argument
15 public Object visit(ASTphrase node, Object data); in visit() argument
16 public Object visit(ASTaddr_spec node, Object data); in visit() argument
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp30 static inline void profile(const CorrectionType correctionType, DicNode *const node) { in profile() argument
34 PROF_OMISSION(node->mProfiler); in profile()
37 PROF_ADDITIONAL_PROXIMITY(node->mProfiler); in profile()
40 PROF_SUBSTITUTION(node->mProfiler); in profile()
43 PROF_NEW_WORD(node->mProfiler); in profile()
46 PROF_MATCH(node->mProfiler); in profile()
49 PROF_COMPLETION(node->mProfiler); in profile()
52 PROF_TERMINAL(node->mProfiler); in profile()
55 PROF_TERMINAL_INSERTION(node->mProfiler); in profile()
58 PROF_SPACE_SUBSTITUTION(node->mProfiler); in profile()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java223 HtmlDocument.Node node = nodes.get(n); in getHtml() local
224 node.toHTML(sb); in getHtml()
232 if ((node instanceof HtmlDocument.Tag && in getHtml()
233 ((HtmlDocument.Tag) node).getElement().breaksFlow()) || in getHtml()
234 (node instanceof HtmlDocument.EndTag && in getHtml()
235 ((HtmlDocument.EndTag) node).getElement().breaksFlow())) { in getHtml()
273 HtmlDocument.Node node = nodes.get(n); in getHtmlChunks() local
274 node.toHTML(sb); in getHtmlChunks()
276 if (node instanceof HtmlDocument.Tag) { in getHtmlChunks()
278 ((HtmlDocument.Tag) node).getElement())) { in getHtmlChunks()
[all …]
DHtmlDocument.java207 for (Node node : nodes) { in accept()
208 node.accept(v); in accept()
220 for (Node node : nodes) { in filter()
221 filter.filter(node, newNodes); in filter()
1069 for (Node node : result) { in filter()
1070 filter.filter(node, newResult); in filter()
1089 for (Node node : result) { in finish()
1090 filter.filter(node, newResult); in finish()
1184 public void addNode(Node node) { in addNode() argument
1185 nodes.add(node); in addNode()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java124 for (PtNode node : ptNodeArray.mData) { in calculatePtNodeArrayMaximumSize()
125 final int nodeSize = getPtNodeMaximumSize(node, codePointToOneByteCodeMap); in calculatePtNodeArrayMaximumSize()
126 node.mCachedSize = nodeSize; in calculatePtNodeArrayMaximumSize()
544 /* package */ static byte makePtNodeFlags(final PtNode node, final int childrenOffset) { in makePtNodeFlags() argument
545 return (byte) makePtNodeFlags(node.mChars.length > 1, node.isTerminal(), in makePtNodeFlags()
547 node.mBigrams != null && !node.mBigrams.isEmpty(), in makePtNodeFlags()
548 node.mIsNotAWord, node.mIsPossiblyOffensive); in makePtNodeFlags()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java112 protected void onPopulateNodeForVirtualView(int id, AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument
117 node.setContentDescription(getLocationDescriptionForIconDrop(id)); in onPopulateNodeForVirtualView()
118 node.setBoundsInParent(getItemBounds(id)); in onPopulateNodeForVirtualView()
120 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); in onPopulateNodeForVirtualView()
121 node.setClickable(true); in onPopulateNodeForVirtualView()
122 node.setFocusable(true); in onPopulateNodeForVirtualView()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderSelectorAdapter.java212 TreeNode node = nodeMap.get(folder.folderUri.getComparisonUri()); in folderSort() local
213 if (node == null) { in folderSort()
214 node = new TreeNode(folderRow); in folderSort()
215 nodeMap.put(folder.folderUri.getComparisonUri(), node); in folderSort() local
217 node.mWrappedObject = folderRow; in folderSort()
221 root.addChild(node); in folderSort()
229 parentNode.addChild(node); in folderSort()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt12885 <7>[ 0.000000] On node 0 totalpages: 768511
69830 0: call from 176:176 to 0:0 node 0 handle 0 size 0:0
69834 39228: call from 2088:2088 to 1265:0 node 207 handle 1 size 200:0
69835 39229: reply from 1265:1987 to 2088:2088 node 0 handle -1 size 8:0
69836 39230: async from 1265:1933 to 2267:0 node 9679 handle 310 size 76:0
69837 39231: call from 2088:2088 to 1265:0 node 207 handle 1 size 200:0
69838 39232: reply from 1265:1930 to 2088:2088 node 0 handle -1 size 8:0
69839 39233: reply from 1265:1329 to 2088:4170 node 0 handle -1 size 8:0
69840 39234: async from 1265:1933 to 2267:0 node 9679 handle 310 size 1672:4
69841 39237: async from 1265:1933 to 2267:0 node 9679 handle 310 size 408:4
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dsimpledom.dot9 node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
13 node [shape=record, fontsize="8", margin="0.04", height=0.2, color=gray]
19 node [shape="box", style="filled", fillcolor="gray95"]
30 node [shape=Mrecord, style=filled, colorscheme=spectral7]
Dmove1.dot9 node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
19 node [shape=Mrecord, style=filled, colorscheme=spectral7]
37 node [shape=Mrecord, style=filled, colorscheme=spectral7]
Diterative-parser-states-diagram.dot7 node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
10 node [shape = doublecircle]; Start; Finish;
11 node [shape = box; style = "rounded, filled"; fillcolor=white ];
Dmove3.dot10 node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
20 node [shape=Mrecord, style=filled, colorscheme=spectral7]
43 node [shape=Mrecord, style=filled, colorscheme=spectral7]
Dmove2.dot9 node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5]
19 node [shape=Mrecord, style=filled, colorscheme=spectral7]
42 node [shape=Mrecord, style=filled, colorscheme=spectral7]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
DGlowPadView.java1428 public void onPopulateNodeForHost(AccessibilityNodeInfoCompat node) { in onPopulateNodeForHost() argument
1430 node.setClickable(true); in onPopulateNodeForHost()
1431 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); in onPopulateNodeForHost()
1434 node.setBoundsInParent(mBounds); in onPopulateNodeForHost()
1450 AccessibilityNodeInfoCompat node) { in onPopulateNodeForVirtualView() argument
1453 node.setBoundsInParent(target.getBounds()); in onPopulateNodeForVirtualView()
1454 node.setClickable(true); in onPopulateNodeForVirtualView()
1455 node.addAction(AccessibilityNodeInfoCompat.ACTION_CLICK); in onPopulateNodeForVirtualView()
1456 node.setContentDescription(getTargetDescription(virtualViewId)); in onPopulateNodeForVirtualView()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_priority_queue.h87 DicNode *node = mDicNodesQueue.top(); in copyPop() local
89 DicNodeUtils::initByCopy(node, dest); in copyPop()
91 mDicNodePool.placeBackInstance(node); in copyPop()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java80 Node node = mMap.get(segment); in addChild() local
81 if (node != null) return node; in addChild()

12