/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/xml/ |
DOMConfigurator.java | 28 import org.w3c.dom.Element; 32 public static void configure(Element element) { 47 public void doConfigure(Element element, LoggerRepository repository) {
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicBlur.java | 37 * Supported elements types are {@link Element#U8}, 38 * {@link Element#U8_4}. 41 * @param e Element type for inputs and outputs 45 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { 46 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) { 47 throw new RSIllegalArgumentException("Unsupported element type."); 57 * Must match the element type supplied during create. 87 * @param aout Output allocation. Must match creation element 101 * @param aout Output allocation. Must match creation element [all...] |
/frameworks/base/tools/aapt2/xml/ |
XmlDom.h | 38 class Element; 57 using ElementCloneFunc = std::function<void(const Element&, Element*)>; 59 // Clones the Node subtree, using the given function to decide how to clone an Element. 106 * An Element XML node. 108 class Element : public BaseNode<Element> { 117 xml::Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name); 118 xml::Element* FindChildWithAttribute(const android::StringPiece& ns, 123 std::vector<xml::Element*> GetChildElements() [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlur.java | 43 * Supported elements types are {@link Element#U8}, 44 * {@link Element#U8_4}. 47 * @param e Element type for inputs and outputs 51 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { 52 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) { 53 throw new RSIllegalArgumentException("Unsupported element type."); 70 * Must match the element type supplied during create. 100 * @param aout Output allocation. Must match creation element
|
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/ |
MainActivity.java | 44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE); 52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound); 55 Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), c0.getReturn());
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
elementinuseattributeerr.java | 33 * is already an attribute of another element. 36 * a newly created element. The "createAttribute(name)" 39 * Element. The "setAttributeNode(newAttr)" method is 42 * an attribute of another element. 74 Element testAddress; 75 Element newElement; 81 testAddress = (Element) addressElementList.item(1);
|
hc_elementinuseattributeerr.java | 33 * is already an attribute of another element. 65 Element testAddress; 66 Element newElement; 73 testAddress = (Element) addressElementList.item(0);
|
hc_elementnormalize2.java | 31 * Add an empty text node to an existing attribute node, normalize the containing element 60 Element root; 62 Element element; local 73 element = (Element) elementList.item(0); 74 attrNode = element.getAttributeNode("title"); 76 element.normalize(); 77 attrNode = element.getAttributeNode("title");
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
attrgetownerelement01.java | 34 * The "getOwnerElement()" will return the Element node this attribute is attached to or 37 * Retreive the default attribute defaultAttr and check its owner element. Verify if the name 75 Element element; local 76 Element ownerElement; 84 element = (Element) elementList.item(1); 85 attributes = element.getAttributes();
|
attrgetownerelement05.java | 34 * The "getOwnerElement()" will return the Element node this attribute is attached to 37 * Retreive an element and its attributes. Then remove the element and check the name of 73 Node element; local 74 Element ownerElement; 75 Element parentElement; 85 element = elementList.item(1); 86 parentElement = (Element) element.getParentNode(); 87 nodeMap = element.getAttributes() [all...] |
getAttributeNS02.java | 37 * Retrieve the first "emp:address" element. 74 Element testAddr; 80 testAddr = (Element) elementList.item(0); 84 testAddr = (Element) elementList.item(0);
|
getElementsByTagNameNS09.java | 35 * Element should return a new NodeList of all descendant Elements with a given 40 * element with namespaceURI being "*" and localName is "employee". 42 * Retrieve the FOURTH element whose name should be "emp:employee". 79 Element newElement; 82 Element docElem; 87 newElement = (Element) newList.item(3);
|
namednodemapsetnameditemns06.java | 34 * Retreieve the first element whose localName is address and its attributes into a named node map. 36 * Retreieve the second element whose localName is address and its attributes into a named node map. 74 Element element; local 79 element = (Element) elementList.item(0); 80 attributes = element.getAttributes(); 82 element = (Element) elementList.item(1); 83 attributes = element.getAttributes() [all...] |
namednodemapsetnameditemns07.java | 36 * attribute of another Element object. 38 * Retreieve the attributes of first element whose localName is address into a named node map. 40 * from the NamedNodeMap. Retreieve the attributes of second element whose localName is address 80 Element element; local 85 element = (Element) elementList.item(0); 86 attributes = element.getAttributes(); 88 element = (Element) elementList.item(1) [all...] |
namednodemapsetnameditemns08.java | 35 * attribute of another Element object. 36 * Retreieve the first element whose localName is address and its attributes into a named node map. 37 * Retreiving the domestic attribute from the namednodemap. Retreieve the second element whose 76 Element element; local 81 element = (Element) elementList.item(0); 82 attributes = element.getAttributes(); 84 element = (Element) elementList.item(1) [all...] |
removeAttributeNS02.java | 90 ((Element) /*Node */testAddr).removeAttributeNS("http://www.nist.gov", "local1"); 93 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS("http://www.nist.gov", "local1"); 94 attr = ((Element) /*Node */testAddr).getAttributeNS("http://www.nist.gov", "local1");
|
setAttributeNS04.java | 36 * on the element, its prefix is changed to be the prefix part of the "qualifiedName", 41 * Add a new attribute to the "emp:address" element. 90 ((Element) /*Node */testAddr).setAttributeNS("http://www.nist.gov", "newprefix:zone", "newValue"); 91 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS("http://www.nist.gov", "zone"); 92 resultAttr = ((Element) /*Node */testAddr).getAttributeNS("http://www.nist.gov", "zone");
|
setAttributeNS09.java | 36 * on the element, its prefix is changed to be the prefix part of the "qualifiedName", 41 * Add a new attribute to the "emp:address" element. 85 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue"); 86 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS(namespaceURI, localName); 87 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HCNamedNodeMapInvalidType.java | 23 import org.w3c.dom.Element; 29 * Attempt to insert an element into an attribute list, should raise a 72 Element docElem; 73 Element newElem;
|
NodeGetLocalName.java | 27 import org.w3c.dom.Element; 35 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 71 Element element; local 72 Element qelement; 80 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 84 localElemName = element.getLocalName();
|
NodeGetNamespaceURI.java | 27 import org.w3c.dom.Element; 37 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 73 Element element; local 74 Element elementNS; 84 element = doc.createElementNS(nullNS, "elem"); 89 elemNSURINull = element.getNamespaceURI();
|
NodeGetPrefix.java | 27 import org.w3c.dom.Element; 35 * Ceate two new element nodes and atribute nodes, with and without namespace prefixes. 72 Element element; local 73 Element qelement; 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 85 elemNoPrefix = element.getPrefix();
|
OwnerElement.java | 29 import org.w3c.dom.Element; 34 * The "getOwnerElement()" will return the Element node this attribute is 37 * to get the Element associated with the attribute. The value returned should 80 Element elementNode; 94 Element elementNode;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilities.java | 45 import org.w3c.dom.Element; 95 * element, etc). This will include the node itself, if it is an element. 101 public static List<Element> getAllElements(@NonNull Node node) { 102 List<Element> elements = new ArrayList<Element>(64); 107 private static void addElements(@NonNull Node node, @NonNull List<Element> elements) { 108 if (node instanceof Element) { 109 elements.add((Element) node); 120 * and the document element having depth 1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoring.java | 43 import org.w3c.dom.Element; 57 private Element mContainer; 77 UnwrapRefactoring(List<Element> selectedElements, LayoutEditorDelegate editor) { 100 Element first = mElements.get(0); 102 // Determine the element of the container to be removed. 115 List<Element> elements = DomUtilities.getChildren(mContainer); 121 } else if (useParent && (parent instanceof Element)) { 122 mContainer = (Element) parent; 127 for (Element element : mElements) [all...] |