/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
ALoopToCommand.java | 163 void removeChild(@SuppressWarnings("unused") Node child) 165 // Remove child 166 if(this._position_ == child) 172 if(this._variable_ == child) 178 if(this._expression_ == child) 184 if(this._command_ == child) 190 throw new RuntimeException("Not a child."); 196 // Replace child 221 throw new RuntimeException("Not a child.");
|
AWithCommand.java | 163 void removeChild(@SuppressWarnings("unused") Node child) 165 // Remove child 166 if(this._position_ == child) 172 if(this._variable_ == child) 178 if(this._expression_ == child) 184 if(this._command_ == child) 190 throw new RuntimeException("Not a child."); 196 // Replace child 221 throw new RuntimeException("Not a child.");
|
ALoopIncCommand.java | 225 void removeChild(@SuppressWarnings("unused") Node child) 227 // Remove child 228 if(this._position_ == child) 234 if(this._variable_ == child) 240 if(this._start_ == child) 246 if(this._end_ == child) 252 if(this._increment_ == child) 258 if(this._command_ == child) 264 throw new RuntimeException("Not a child."); 270 // Replace child [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DisplayListLayersActivity.java | 60 View child = root.getChildAt(i); 61 if (child != v) { 62 child.invalidate(); 71 private void addChild(LinearLayout root, View child, int width, int height) { 75 root.addView(child, params);
|
/frameworks/support/v4/ics/android/support/v4/view/ |
AccessibilityDelegateCompatIcs.java | 35 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 68 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 70 return bridge.onRequestSendAccessibilityEvent(host, child, event); 106 View child, AccessibilityEvent event) { 107 return ((AccessibilityDelegate) delegate).onRequestSendAccessibilityEvent(host, child,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
XMLFilterImplTest.java | 55 private XMLFilterImpl child = new XMLFilterImpl(parent); field in class:XMLFilterImplTest 72 child.setContentHandler(handler); 73 child.setDTDHandler(handler); 74 child.setErrorHandler(handler); 91 child.setParent(null); 92 assertEquals(null, child.getParent()); 94 child.setParent(parent); 95 assertEquals(parent, child.getParent()); 101 child.setFeature("foo", true); 102 assertEquals(true, child.getFeature("foo")) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
SimpleBuilderTest.java | 49 Node child = node.getFirstChild(); local 50 while (child != null) { 51 result = result + getTextContent(child); 52 child = child.getNextSibling();
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugTreeAdaptor.cs | 82 // walk the tree and emit create and add child events 89 /** <summary>^(A B C): emit create A, create B, add child, ...</summary> */ 94 object child = adaptor.GetChild(t, i); 95 SimulateTreeConstruction(child); 96 dbg.AddChild(t, child); 116 public virtual void AddChild(object t, object child) { 117 if (t == null || child == null) { 120 adaptor.AddChild(t, child); 121 dbg.AddChild(t, child); 134 public virtual void AddChild(object t, IToken child) { [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugTreeAdaptor.java | 78 // walk the tree and emit create and add child events 85 /** ^(A B C): emit create A, create B, add child, ...*/ 90 Object child = adaptor.getChild(t, i); local 91 simulateTreeConstruction(child); 92 dbg.addChild(t, child); 112 public void addChild(Object t, Object child) { 113 if ( t==null || child==null ) { 116 adaptor.addChild(t,child); 117 dbg.addChild(t, child); 130 public void addChild(Object t, Token child) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/ |
ShadowRoot.cpp | 84 // runs so we don't go through TreeScopeAdopter for each child with a 151 for (Node* child = lastChild(); child; child = child->previousSibling()) { 152 if (child->isTextNode()) { 153 toText(child)->recalcTextStyle(change, lastTextNode); 154 lastTextNode = toText(child); 155 } else if (child->isElementNode()) { 156 if (child->shouldCallRecalcStyle(change) [all...] |
/external/chromium_org/ui/accessibility/ |
ax_tree.cc | 212 // Create a set of child ids in |src| for fast lookup, and return false 217 error_ = base::StringPrintf("Node %d has duplicate child id %d", 243 AXNode* child = GetFromId(child_id); local 244 if (child) { 245 if (child->parent() != node) { 251 child->id(), 252 child->parent() ? child->parent()->id() : 0, 257 child->SetIndexInParent(index_in_parent); 259 child = CreateNode(node, child_id, index_in_parent) [all...] |
/external/deqp/android/scripts/ |
GenAndroidCTSXML.py | 116 for child in group.getTestCases(): 117 if child.getPath() in includeTests: 120 for child in group.getTestGroups(): 121 if hasFilteredCases(child, includeTests): 127 for child in group.getTestGroups(): 128 if hasFilteredCases(child, includeTests): 129 newChild = TestGroup(child.getName(), parent) 130 addFilteredTest(newChild, child, includeTests) 132 for child in group.getTestCases(): 133 if child.getPath() in includeTests [all...] |
/external/lldb/test/pexpect-2.4/examples/ |
bd_serv.py | 53 def endless_poll (child, prompt, screen, refresh_timeout=0.1): 55 """This keeps the screen updated with the output of the child. This runs in 58 #child.logfile_read = screen 60 s = child.read_nonblocking(4000, 0.1) 65 # #child.prompt (timeout=refresh_timeout) 67 # #child.read_nonblocking(1,timeout=refresh_timeout) 68 # child.read_nonblocking(4000, 0.1) 182 child = pxssh.pxssh() 183 child.login (hostname, username, password) 184 print 'created shell. command line prompt is', child.PROMP [all...] |
/external/markdown/markdown/extensions/ |
footnotes.py | 83 for child in element: 84 if child.text: 85 if child.text.find(self.getConfig("PLACE_MARKER")) > -1: 86 return child, True 87 if child.tail: 88 if child.tail.find(self.getConfig("PLACE_MARKER")) > -1: 89 return (child, element), False 90 finder(child) 289 child, element = node 290 ind = element.getchildren().find(child) [all...] |
/libcore/luni/src/main/java/java/util/ |
Timer.java | 110 int child = 2 * current + 1; local 112 while (child < size && size > 0) { 114 if (child + 1 < size 115 && timers[child + 1].when < timers[child].when) { 116 child++; 119 // compare selected child with parent 120 if (timers[current].when < timers[child].when) { 126 timers[current] = timers[child]; 127 timers[child] = tmp [all...] |
/system/core/include/utils/ |
LruCache.h | 86 Entry* child; member in struct:android::LruCache::Entry 88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { 198 for (Entry* p = mOldest; p != NULL; p = p->child) { 213 mYoungest->child = &entry; 221 entry.parent->child = entry.child; 223 mOldest = entry.child; 225 if (entry.child != NULL) { 226 entry.child->parent = entry.parent; 232 entry.child = NULL [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
DotTreeGenerator.cs | 132 // must have already dumped as child from previous 140 // for each child, do a "<unique-name> [label=text]" node def 143 object child = adaptor.GetChild( tree, i ); 144 yield return GetNodeText( adaptor, child ); 145 foreach ( var t in DefineNodes( child, adaptor ) ) 158 // must have already dumped as child from previous 165 // for each child, do a parent -> child edge using unique node names 169 object child = adaptor.GetChild( tree, i ); 170 string childText = adaptor.GetNodeText(child); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/ |
DOTTreeGenerator.cs | 126 // must have already dumped as child from previous 134 // for each child, do a "<unique-name> [label=text]" node def 136 object child = adaptor.GetChild(tree, i); 137 yield return GetNodeText(adaptor, child); 138 foreach (var t in DefineNodes(child, adaptor)) 149 // must have already dumped as child from previous 156 // for each child, do a parent -> child edge using unique node names 159 object child = adaptor.GetChild(tree, i); 160 string childText = adaptor.GetText(child); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
DotTreeGenerator.cs | 132 // must have already dumped as child from previous 140 // for each child, do a "<unique-name> [label=text]" node def 143 object child = adaptor.GetChild( tree, i ); 144 yield return GetNodeText( adaptor, child ); 145 foreach ( var t in DefineNodes( child, adaptor ) ) 158 // must have already dumped as child from previous 165 // for each child, do a parent -> child edge using unique node names 169 object child = adaptor.GetChild( tree, i ); 170 string childText = adaptor.GetText( child ); [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
DOTTreeGenerator.java | 71 new StringTemplate("$parent$ -> $child$ // \"$parentText$\" -> \"$childText$\"\n"); 134 // must have already dumped as child from previous 143 // for each child, do a "<unique-name> [label=text]" node def 145 Object child = adaptor.getChild(tree, i); local 146 StringTemplate nodeST = getNodeST(adaptor, child); 148 toDOTDefineNodes(child, adaptor, treeST); 161 // must have already dumped as child from previous 168 // for each child, do a parent -> child edge using unique node names 171 Object child = adaptor.getChild(tree, i) local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
patched_file_system.py | 97 deleted_files = [child for child in deleted if not child.endswith('/')] 100 modified += [child for child in deleted if child.endswith('/')] 113 for child in added + modified: 114 stat_info.child_versions[child] = version 115 for child in deleted: 116 if stat_info.child_versions.get(child) [all...] |
/external/chromium_org/tools/metrics/histograms/ |
update_histogram_enum.py | 116 for child in enum_node.childNodes: 117 if child.nodeName == 'int': 118 value = int(child.attributes['value'].value) 120 new_item_nodes[value] = child 122 elif (child.nodeType == minidom.Node.COMMENT_NODE and 123 SOURCE_COMMENT_REGEX.match(child.data) is None): 124 new_comments.append(child)
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 82 public void addView(View child, int index, ViewGroup.LayoutParams params) { 83 super.addView(child, index, params); 85 int childId = child.getId(); 86 if (childId == CHRONOMETER_ID && child instanceof Chronometer) { 87 mChronometer = (Chronometer) child; 95 } else if (childId == PROGRESSBAR_ID && child instanceof ProgressBar) { 96 mProgressBar = (ProgressBar) child; 116 throw new RuntimeException("Expecting child ProgressBar with id " + 135 "Expecting child ProgressBar with id 'android.R.id.progress'");
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 64 // Measure the child 97 final DashboardTileView child = (DashboardTileView) getChildAt(i); local 98 final ViewGroup.LayoutParams lp = child.getLayoutParams(); 99 if (child.getVisibility() == GONE) { 104 final int colSpan = child.getColumnSpan(); 112 child.setDividerVisibility(false); 129 child.layout(childLeft, childTop, childRight, childBottom); 133 cursor += child.getColumnSpan();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfo.java | 218 * Returns all the children of the canvas view info where each child corresponds to a 432 // and purposes it is its layout child that is the real root so treat that one as the 590 /** Adds the given {@link CanvasViewInfo} as a new last child of this view */ 591 private void addChild(@NonNull CanvasViewInfo child) { 592 mChildren.add(child); 595 /** Adds the given {@link CanvasViewInfo} as a child at the given index */ 596 private void addChildAt(int index, @NonNull CanvasViewInfo child) { 597 mChildren.add(index, child); 601 * Removes the given {@link CanvasViewInfo} from the child list of this view, and 604 * @param child the child to be remove 1005 ViewInfo child = children.get(index); local 1060 infoMap.put(child.getUiViewNode(), child); local 1145 ViewInfo child = children.get(index); local [all...] |