/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
hasAttribute03.java | 34 * The "hasAttribute()" method for an Element should 35 * return false if the element does not have an attribute with the given name. 36 * Retrieve the first "address" element and the "hasAttribute()" method 37 * should return false since the element does not have "nomatch" as an attribute. 66 Element testNode; 70 testNode = (Element) elementList.item(0);
|
hasAttributeNS01.java | 35 * The "hasAttributeNS()" method for an Element should 36 * return false if the element does not have an attribute with the given local name 37 * and/or a namespace URI specified on this element or does not have a default value. 38 * Retrieve the first "address" element and the "hasAttributeNS()" method 39 * should return false since the element has "nomatch" as the local name 71 Element testNode; 75 testNode = (Element) elementList.item(0);
|
hasAttributeNS02.java | 34 * The "hasAttributeNS()" method for an Element should 35 * return false if the element does not have an attribute with the given local name 36 * and/or namespace URI specified on this element or does not have a default value. 37 * Retrieve the first "address" element and the "hasAttributeNS()" method 38 * should return false since the element has "domestic" as the local name 70 Element testNode; 74 testNode = (Element) elementList.item(0);
|
hasAttributeNS03.java | 34 * The "hasAttributeNS()" method for an Element should 35 * return false if the element does not have an attribute with the given local name 36 * and/or namespace URI specified on this element or does not have a default value. 37 * Retrieve the first "emp:address" element. 70 Element testNode; 74 testNode = (Element) elementList.item(0);
|
hc_namednodemapinvalidtype1.java | 31 * Attempt to insert an element into an attribute list, 62 Element docElem; 63 Element newElem;
|
nodehasattributes03.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Retreive an element node with a default attributes. Verify if hasAttributes returns true. 63 Element element; local 68 element = (Element) elementList.item(0); 69 assertNotNull("empEmployeeNotNull", element); 70 hasAttributes = element.hasAttributes();
|
nodesetprefix08.java | 65 Element element; local 70 element = (Element) elementList.item(0); 71 attribute = element.getAttributeNode("xmlns");
|
prefix05.java | 73 Element addrNode; 77 addrNode = (Element) elementList.item(0);
|
namednodemapsetnameditemns03.java | 38 * Retreieve the second element whose local name is address and its attribute into a named node map. 83 Element element; local 84 Element elementAlt; 91 element = (Element) elementList.item(1); 92 attributes = element.getAttributes(); 95 elementAlt = (Element) elementListAlt.item(1);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentGeteEementById.java | 4 import org.w3c.dom.Element; 9 * The method getElementById returns the element whose ID is given by elementId. 10 * If not such element exists, returns null. 13 * elementId. This should return a null element. 53 Element element; local 56 element = doc.getElementById(elementId); 57 assertNull("documentgetelementbyid01", element);
|
ElementRemoveAttributeNS.java | 3 import org.w3c.dom.Element; 11 * URI. Create a new element and add a new attribute node to it. Remove the 13 * was remove by invoking the hasAttributeNS method on the element and check if 52 Element element; local 57 element = doc.createElementNS("http://www.w3.org/DOM", "elem"); 60 element.setAttributeNodeNS(attribute); 61 element.removeAttributeNS( 63 state = element.hasAttributeNS(
|
GetElementById.java | 25 import org.w3c.dom.Element; 31 * element whose ID matches elementId. 34 * equals "CANADA". Method should return an element whose tag name is 76 // Element element; 79 // element = doc.getElementById("CANADA"); 80 // tagname = element.getTagName(); 85 Element element; local 87 element = doc.getElementById("Cancun") [all...] |
NodeSetPrefix.java | 30 import org.w3c.dom.Element; 41 * Element and Attr interfaces, when applicable. 43 * Create a new element node with a namespace prefix. Add it to a new 45 * Check if the prefix was set correctly on the element. 84 Element element; local 90 element = doc.createElementNS("http://www.w3.org/DOM/Test", 92 docFragment.appendChild(element); 93 element.setPrefix("dmstc"); 94 elementTagName = element.getTagName() 127 Element element; local 168 Element element; local 196 Element element; local 230 Element element; local 251 Element element; local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
ImageBuffersForRenderScriptF32.java | 21 import android.renderscript.Element; 65 renderScript, Element.F32_4(renderScript), 69 renderScript, Element.F32_4(renderScript), 73 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded);
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
RSBaseCompute.java | 21 import android.renderscript.Element;
|
/external/testng/src/main/java/org/testng/xml/dom/ |
Wrapper.java | 4 import org.w3c.dom.Element; 33 public List<Object[]> getParameters(Element element) { 38 result.add(element.getAttribute(attributeName)); 46 NodeList childNodes = element.getChildNodes(); 49 Element item = (Element) childNodes.item(i);
|
/frameworks/base/tools/aapt2/link/ |
XmlCompatVersioner.h | 46 virtual std::vector<DegradeResult> Degrade(const xml::Element& src_el, 70 void ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr, 72 const util::Range<ApiVersion>& api_range, bool generated, xml::Element* dst_el, 89 std::vector<DegradeResult> Degrade(const xml::Element& src_el, const xml::Attribute& src_attr,
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
ImageBuffersForRenderScriptF32.java | 5 import android.support.v8.renderscript.Element; 46 renderScript, Element.F32_4(renderScript), 50 renderScript, Element.F32_4(renderScript), 54 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded);
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_blur_validation.java | 19 import android.renderscript.Element; 56 Element.U8(RS), 62 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS)); 70 scriptBlur = ScriptIntrinsicBlur.create(RS, Element.U8(RS));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ObsoleteLayoutParamsFix.java | 26 import org.w3c.dom.Element; 54 if (node instanceof Element) { 55 Element element = (Element) node; local 56 NamedNodeMap attributes = element.getAttributes(); 62 element.removeAttribute(attribute.getName());
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
CurrentApiHelper.java | 25 import org.w3c.dom.Element; 80 Element rootElement = apiDocument.getDocumentElement(); 81 Element packageElement = getChildElementByName(rootElement, TAG_PACKAGE, packageName); 82 Element classElement = getChildElementByName(packageElement, TAG_CLASS, className); 91 Element element = (Element) nodes.item(i); local 92 String name = element.getAttribute(ATTRIBUTE_NAME); 93 Class[] paramTypes = getParamTypes(element); 134 private static Element getChildElementByName(Element parent [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationResize.java | 21 import android.renderscript.Element; 41 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2); 42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
|
InitTest.java | 20 import android.renderscript.Element; 38 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); 39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
MonitoringModuleProcessingStep.java | 25 import javax.lang.model.element.Element; 26 import javax.lang.model.element.TypeElement; 50 public Set<Element> process( 51 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 52 for (TypeElement element : typesIn(elementsByAnnotation.get(ProductionComponent.class))) { 54 monitoringModuleGenerator.generate(element);
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/ |
Node.java | 27 /** A common base class for Document and Element, also used for 33 public static final int ELEMENT = 2; 58 if (type == ELEMENT) { 59 if (!(child instanceof Element)) 60 throw new RuntimeException("Element obj expected)"); 62 ((Element) child).setParent(this); 77 /** Builds a default element with the given properties. Elements 85 public Element createElement(String namespace, String name) { 87 Element e = new Element(); [all...] |