/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementsetattributenodens03.java | 36 * another Element object. 38 * Retreive an attribute node of an existing element node. Attempt to add it to an another 39 * element node. Check if the INUSE_ATTRIBUTE_ERR exception is thrown. 75 Element element1; 76 Element element2; 84 element1 = (Element) elementList.item(1); 86 element2 = (Element) elementList.item(2);
|
nodehasattributes04.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Create a new Document, Element and Attr node. Add the Attr to the Element and append the 36 * Element to the Document. Retreive the newly created element node from the document and check 75 Element element; local 76 Element elementTest; 77 Element elementDoc; 86 element = newDoc.createElementNS("http://www.w3.org/DOM/Test", "dom:elem") [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
Document.java | 58 * node that is the document element of the document. 60 public Element getDocumentElement(); 63 * Creates an element of the type specified. Note that the instance 64 * returned implements the <code>Element</code> interface, so attributes 68 * and attached to the element. 69 * <br>To create an element with a qualified name and namespace URI, use 71 * @param tagName The name of the element type to instantiate. For XML, 76 * @return A new <code>Element</code> object with the 85 public Element createElement(String tagName) 143 * <code>Attr</code> instance can then be set on an <code>Element</code [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementHasAttribute.java | 3 import org.w3c.dom.Element; 11 * specified on this element or has a default value, false otherwise Invoke the 50 Element element; local 53 element = doc.getDocumentElement(); 54 state = element.hasAttribute(""); 61 // Element element; 66 // element = (Element) elementList.item(0) 73 Element element; local 88 Element element; local [all...] |
ElementHasAttributeNS.java | 24 import org.w3c.dom.Element; 33 * name and namespace URI is specified on this element or has a default value, 36 * Retreive the first employee element node. Invoke the hasAttributeNS method to 76 Element element; local 81 element = (Element) elementList.item(0); 82 state = element 88 Element element; local 101 Element element; local [all...] |
ElementSetAttributeNodeNS.java | 24 import org.w3c.dom.Element; 35 * Testing Element.setAttributeNodeNS: If an attribute with that local name and 36 * that namespace URI is already present in the element, it is replaced by the 37 * new one. Create a new element and two new attribute nodes (in the same 39 * element node using the setAttributeNodeNS method. Check that only one 78 Element element; local 89 element = doc.createElementNS("http://www.w3.org/DOM/Test/Level2", 90 "new:element"); 96 element.setAttributeNodeNS(attribute1) 111 Element element; local 185 Element element; local 206 Element element; local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Xml.java | 23 import org.w3c.dom.Element; 47 public static Element firstElementOf(Document doc) throws Exception { 48 return (Element) doc.getFirstChild(); 51 public static String attrOf(Element e) throws Exception {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
UiItemElementNode.java | 24 import org.w3c.dom.Element; 29 * customizes the element display to include the item type attribute if present. 45 if (xmlNode != null && xmlNode instanceof Element && xmlNode.hasAttributes()) { 47 Element elem = (Element) xmlNode;
|
/frameworks/base/sax/java/android/sax/ |
RootElement.java | 26 * The root XML element. The entry point for this API. Not safe for concurrent 47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry"); 66 public class RootElement extends Element { 71 * Constructs a new root element with the given name. 81 * Constructs a new root element with the given name. Uses an empty string 101 Element current = null; 115 // This is the root element. 123 + " within text element named " + current + ".", 127 // If we're one level below the current element. 132 Element child = children.get(uri, localName) [all...] |
Children.java | 20 * Contains element children. Using this class instead of HashMap results in 30 Element getOrCreate(Element parent, String uri, String localName) { 65 Element get(String uri, String localName) { 86 static class Child extends Element { 91 Child(Element parent, String uri, String localName, int depth,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicHistogram.java | 27 Element e1; 28 Element e2; 31 case 4: e1 = Element.U8_4(mRS); break; 32 case 3: e1 = Element.U8_3(mRS); break; 33 case 2: e1 = Element.U8_2(mRS); break; 34 default: e1 = Element.U8(mRS); break; 38 case 4: e2 = Element.I32_4(mRS); break; 39 case 3: e2 = Element.I32_3(mRS); break; 40 case 2: e2 = Element.I32_2(mRS); break; 41 default: e2 = Element.I32(mRS); break [all...] |
IsObjectTest.java | 21 import android.renderscript.Element; 33 Element element; field in class:IsObjectTest 45 element = Element.BOOLEAN(mRS); 47 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 62 mItem.element = element; 66 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 75 Assert.assertTrue("rsIsObject element test fail: " + "Expect 1;value [all...] |
PownTest.java | 20 import android.renderscript.Element; 82 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 93 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 104 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 115 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 126 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE); 137 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE); 148 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_4(mRS), INPUTSIZE); 159 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_4(mRS), INPUTSIZE);
|
RootnTest.java | 20 import android.renderscript.Element; 80 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 91 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 103 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 114 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE); 126 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE); 137 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE); 148 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_4(mRS), INPUTSIZE); 159 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_4(mRS), INPUTSIZE);
|
SetObjectTest.java | 21 import android.renderscript.Element; 32 Element element; field in class:SetObjectTest 44 element = Element.BOOLEAN(mRS); 46 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 61 mItem.element = element; 65 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 74 Assert.assertTrue("rsSetObject element test fail: " + "Expect 1;value [all...] |
/external/chromium/chrome/browser/resources/ntp4/tools/ |
externs.js | 8 // JSCompiler doesn't know about this new Element property 9 Element.prototype.classList = {}; 11 Element.prototype.classList.remove = function(c) {}; 13 Element.prototype.classList.add = function(c) {}; 15 Element.prototype.classList.contains = function(c) {};
|
/external/chromium/chrome/browser/resources/touch_ntp/tools/ |
externs.js | 8 // JSCompiler doesn't know about this new Element property 9 Element.prototype.classList = {}; 11 Element.prototype.classList.remove = function(c) {}; 13 Element.prototype.classList.add = function(c) {}; 15 Element.prototype.classList.contains = function(c) {};
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Attr.h | 45 static PassRefPtr<Attr> create(Element*, const QualifiedName&); 51 Element* ownerElement() const { return m_element; } 63 void attachToElement(Element*); 67 Attr(Element*, const QualifiedName&); 92 // Attr wraps either an element/name, or a name/value pair (when it's a standalone Node.) 94 Element* m_element;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestElementNode.java | 27 import org.w3c.dom.Element; 38 * Element nodes don't contain data per se. Their data is contained in their attributes 57 * Uses the element's attribute "android:name" if present, or the "android:label" one 58 * followed by the element's name if not repeated. 74 getXmlNode() instanceof Element && 83 Element elem = (Element) getXmlNode(); 114 * Note: This is a wrapper around {@link Element#getAttributeNS(String, String)}. 118 * @see Element#getAttributeNS(String, String) 120 * @return The result from {@link Element#getAttributeNS(String, String)} or or an empty string [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResolver.h | 55 class Element; 80 // are interpreted according to the document root element style, and styled only 171 // This class selects a RenderStyle for a given element based on a collection of stylesheets. 182 void pushParentElement(Element*); 183 void popParentElement(Element*); 187 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, StyleSharingBehavior = AllowStyleSharing, 191 // The body of calculateCSSAnimationUpdate can move to CSSAnimations.cpp and take just const element, const style, 194 void resolveKeyframes(Element*, const RenderStyle*, const StringImpl* animationName, KeyframeAnimationEffect::KeyframeVector&); 195 const StylePropertySet* firstKeyframeStyles(const Element*, const StringImpl* animationName); 196 void keyframeStylesForAnimation(Element*, const RenderStyle*, KeyframeList&) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
InsertParagraphSeparatorCommand.cpp | 48 static Element* highestVisuallyEquivalentDivBelowRoot(Element* startBlock) 50 Element* curBlock = startBlock; 122 void InsertParagraphSeparatorCommand::getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<RefPtr<Element> >& ancestors) 128 for (Element* n = insertionNode->parentElement(); n && n != outerBlock; n = n->parentElement()) 133 PassRefPtr<Element> InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock(const Vector<RefPtr<Element> >& ancestors, PassRefPtr<Element> blockToInsert) 136 RefPtr<Element> parent = blockToInsert [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AccessibilityNodeObject.h | 39 class Element; 77 String accessibilityDescriptionForElements(Vector<Element*> &elements) const; 80 void ariaLabeledByElements(Vector<Element*>& elements) const; 83 void elementsFromAttribute(Vector<Element*>& elements, const QualifiedName&) const; 89 HTMLLabelElement* labelForElement(Element*) const; 91 Element* menuItemElementForMenu() const; 92 Element* mouseButtonListener() const; 182 virtual Element* actionElement() const OVERRIDE; 183 virtual Element* anchorElement() const OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLCollection.cpp | 179 inline bool isMatchingElement(const NodeListType*, Element*); 181 template <> inline bool isMatchingElement(const HTMLCollection* htmlCollection, Element* element) 184 if (!element->isHTMLElement() && !(type == DocAll || type == NodeChildren)) 189 return element->hasLocalName(imgTag); 191 return element->hasLocalName(scriptTag); 193 return element->hasLocalName(formTag); 195 return element->hasLocalName(tbodyTag); 197 return element->hasLocalName(tdTag) || element->hasLocalName(thTag) 306 Element* element = ElementTraversal::firstWithin(root); local 527 Element* element = ElementTraversal::firstWithin(root); local [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkClipStack.h | 37 class Element { 40 //!< This element makes the clip empty (regardless of previous elements). 42 //!< This element combines a rect with the current clip using a set operation 44 //!< This element combines a path with the current clip using a set operation 48 Element() { 53 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { 57 Element(const SkPath& path, SkRegion::Op op, bool doAA) { 61 bool operator== (const Element& element) const { 62 if (this == &element) { [all...] |
/external/skia/include/core/ |
SkClipStack.h | 37 class Element { 40 //!< This element makes the clip empty (regardless of previous elements). 42 //!< This element combines a rect with the current clip using a set operation 44 //!< This element combines a path with the current clip using a set operation 48 Element() { 53 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { 57 Element(const SkPath& path, SkRegion::Op op, bool doAA) { 61 bool operator== (const Element& element) const { 62 if (this == &element) { [all...] |