/libcore/luni/src/test/java/tests/org/w3c/dom/ |
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(
|
NamedNodeMapGetNamedItemNS.java | 29 import org.w3c.dom.Element; 103 Node element; local 110 element = elementList.item(1); 111 attributes = element.getAttributes(); 120 Node element; local 127 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 129 ((Element) /* Node */element).setAttributeNodeNS(newAttr1); 131 ((Element) /* Node */element).setAttributeNodeNS(newAttr2) 141 Element element; local 160 Node element; local [all...] |
NamedNodeMapRemoveNamedItemNS.java | 29 import org.w3c.dom.Element; 78 Node element; local 84 element = elementList.item(1); 85 attributes = element.getAttributes(); 97 // Node element; 106 // element = elementList.item(1); 107 // attributes = element.getAttributes(); 118 Node element; local 125 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 128 ((Element) /* Node */element).setAttributeNodeNS(attribute1) 143 Node element; local 210 Node element; local 232 Node element; local 254 Element element; local 278 Element element; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
TextFieldInputType.cpp | 103 RefPtr<DataListIndicatorElement> element = adoptRef(new DataListIndicatorElement(document)); local 104 element->setPseudo(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral)); 105 element->setAttribute(idAttr, ShadowElementNames::pickerIndicator()); 106 return element.release(); 111 TextFieldInputType::TextFieldInputType(HTMLInputElement& element) 112 : InputType(element) 124 return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); 148 return !shouldIgnoreRequiredAttribute(element()) && element().isRequired() && value.isEmpty(); 158 // Grab this input element to keep reference even if JS event handle [all...] |
SubmitInputType.cpp | 45 PassRefPtr<InputType> SubmitInputType::create(HTMLInputElement& element) 47 return adoptRef(new SubmitInputType(element)); 57 if (!element().isActivatedSubmit()) 59 encoding.appendData(element().name(), element().valueWithDefault()); 70 RefPtr<HTMLInputElement> element(this->element()); 71 if (element->isDisabledFormControl() || !element->form()) 73 element->setActivatedSubmit(true) [all...] |
BaseMultipleFieldsDateAndTimeInputType.cpp | 131 return toDateTimeEditElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::dateTimeEdit())); 136 return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); 141 return toClearButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton())); 146 return toPickerIndicatorElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::pickerIndicator())); 151 return element().userAgentShadowRoot()->contains(element().document().focusedElement()); 161 RefPtr<HTMLInputElement> protector(element()); 163 element().setFocus(false); 174 // FIXME: Setting the focus flag to non-focused element is too tricky. 175 element().setFocus(true) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorChecker.h | 32 #include "core/dom/Element.h" 39 class Element; 69 SelectorCheckingContext(const CSSSelector* selector, Element* element, VisitedMatchType visitedMatchType) 71 , element(element) 85 Element* element; member in struct:WebCore::SelectorChecker::SelectorCheckingContext 117 static bool tagMatches(const Element&, const QualifiedName&, MatchingTagType = MatchingElement); 119 static bool matchesFocusPseudoClass(const Element&) [all...] |
SelectorFilter.h | 32 #include "core/dom/Element.h" 42 void pushParentStackFrame(Element& parent); 45 void setupParentStack(Element& parent); 46 void pushParent(Element& parent); 49 bool parentStackIsConsistent(const ContainerNode* parentNode) const { return !m_parentStack.isEmpty() && m_parentStack.last().element == parentNode; } 57 ParentStackFrame() : element(0) { } 58 ParentStackFrame(Element& element) : element(&element) { } 59 Element* element; member in struct:WebCore::SelectorFilter::ParentStackFrame [all...] |
/frameworks/rs/cpp/ |
ScriptIntrinsics.cpp | 25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) 35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { 36 if (e->isCompatible(Element::U8_4(rs)) == false) { 37 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); 43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) 50 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "3DLUT forEach element mismatch"); 58 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "setLUT element does not match"); 69 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { 70 if (e->isCompatible(Element::U8_4(rs)) == false) { 71 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic") [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
TransferQueue.java | 42 * Transfers the element to a waiting consumer immediately, if possible. 44 * <p>More precisely, transfers the specified element immediately 47 * otherwise returning {@code false} without enqueuing the element. 49 * @param e the element to transfer 50 * @return {@code true} if the element was transferred, else 52 * @throws ClassCastException if the class of the specified element 54 * @throws NullPointerException if the specified element is null 56 * element prevents it from being added to this queue 61 * Transfers the element to a consumer, waiting if necessary to do so. 63 * <p>More precisely, transfers the specified element immediatel [all...] |
/external/chromium_org/android_webview/test/shell/assets/ |
full_screen_video_test.html | 5 var element = document.getElementById(id); 6 if (element.webkitRequestFullScreen) { 7 element.webkitRequestFullScreen();
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
focusringcolor-change-on-theme-change.html | 1 <input value="Click on me! Focus ring color around this input element should change." style="width:100%"> 3 <li>Select the input element above.</li> 8 <p>The tests passes if the focus ring around the input element changes color.</p>
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/ |
ElementFactory.h.tmpl | 13 class {{namespace}}Element; 21 static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const AtomicString& localName,
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NamedNodeMap.h | 36 class Element; 41 friend class Element; 43 static PassOwnPtr<NamedNodeMap> create(Element* element) 45 return adoptPtr(new NamedNodeMap(element)); 65 Element* element() const { return m_element; } function in class:WebCore::NamedNodeMap 68 explicit NamedNodeMap(Element* element) 69 : m_element(element) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLLegendElement.cpp | 52 Element* fieldset = parentElement(); 58 // Find first form element inside the fieldset that is not a legend element. 60 Element* element = fieldset; 61 while ((element = ElementTraversal::next(*element, fieldset))) { 62 if (element->isFormControlElement()) 63 return toHTMLFormControlElement(element); 72 Element::focus(true, direction) [all...] |
FormAssociatedElement.cpp | 71 HTMLElement* element = toHTMLElement(this); local 72 if (element->fastHasAttribute(formAttr)) 85 HTMLElement* element = toHTMLElement(this); 86 if (element->fastHasAttribute(formAttr)) 92 HTMLElement* element = toHTMLElement(this); local 93 if (insertionPoint->inDocument() && element->fastHasAttribute(formAttr)) 95 // If the form and element are both in the same tree, preserve the connection to the form. 97 if (m_form && element->highestAncestor() != m_form->highestAncestor()) 101 HTMLFormElement* FormAssociatedElement::findAssociatedForm(const HTMLElement* element, HTMLFormElement* currentAssociatedForm) 103 const AtomicString& formId(element->fastGetAttribute(formAttr)) 165 HTMLElement* element = toHTMLElement(this); local 172 HTMLElement* element = toHTMLElement(this); local 177 HTMLElement* element = toHTMLElement(this); local 190 const HTMLElement* element = toHTMLElement(this); local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicColorMatrix.java | 24 * If the element type is {@link Element.DataType#UNSIGNED_8}, 25 * it is converted to {@link Element.DataType#FLOAT_32} and 27 * is less than four, a {@link Element#F32_4} is created by 30 * rsMatrixMultiply(), adding a {@link Element#F32_4}, and then 37 * Supported elements types are {@link Element#U8}, {@link 38 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}, 39 * {@link Element#F32}, {@link Element#F32_2}, {@lin [all...] |
/external/chromium/chrome/browser/resources/shared/js/ |
i18n_template.js | 11 * * i18n-content which sets the textContent of the element 14 * i18nTemplate.process(element, {'myContent': 'Content'}); 20 * i18nTemplate.process(element, { 35 * This handler sets the textContent of the element. 37 'i18n-content': function(element, attributeValue, obj) { 38 element.textContent = obj[attributeValue]; 42 * This handler adds options to a select element. 44 'i18n-options': function(element, attributeValue, obj) { 49 element.appendChild(option); 59 'i18n-values': function(element, attributeValue, obj) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementCallbackInvocation.cpp | 34 #include "core/dom/Element.h" 47 virtual void dispatch(Element*) OVERRIDE; 51 void CreatedInvocation::dispatch(Element* element) 53 if (element->inDocument() && element->document().domWindow()) 54 CustomElementCallbackScheduler::scheduleAttachedCallback(callbacks(), element); local 55 callbacks()->created(element); 63 virtual void dispatch(Element*) OVERRIDE; 75 void AttachedDetachedInvocation::dispatch(Element* element [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Layers3DView.js | 39 this.element.classList.add("fill"); 40 this.element.classList.add("layers-3d-view"); 45 this._rotatingContainerElement = this.element.createChild("div", "fill rotating-container"); 46 this.element.addEventListener("mousemove", this._onMouseMove.bind(this), false); 47 this.element.addEventListener("mouseout", this._onMouseMove.bind(this), false); 48 this.element.addEventListener("mousedown", this._onMouseDown.bind(this), false); 49 this.element.addEventListener("mouseup", this._onMouseUp.bind(this), false); 50 this.element.addEventListener("contextmenu", this._onContextMenu.bind(this), false); 51 this.element.addEventListener("dblclick", this._onDoubleClick.bind(this), false); 52 this.element.addEventListener("click", this._onClick.bind(this), false) [all...] |
/external/chromium_org/ui/webui/resources/js/ |
i18n_template.js | 13 * * i18n-content which sets the textContent of the element 16 * i18nTemplate.process(element, {'myContent': 'Content'}); 22 * i18nTemplate.process(element, { 37 * This handler sets the textContent of the element. 39 'i18n-content': function(element, attributeValue, obj) { 40 element.textContent = obj[attributeValue]; 44 * This handler adds options to a select element. 46 'i18n-options': function(element, attributeValue, obj) { 51 element.appendChild(option); 61 'i18n-values': function(element, attributeValue, obj) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema/ |
build.xsd | 4 <xs:element name="build"> 7 <xs:element maxOccurs="1" minOccurs="0" ref="detail"/> 8 <xs:element maxOccurs="1" minOccurs="0" ref="update"/> 9 <xs:element maxOccurs="1" minOccurs="0" ref="downloads"/> 10 <xs:element maxOccurs="1" minOccurs="0" ref="releasenotes"/> 12 <xs:element maxOccurs="1" minOccurs="0" ref="releases"/> 14 <xs:element maxOccurs="1" minOccurs="0" ref="tests"/> 16 <xs:element maxOccurs="1" minOccurs="0" ref="dependencies"/> 17 <xs:element maxOccurs="1" minOccurs="0" ref="coordinated"/> 26 </xs:element> [all...] |
/packages/apps/Mms/src/org/w3c/dom/smil/ |
ElementTimeControl.java | 21 * Causes this element to begin the local timeline (subject to sync 24 * element was begun. <code>false</code> if the method call failed. 25 * Possible reasons for failure include: The element doesn't support 27 * attribute is not set to <code>"indefinite"</code> ) The element is 30 * ) The element is active or has been active and can't be restart. 34 * SYNTAX_ERR: The element was not defined with the appropriate syntax 41 * Causes this element to begin the local timeline (subject to sync 46 * the element active duration is evaluated as though the element had 49 * @param offset The offset in seconds at which to begin the element. [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
chio.h | 5 /* changer element types */ 6 #define CHET_MT 0 /* media transport element (robot) */ 7 #define CHET_ST 1 /* storage element (media slots) */ 8 #define CHET_IE 2 /* import/export element */ 9 #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */ 21 * query vendor-specific element types 23 * accessing elements works by specifing type and unit of the element. 29 int cp_curpicker; /* current transport element */ 50 * move a medium from one element to another 53 int cm_fromtype; /* type/unit of source element */ [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
chio.h | 5 /* changer element types */ 6 #define CHET_MT 0 /* media transport element (robot) */ 7 #define CHET_ST 1 /* storage element (media slots) */ 8 #define CHET_IE 2 /* import/export element */ 9 #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */ 21 * query vendor-specific element types 23 * accessing elements works by specifing type and unit of the element. 29 int cp_curpicker; /* current transport element */ 50 * move a medium from one element to another 53 int cm_fromtype; /* type/unit of source element */ [all...] |