/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
characterdatasetnodevalue.java | 33 * Retrieve the character data from the second child 64 CharacterData child; local 70 child = (CharacterData) nameNode.getFirstChild(); 71 child.setNodeValue("Marilyn Martin"); 72 childData = child.getData(); 74 childValue = child.getNodeValue();
|
documentcreateentityreferenceknown.java | 33 * is known, the child list of the "EntityReference" node 39 * given name. The referenced entity is known, therefore the child 71 Node child; local 79 child = newEntRefNode.getFirstChild(); 80 name = child.getNodeName(); 82 value = child.getNodeValue();
|
hc_characterdatadeletedatagetlengthanddata.java | 35 * Retrieve the character data from the last child of the 73 CharacterData child; local 81 child = (CharacterData) nameNode.getFirstChild(); 82 child.deleteData(30, 5); 83 childData = child.getData(); 85 childLength = (int) child.getLength();
|
hc_characterdatasetnodevalue.java | 33 * Retrieve the character data from the second child 64 CharacterData child; local 70 child = (CharacterData) nameNode.getFirstChild(); 71 child.setNodeValue("Marilyn Martin"); 72 childData = child.getData(); 74 childValue = child.getNodeValue();
|
hc_nodeinsertbeforedocfragment.java | 38 * fourth child. The second employee should now have two 75 Node child; local 90 child = childList.item(3); 91 childName = child.getNodeName(); 93 child = childList.item(4); 94 childName = child.getNodeName();
|
nodecdatasectionnodevalue.java | 34 * Retrieve the CDATASection node inside the second child 76 Node child; local 82 child = childList.item(1); 84 if ((child == null)) { 85 child = doc.createCDATASection("This is a CDATASection with EntityReference number 2 &ent2;"); 87 cdataNodeValue = child.getNodeValue();
|
nodeinsertbeforedocfragment.java | 38 * fourth child. The second employee should now have two 75 Node child; local 90 child = childList.item(3); 91 childName = child.getNodeName(); 93 child = childList.item(4); 94 childName = child.getNodeName();
|
nodelistreturnlastitem.java | 31 * Get this last child of the third employee using NodeList.item(NodeList.length - 1) 63 Node child; local 73 child = employeeList.item(5); 74 childName = child.getNodeName(); 77 child = employeeList.item(12); 78 childName = child.getNodeName();
|
noderemovechildnode.java | 31 * Retrieve the second employee and remove its first child. 33 * children and the first child should now be the child 66 Node child; local 78 child = childList.item(0); 79 childName = child.getNodeName();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode11.java | 43 * Method should return a node of type Entity_Reference whose first child's value is "Texas" as defined 77 Node child; local 86 child = aNode.getFirstChild(); 87 assertNotNull("child", child); 88 childValue = child.getNodeValue();
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldNodeChangeEventTest.java | 36 Preferences child = e.getChild(); 37 if (child == null) { 40 if (child.name() == "mock1") { 48 Preferences child = e.getChild(); 49 if (child == null) { 52 if (child.name() == "mock1") {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
HorizontalScrollViewRule.java | 42 public void onChildInserted(INode child, INode parent, InsertType insertType) { 43 super.onChildInserted(child, parent, insertType); 45 // The child of the ScrollView should fill in both directions 47 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 48 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); 69 // HorizontalScrollViews only allow a single child
|
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | 43 * is a {@link FrameLayout}, meaning you should place one child in it 44 * containing the entire contents to scroll; this child may itself be a layout 45 * manager with a complex hierarchy of objects. A child that is often used 89 * The child to give focus to in the event that a child has requested focus while the 90 * layout is dirty. This prevents the scroll from being wrong if the child has not been 108 * When set to true, the scroll view measure its child to make it fill the currently 211 public void addView(View child) { 213 throw new IllegalStateException("HorizontalScrollView can host only one direct child"); 216 super.addView(child); 250 View child = getChildAt(0); local 315 final View child = getChildAt(0); local 389 final View child = getChildAt(0); local 740 View child = getChildAt(0); local 1466 View child = getChildAt(0); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 120 + "HorizontalScrollView#addView(View) when there is already one child in the view.") 131 fail("did not throw IllegalStateException when add more than one child"); 146 + "is already one child in the view.") 157 fail("did not throw IllegalStateException when add more than one child"); 172 fail("did not throw IllegalStateException when add more than one child"); 196 + " one child in the view or the layoutparams is null") 209 fail("did not throw IllegalStateException when add more than one child"); 234 + " one child in the view or the layoutparams is null") 247 fail("did not throw IllegalStateException when add more than one child"); 274 fail("did not throw IllegalStateException when add more than one child"); 386 MyView child = new MyView(mActivity); local 412 MyView child = new MyView(mActivity); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
CustomContactListFilterActivity.java | 492 final GroupDelta child = oppositeChildren.next(); local 493 setShouldSync(child, shouldSync, false); 498 public void setShouldSync(GroupDelta child, boolean shouldSync) { 499 setShouldSync(child, shouldSync, true); 506 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) { 507 child.putShouldSync(shouldSync); 510 mUnsyncedGroups.remove(child); 512 mSyncedGroups.add(child); 516 mSyncedGroups.remove(child); 518 mUnsyncedGroups.add(child); 606 final GroupDelta child = (GroupDelta)this.getChild(groupPosition, childPosition); local 710 final GroupDelta child = (GroupDelta)mAdapter.getChild(groupPosition, childPosition); local 752 final GroupDelta child = (GroupDelta)mAdapter.getChild(groupPosition, childPosition); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 120 for (AppWidgetResizeFrame child: mResizeFrames) { 121 child.getHitRect(hitRect); 123 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) { 124 mCurrentResizeFrame = child; 266 public void getLocationInDragLayer(View child, int[] loc) { 269 getDescendantCoordRelativeToSelf(child, loc); 369 View child = getChildAt(i); local 370 final FrameLayout.LayoutParams flp = (FrameLayout.LayoutParams) child.getLayoutParams() [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExtensionDecl.java | 210 for (ElemTemplateElement child = getFirstChildElem(); child != null; 211 child = child.getNextSiblingElem()) 213 if (Constants.ELEMNAME_EXTENSIONSCRIPT == child.getXSLToken()) 215 ElemExtensionScript sdecl = (ElemExtensionScript) child; 291 for (ElemTemplateElement child = getFirstChildElem(); child != null; 292 child = child.getNextSiblingElem() [all...] |
ElemApplyTemplates.java | 188 * Perform a query if needed, and call transformNode for each child. 260 int child; local 261 while (DTM.NULL != (child = sourceNodes.nextNode())) 263 currentNodes.setTop(child); 264 currentExpressionNodes.setTop(child); 266 if(xctxt.getDTM(child) != dtm) 268 dtm = xctxt.getDTM(child); 271 final int exNodeType = dtm.getExpandedTypeID(child); 273 final int nodeType = dtm.getNodeType(child); 277 ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, 296 transformer.pushPairCurrentMatched(sroot.getDefaultTextRule(), child); local [all...] |
/external/chromium/chrome/browser/ui/views/ |
dom_view.cc | 58 views::View* child) { 61 views::NativeViewHost::ViewHierarchyChanged(is_add, parent, child); 64 else if (!is_add && child == this && native_view())
|
/external/qemu/android/ |
config.h | 43 /* locate a named child of a config node */ 46 /* add a named child to a config node (or modify it if it already exists) */ 50 /* look up a child by name and return its value, eventually converted
|
/frameworks/base/core/java/android/content/ |
UriMatcher.java | 165 UriMatcher child; 168 child = children.get(j); 169 if (token.equals(child.mText)) { 170 node = child; 175 // Child not found, create it 176 child = new UriMatcher(); 178 child.mWhich = NUMBER; 180 child.mWhich = TEXT; 182 child.mWhich = EXACT; 184 child.mText = token [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetElementsByTagNameNS.java | 98 Node child; local 121 child = (Node) elementList.item(indexN10076); 122 childName = child.getNodeName(); 130 Node child; local 144 child = (Node) elementList.item(indexN10059); 145 childName = child.getNodeName(); 205 Node child; local 230 child = (Node) elementList.item(indexN1007E); 231 childName = child.getNodeName(); 240 Node child; local [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 100 * Gets the MIME type defined in the child's
102 * if child is <code>null</code> or hasn't got a MIME type value set.
103 * If child's MIME type is multipart but no boundary
104 * has been set the MIME type of child will be derived from
107 * @param child the child.
111 public static String getMimeType(ContentTypeField child,
114 if (child == null || child.getMimeType().length() == 0
115 || child.isMultipart() && child.getBoundary() == null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ResizeHandler.java | 85 for (INode child : layout.getChildren()) { 86 if (child != resized) { 87 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 88 addBounds(child, id, 89 !mHorizontalDeps.contains(child), 90 !mVerticalDeps.contains(child)); 164 public void updateResize(DropFeedback feedback, INode child, Rect newBounds, 173 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID); 179 hEdge = new Segment(b.y, b.x, b.x2(), child, childId, mHorizontalEdgeType, NO_MARGIN); 181 hEdge = new Segment(b.y2(), b.x, b.x2(), child, childId, mHorizontalEdgeType [all...] |
/system/extras/tests/cpueater/ |
cpueater.c | 16 * Simple cpu eater busy loop. Runs as a daemon. prints the child PID to 39 case 0: /* child */ 48 case 0: /* second child */
|