/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/ |
MainActivity.java | 51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4); 56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4); 61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4); 64 mScript.set_global_alloc(Allocation.createSized(mRS, Element.F32(mRS), 4));
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_elementnormalize.java | 31 * Append a couple of text nodes to the first sup element, normalize the 32 * document element and check that the element has been normalized. 60 Element root; 62 Element testName; 69 testName = (Element) elementList.item(0); 77 testName = (Element) elementList.item(0);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementgetelementsbytagnamens04.java | 36 * Create a new element node ('root') and append three newly created child nodes (all have 76 Element element; local 77 Element child1; 78 Element child2; 79 Element child3; 85 element = doc.createElementNS("http://www.w3.org/DOM", "root"); 89 appendedChild = element.appendChild(child1); 90 appendedChild = element.appendChild(child2); 91 appendedChild = element.appendChild(child3) [all...] |
elementsetattributenodens02.java | 35 * Retreive the street attribute from the second address element node. 73 Element element; local 74 Element element2; 85 element = (Element) elementList.item(1); 86 attribute = element.getAttributeNodeNS(nullNS, "street"); 88 element2 = (Element) elementList.item(2);
|
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 {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug026.go | 9 type Element interface { 15 func (v *Vector) Insert(i int, e Element) {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug026.go | 9 type Element interface { 15 func (v *Vector) Insert(i int, e Element) {
|
/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;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ProductionComponentProcessingStep.java | 28 import javax.lang.model.element.Element; 29 import javax.lang.model.element.TypeElement; 74 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 75 final Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = 92 private Map<Element, ValidationReport<TypeElement>> processComponentBuilders( 93 Set<? extends Element> componentBuilderElements) { 94 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap(); 95 for (Element element : componentBuilderElements) [all...] |
SourceFileGenerator.java | 29 import javax.lang.model.element.Element; 51 ImmutableSet<Element> originatingElements = 52 ImmutableSet.<Element>copyOf(getOriginatingElements(input)); 86 * Implementations should return {@link Element} instances from which the source is to be 89 abstract Iterable<? extends Element> getOriginatingElements(T input); 92 * Returns an optional element to be used for reporting errors. This returns a single element 95 abstract Optional<? extends Element> getElementForErrorReporting(T input);
|
/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,
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Allocation.java | 47 * more complex Element types, the {@link #copyFromUnchecked} methods can be 84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { 99 return Element.DataType.SIGNED_64; 107 return Element.DataType.SIGNED_32; 115 return Element.DataType.SIGNED_16; 123 return Element.DataType.SIGNED_8; 130 return Element.DataType.FLOAT_32; 137 return Element.DataType.FLOAT_64; 247 * Get the {@link android.support.v8.renderscript.Element} of the {@link 250 * @return Element [all...] |
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_fp16.java | 21 import android.renderscript.Element; 36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { 59 initializeGlobals(RS, s, Element.F16(RS), nDims); 69 initializeGlobals(RS, s, Element.F16(RS), nDims); 80 initializeGlobals(RS, s, Element.F16_2(RS), nDims); 90 initializeGlobals(RS, s, Element.F16_2(RS), nDims); 101 initializeGlobals(RS, s, Element.F16_3(RS), nDims); 111 initializeGlobals(RS, s, Element.F16_3(RS), nDims); 122 initializeGlobals(RS, s, Element.F16_4(RS), nDims); 132 initializeGlobals(RS, s, Element.F16_4(RS), nDims) [all...] |
/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...] |
/prebuilts/go/darwin-x86/src/container/list/ |
list.go | 14 // Element is an element of a linked list. 15 type Element struct { 18 // as a ring, such that &l.root is both the next element of the last 19 // list element (l.Back()) and the previous element of the first list 20 // element (l.Front()). 21 next, prev *Element 23 // The list to which this element belongs. 26 // The value stored with this element [all...] |
/prebuilts/go/linux-x86/src/container/list/ |
list.go | 14 // Element is an element of a linked list. 15 type Element struct { 18 // as a ring, such that &l.root is both the next element of the last 19 // list element (l.Back()) and the previous element of the first list 20 // element (l.Front()). 21 next, prev *Element 23 // The list to which this element belongs. 26 // The value stored with this element [all...] |
/external/skia/src/core/ |
SkClipStack.h | 45 class Element { 48 //!< This element makes the clip empty (regardless of previous elements). 50 //!< This element combines a rect with the current clip using a set operation 52 //!< This element combines a round-rect with the current clip using a set operation 54 //!< This element combines a path with the current clip using a set operation 61 Element() { 66 Element(const Element&); 68 Element(const SkRect& rect, SkClipOp op, bool doAA) { 72 Element(const SkRRect& rrect, SkClipOp op, bool doAA) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IsObjectTest.java | 21 import android.renderscript.Element; 32 Element element; field in class:IsObjectTest 44 element = Element.BOOLEAN(mRS); 46 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 74 mItem.element = element; 78 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 87 Assert.assertTrue("rsIsObject element test fail: " + "Expect 1;value [all...] |