/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TableLayoutRule.java | 63 public void onChildInserted(INode child, INode parent, InsertType insertType) { 112 for (INode child : children) { 113 // Find direct child of table layout 114 while (child != null && child.getParent() != parentNode) { 115 child = child.getParent(); 117 if (child != null) { 118 // Compute index of direct child of table layout 120 if (rows[i] == child) { [all...] |
/system/extras/ext4_utils/ |
setup_fs.c | 15 pid_t child; local 46 child = fork(); 47 if (child < 0) { 51 if (child == 0) { 56 while ((pid=waitpid(-1, &status, 0)) != child) {
|
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimeglob.c | 58 XdgGlobHashNode *child; member in struct:XdgGlobHashNode 161 if (glob_hash_node->child) 162 _xdg_glob_hash_node_dump (glob_hash_node->child, depth + 1); 237 XdgGlobHashNode *child; local 240 child = node->child; 241 while (child && child->character == 0) 243 if (strcmp (child->mime_type, mime_type) == 0) 248 child = child->next [all...] |
/frameworks/base/core/java/android/widget/ |
RelativeLayout.java | 54 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT WRAP_CONTENT} and a child set to 78 * Rule that aligns a child's right edge with another child's left edge. 82 * Rule that aligns a child's left edge with another child's right edge. 86 * Rule that aligns a child's bottom edge with another child's top edge. 90 * Rule that aligns a child's top edge with another child's bottom edge. 95 * Rule that aligns a child's baseline with another child's baseline 281 final View child = getChildAt(i); local 371 View child = views[i]; local 387 View child = views[i]; local 419 View child = getChildAt(i); local 451 View child = getChildAt(i); local 481 View child = getChildAt(i); local 511 View child = getChildAt(i); local 921 View child = getChildAt(i); local [all...] |
ViewAnimator.java | 95 * Sets which child view will be displayed. 97 * @param whichChild the index of the child view to display 117 * Returns the index of the currently displayed child view. 124 * Manually shows the next child. 132 * Manually shows the previous child. 140 * Shows only the specified child. The other displays Views exit the screen, 142 * the specified child enters the screen, optionally with the 145 * @param childIndex The index of the child to be shown. 152 final View child = getChildAt(i); local 155 child.startAnimation(mInAnimation) [all...] |
TableRow.java | 31 * always be used as a child of a {@link android.widget.TableLayout}. If a 100 View child = getVirtualChildAt(columnIndex); local 101 if (child != null) { 102 child.setVisibility(collapsed ? GONE : VISIBLE); 161 final View child = getChildAt(i); local 162 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 189 void measureChildBeforeLayout(View child, int childIndex, 193 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 221 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 224 final int childWidth = child.getMeasuredWidth() 295 final View child = getVirtualChildAt(i); local [all...] |
Gallery.java | 76 * How long the transition animation should run when a child view changes 87 * Left most edge of a child seen so far during layout. 92 * Right most edge of a child seen so far during layout. 139 * The currently selected item's child. 175 * If true, mFirstPosition is the position of the rightmost child, and 252 * Sets how long the transition animation should run when a child view 287 protected boolean getChildStaticTransformation(View child, Transformation t) { 290 t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha); 351 int getChildHeight(View child) { 352 return child.getMeasuredHeight() 472 final View child = getChildAt(n); local 488 final View child = getChildAt(n); local 566 View child = getChildAt(i); local 824 View child; local 1260 View child = getChildAt(childPosition); local 1283 View child = mSelectedChild = getChildAt(mSelectedPosition - mFirstPosition); local [all...] |
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
AbstractPreferencesTest.java | 172 p = (MockAbstractPreferences) pref.node("child"); 446 assertNotSame(pref.node("child"), pref.node("Child")); 447 assertNotSame(pref.node("child"), pref.node("Child")); 448 assertNotSame(pref.node("child"), pref.node(" child")); 454 || "child".equals(name) || "Child".equals(name) 455 || " child".equals(name)) 516 MockAbstractPreferences child = (MockAbstractPreferences) ((MockAbstractPreferences) pref) local 784 Preferences child = pref.node("child"); local 961 MockAbstractPreferences child = (MockAbstractPreferences) p local 1000 MockAbstractPreferences child = (MockAbstractPreferences) p local 1043 MockAbstractPreferences child = new MockAbstractPreferences(p, "child"); local 1083 Preferences child = pref.node("child<"); local 1138 Preferences child = pref.node("child"); local 1195 MockAbstractPreferences child = (MockAbstractPreferences) p local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
InnerNodeImpl.java | 100 * Inserts {@code newChild} at {@code index}. If it is already child of 200 Node child = getFirstChild(); local 201 if (child == null) { 205 Node next = child.getNextSibling(); 207 return hasTextContent(child) ? child.getTextContent() : ""; 216 Node child = getFirstChild(); local 217 while (child != null) { 218 if (hasTextContent(child)) { 219 ((NodeImpl) child).getTextContent(buf) [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
FloatingChildLayout.java | 36 * Layout containing single child {@link View} which it attempts to center 39 * Updates drawable state to be {@link android.R.attr#state_first} when child is 40 * above target, and {@link android.R.attr#state_last} when child is below 41 * target. Also updates {@link Drawable#setLevel(int)} on child 103 final View child = mChild; local 106 final int childWidth = child.getMeasuredWidth(); 107 final int childHeight = child.getMeasuredHeight(); 113 layoutChild(child, childLeft, childTop); 120 // when child is outside bounds, nudge back inside 124 layoutChild(child, clampedChildLeft, clampedChildTop) [all...] |
/external/collada/src/dae/ |
daeMetaElement.cpp | 235 daeBool daeMetaElement::place(daeElement *parent, daeElement *child, daeUInt *ordinal ) 237 if (child->getMeta()->getIsAbstract() || parent->getMeta() != this ) { 241 daeElement *retVal = _contentModel->placeElement( parent, child, ord ); 244 child->setDocument( parent->getDocument() ); 274 daeBool daeMetaElement::placeAt( daeInt index, daeElement *parent, daeElement *child ) 276 if (child->getMeta()->getIsAbstract() || parent->getMeta() != this || index < 0 ) { 280 daeElement *retVal = _contentModel->placeElement( parent, child, ord ); 312 child->setDocument( parent->getDocument() ); 318 daeBool daeMetaElement::placeBefore( daeElement *marker, daeElement *parent, daeElement *child, daeUInt *ordinal ) 320 if (child->getMeta()->getIsAbstract() || parent->getMeta() != this ) [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderRubyRun.cpp | 75 RenderObject* child = firstChild(); local 76 return child && child->isRubyText() ? static_cast<RenderRubyText*>(child) : 0; 81 RenderObject* child = lastChild(); local 82 return child && child->isRubyBase() ? static_cast<RenderRubyBase*>(child) : 0; 104 bool RenderRubyRun::isChildAllowed(RenderObject* child, RenderStyle*) const 106 return child->isRubyText() || child->isInline() [all...] |
/external/blktrace/ |
rbtree.c | 224 struct rb_node *child, *parent; local 228 child = node->rb_right; 230 child = node->rb_left; 238 child = node->rb_right; 242 if (child) 243 rb_set_parent(child, parent); 245 parent->rb_right = child; 248 parent->rb_left = child; 272 if (child) 273 rb_set_parent(child, parent) [all...] |
/external/antlr/src/org/antlr/runtime/tree/ |
BaseTree.java | 35 * instead of the child-sibling approach in v2. A flat tree (a list) is 83 /** Add t as child of this node. 85 * Warning: if t has no children, but child does 86 * and child isNil then this routine moves children to t via 87 * t.children = child.children; i.e., without copying the array. 90 //System.out.println("add child "+t.toStringTree()+" "+this.toStringTree()); 98 throw new RuntimeException("attempt to add child list to itself"); 107 // handle double-link stuff for each child of nil root 120 else { // child is not nil (don't care about children) 144 throw new IllegalArgumentException("Can't set single child to a list") 197 BaseTree child = (BaseTree)newChildren.get(j); local 247 Tree child = (Tree)getChild(c); local 266 CommonTree child = (CommonTree)this.getChild(c); local [all...] |
TreeVisitor.java | 45 * If a child visit yields a new child, it can update its 46 * parent's child list or just return the new child. The 47 * child update code works even if the child visit alters its parent 59 Object child = adaptor.getChild(t, i); local 60 Object visitResult = visit(child, action); 62 if ( visitResult != childAfterVisit ) { // result & child differ?
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
ADefCommand.java | 154 void removeChild(@SuppressWarnings("unused") Node child) 156 // Remove child 157 if(this._position_ == child) 163 if(this._macro_.remove(child)) 168 if(this._arguments_.remove(child)) 173 if(this._command_ == child) 179 throw new RuntimeException("Not a child."); 185 // Replace child 234 throw new RuntimeException("Not a child.");
|
AEachCommand.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.");
|
AIfCommand.java | 163 void removeChild(@SuppressWarnings("unused") Node child) 165 // Remove child 166 if(this._position_ == child) 172 if(this._expression_ == child) 178 if(this._block_ == child) 184 if(this._otherwise_ == child) 190 throw new RuntimeException("Not a child."); 196 // Replace child 221 throw new RuntimeException("Not a child.");
|
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.");
|
/external/skia/src/views/ |
SkViewInflate.cpp | 19 const SkDOM::Node* child = dom.getFirstChild(node); local 20 while (child) 22 SkView* view = this->createView(dom, child); 25 this->rInflate(dom, child, view); 30 const char* name = dom.getName(child); 33 if (!strcmp(name, "listenTo") && (target = dom.findAttr(child, "target")) != NULL) 36 if (!strcmp(name, "broadcastTo") && (target = dom.findAttr(child, "target")) != NULL) 39 child = dom.getNextSibling(child);
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
noderemovechild19.js | 80 node child and verify the nodeName of the returned node that was removed. Attempt 81 to remove a non-child from an entity reference and expect either a NOT_FOUND_ERR or 82 a NO_MODIFICATION_ALLOWED_ERR. Renove a child from an entity reference and expect 95 var child; 108 child = parent.firstChild; 110 removed = parent.removeChild(child); 116 removedNode = child.removeChild(parent); 133 entRefChild = child.firstChild; 145 removedNode = child.removeChild(entRefChild);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 138 final View child = getChildAt(i); local 139 if (child.getVisibility() == GONE) continue; 141 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 147 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 150 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 157 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 162 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 170 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()); 184 long minCellsAt = 0; // Bit locations are indices of relevant child views 187 final View child = getChildAt(i) local 213 final View child = getChildAt(i); local 259 final View child = getChildAt(i); local 296 final View child = getChildAt(i); local 504 final View child = getChildAt(childIndex); local [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
elementgetelementsbytagnameaccessnodelist.java | 62 Node child; local 69 child = testEmployee.getFirstChild(); 70 childType = (int) child.getNodeType(); 73 child = child.getNextSibling(); 75 childName = child.getNodeName(); 77 child = child.getFirstChild(); 78 childValue = child.getNodeValue();
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
Layer.cpp | 77 Layer* Layer::addChild(Layer* child) { 78 SkASSERT(this != child); 79 child->ref(); 80 child->detachFromParent(); 81 SkASSERT(child->fParent == NULL); 82 child->fParent = this; 84 *m_children.append() = child; 85 return child; 101 Layer* child = m_children[i]; local 102 SkASSERT(child->fParent == this) [all...] |