/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
ColladaParser.java | 34 import org.w3c.dom.Element;
105 Element docEle = mDom.getDocumentElement();
109 Element l = (Element)nl.item(i);
117 Element c = (Element)nl.item(i);
125 Element img = (Element)nl.item(i);
133 Element e = (Element)nl.item(i); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
MarkupAccumulator.h | 38 class Element; 86 virtual void appendCustomAttributes(StringBuilder&, const Element&, Namespaces*); 87 bool shouldAddNamespaceElement(const Element&, Namespaces&); 88 bool shouldAddNamespaceAttribute(const Attribute&, const Element&); 96 virtual void appendElement(StringBuilder&, Element&, Namespaces*); 97 void appendOpenTag(StringBuilder&, const Element&, Namespaces*); 98 void appendCloseTag(StringBuilder&, const Element&); 99 void appendAttribute(StringBuilder&, const Element&, const Attribute&, Namespaces*); 110 String resolveURLIfNeeded(const Element&, const String&) const; 111 void appendQuotedURLAttributeValue(StringBuilder&, const Element&, const Attribute&) [all...] |
CompositeEditCommand.h | 37 class Element; 56 Element* startingRootEditableElement() const { return m_startingRootEditableElement.get(); } 57 Element* endingRootEditableElement() const { return m_endingRootEditableElement.get(); } 68 RefPtrWillBeMember<Element> m_startingRootEditableElement; 69 RefPtrWillBeMember<Element> m_endingRootEditableElement; 100 void applyStyledElement(PassRefPtrWillBeRawPtr<Element>); 101 void removeStyledElement(PassRefPtrWillBeRawPtr<Element>); 112 void mergeIdenticalElements(PassRefPtrWillBeRawPtr<Element>, PassRefPtrWillBeRawPtr<Element>); 120 void removeCSSProperty(PassRefPtrWillBeRawPtr<Element>, CSSPropertyID) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetAttributeNS.java | 24 import org.w3c.dom.Element; 35 * Retrieve the first "emp:address" element. The value returned by the 82 // Element testAddr; 86 // testAddr = (Element) elementList.item(0); 97 Element testAddr; 103 testAddr = (Element) elementList.item(0); 107 testAddr = (Element) elementList.item(0); 116 Element testAddr; 120 testAddr = (Element) elementList.item(0); 133 Element testAddr [all...] |
NodeHasAttributes.java | 26 import org.w3c.dom.Element; 35 * The method hasAttributes returns whether this node (if it is an element) has 36 * any attributes. Retreive an element node without attributes. Verify if 37 * hasAttributes returns false. Retreive another element node with attributes. 76 Element element; local 81 element = (Element) elementList.item(0); 82 hasAttributes = element.hasAttributes(); 85 element = (Element) elementList.item(0) 100 Element element; local 116 Element element; local [all...] |
ElementGetElementsByTagNameNS.java | 3 import org.w3c.dom.Element; 52 Element element; local 55 element = doc.getDocumentElement(); 56 elementList = element.getElementsByTagNameNS("**", "*"); 62 Element element; local 63 Element child1; 64 Element child2; 65 Element child3 89 Element element; local [all...] |
HasAttributeNS.java | 24 import org.w3c.dom.Element; 32 * The "hasAttributeNS()" method for an Element should return false if the 33 * element does not have an attribute with the given local name and/or a 34 * namespace URI specified on this element or does not have a default value. 35 * Retrieve the first "address" element and the "hasAttributeNS()" method should 36 * return false since the element has "nomatch" as the local name and 78 Element testNode; 82 testNode = (Element) elementList.item(0); 91 Element testNode; 95 testNode = (Element) elementList.item(0) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Element.java | 20 * <p>An Element represents one item within an {@link 21 * android.renderscript.Allocation}. An Element is roughly equivalent to a C 24 * kernel)</li> <li>A four-element float vector (equivalent to a float4 in a 27 * kernel)</li> </ul> <p>A complex element is roughly equivalent to a C struct 29 * element contains a list of sub-elements and names that represents a 35 * android.renderscript.Element.DataType} and a {@link 36 * android.renderscript.Element.DataKind}. The DataType encodes C type 37 * information of an Element, while the DataKind encodes how that Element should 40 * android.renderscript.Element.DataKind#USER} cannot be used as input for [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
AllocationInfo.java | 25 import android.renderscript.Element; 32 * their size, element, type, and usage. 45 private final Element mElement; 53 * Create a new {@link AllocationInfo} holding the element, size, and usage 76 * <p>The closest {@link Element} possible is created from the format.</p> 92 Element element; local 95 element = Element.YUV(rs); 98 element = Element.RGBA_8888(rs) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ClearObjectTest.java | 20 import android.renderscript.Element; 63 Element element = Element.BOOLEAN(mRS); local 64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 66 ms_clear.set_element(element); 79 Type type= new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) [all...] |
IntrinsicBase.java | 22 import android.renderscript.Element; 49 protected Element makeElement(Element.DataType dt, int vecSize) { 50 Element e; 52 e = Element.createVector(mRS, dt, vecSize); 54 if (dt == Element.DataType.UNSIGNED_8) { 55 e = Element.U8(mRS); 57 e = Element.F32(mRS); 63 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { 79 protected Allocation makeAllocation(int w, int h, Element e) [all...] |
IntrinsicBlur.java | 33 private void initTest(int w, int h, Element e, Script.LaunchOptions lo) { 36 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 62 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { 66 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { 74 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { 78 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { 88 Element e = Element.U8(mRS); 102 Element e = Element.U8_4(mRS) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorChecker.h | 32 #include "core/dom/Element.h" 39 class Element; 64 SelectorCheckingContext(const CSSSelector& selector, Element* element, VisitedMatchType visitedMatchType) 66 , element(element) 81 Element* element; member in struct:WebCore::SelectorChecker::SelectorCheckingContext 82 Element* previousElement; 114 static bool tagMatches(const Element&, const QualifiedName&) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
ElementAnimation.h | 39 #include "core/dom/Element.h" 48 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) 50 return animateInternal(element, effect, TimingInput::convert(timingInputDictionary)); 53 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, double duration) 55 return animateInternal(element, effect, TimingInput::convert(duration)); 58 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect) 60 return animateInternal(element, effect, Timing()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LinearLayoutWeightFix.java | 31 import org.w3c.dom.Element; 53 if (node instanceof Element && node.getParentNode() instanceof Element) { 54 Element element = (Element) node; local 55 Element parent = (Element) node.getParentNode(); 63 element.setAttributeNS(ANDROID_URI, dimension, VALUE_ZERO_DP);
|
SetScrollViewSizeFix.java | 30 import org.w3c.dom.Element; 52 if (node instanceof Element && node.getParentNode() instanceof Element) { 53 Element element = (Element) node; local 54 Element parent = (Element) node.getParentNode(); 58 element.setAttributeNS(ANDROID_URI, attributeName, VALUE_WRAP_CONTENT);
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
Internals.idl | 35 [RaisesException] DOMString elementRenderTreeAsText(Element element); 45 [RaisesException] boolean isSharingStyle(Element element1, Element element2); 49 [RaisesException] ShadowRoot shadowRoot(Element host); 50 [RaisesException] ShadowRoot youngestShadowRoot(Element host); 51 [RaisesException] ShadowRoot oldestShadowRoot(Element host); 58 [RaisesException] DOMString shadowPseudoId(Element element); 59 [RaisesException] void setShadowPseudoId(Element element, DOMString id) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XMLErrors.cpp | 35 #include "core/dom/Element.h" 91 static inline PassRefPtrWillBeRawPtr<Element> createXHTMLParserErrorHeader(Document* doc, const String& errorMessages) 93 RefPtrWillBeRawPtr<Element> reportElement = doc->createElement(QualifiedName(nullAtom, "parsererror", xhtmlNamespaceURI), true); 99 RefPtrWillBeRawPtr<Element> h3 = doc->createElement(h3Tag, true); 103 RefPtrWillBeRawPtr<Element> fixed = doc->createElement(divTag, true); 125 RefPtrWillBeRawPtr<Element> documentElement = m_document->documentElement(); 127 RefPtrWillBeRawPtr<Element> rootElement = m_document->createElement(htmlTag, true); 128 RefPtrWillBeRawPtr<Element> body = m_document->createElement(bodyTag, true); 133 RefPtrWillBeRawPtr<Element> rootElement = m_document->createElement(htmlTag, true); 134 RefPtrWillBeRawPtr<Element> head = m_document->createElement(headTag, true) [all...] |
/external/chromium_org/content/common/ |
resource_request_body.h | 29 typedef webkit_common::DataElement Element; 41 const std::vector<Element>* elements() const { return &elements_; } 42 std::vector<Element>* elements_mutable() { return &elements_; } 43 void swap_elements(std::vector<Element>* elements) { 57 std::vector<Element> elements_;
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResolver.h | 57 class Element; 88 typedef WTF::Deque<Element*, styleSharingListSize> StyleSharingList; 101 // This class selects a RenderStyle for a given element based on a collection of stylesheets. 112 void pushParentElement(Element&); 113 void popParentElement(Element&); 117 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, StyleSharingBehavior = AllowStyleSharing, 120 PassRefPtr<RenderStyle> styleForKeyframe(Element*, const RenderStyle&, RenderStyle* parentStyle, const StyleKeyframe*, const AtomicString& animationName); 121 static PassRefPtrWillBeRawPtr<AnimatableValue> createAnimatableValueSnapshot(Element&, CSSPropertyID, CSSValue&); 124 PassRefPtr<RenderStyle> pseudoStyleForElement(Element*, const PseudoStyleRequest&, RenderStyle* parentStyle); 162 void styleTreeResolveScopedKeyframesRules(const Element* element, Vector<ScopedStyleResolver*, 8>& resolvers [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Attr.h | 43 static PassRefPtrWillBeRawPtr<Attr> create(Element&, const QualifiedName&); 49 Element* ownerElement() const { return m_element; } 59 void attachToElement(Element*, const AtomicString&); 69 Attr(Element&, const QualifiedName&); 90 // Attr wraps either an element/name, or a name/value pair (when it's a standalone Node.) 92 RawPtrWillBeMember<Element> m_element; 95 // attribute it is attached to on an Element. The latter may (letter case)
|
NamedNodeMap.h | 29 #include "core/dom/Element.h" 41 friend class Element; 43 static PassOwnPtrWillBeRawPtr<NamedNodeMap> create(Element* element) 45 return adoptPtrWillBeNoop(new NamedNodeMap(element)); 67 Element* element() const { return m_element; } function in class:WebCore::FINAL 72 explicit NamedNodeMap(Element* element) 73 : m_element(element) [all...] |
UserActionElementSet.h | 38 class Element; 76 void setFlags(Element*, unsigned); 77 void clearFlags(Element*, unsigned); 78 bool hasFlags(const Element*, unsigned flags) const; 80 typedef WillBeHeapHashMap<RefPtrWillBeMember<Element>, unsigned> ElementFlagMap;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAllCollection.cpp | 29 #include "core/dom/Element.h" 50 Element* HTMLAllCollection::namedItemWithIndex(const AtomicString& name, unsigned index) const 55 if (WillBeHeapVector<RawPtrWillBeMember<Element> >* elements = cache.getElementsById(name)) { 61 if (WillBeHeapVector<RawPtrWillBeMember<Element> >* elements = cache.getElementsByName(name)) { 69 void HTMLAllCollection::namedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtrWillBeRawPtr<NodeList>& returnValue0, bool& returnValue1Enabled, RefPtrWillBeRawPtr<Element>& returnValue1) 71 WillBeHeapVector<RefPtrWillBeMember<Element> > namedItems;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
DOMEditor.h | 39 class Element; 57 bool setAttribute(Element*, const String& name, const String& value, ExceptionState&); 58 bool removeAttribute(Element*, const String& name, ExceptionState&); 66 bool setAttribute(Element*, const String& name, const String& value, ErrorString*); 67 bool removeAttribute(Element*, const String& name, ErrorString*);
|