HomeSort by relevance Sort by last modified time
    Searched refs:element (Results 176 - 200 of 3120) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/tools/telemetry/telemetry/page/actions/
play.js 11 console.log('Playing element: ' + mediaElements[i].src);
16 function play(element) {
17 if (element instanceof HTMLMediaElement)
18 playHTML5Element(element);
23 function playHTML5Element(element) {
24 window.__registerHTML5ErrorEvents(element);
25 window.__registerHTML5EventCompleted(element, 'playing');
26 window.__registerHTML5EventCompleted(element, 'ended');
30 element.dispatchEvent(willPlayEvent);
31 element.play()
    [all...]
loop.js 15 function loop(element, loopCount) {
16 if (element instanceof HTMLMediaElement)
17 loopHTML5Element(element, loopCount);
22 function loopHTML5Element(element, loopCount) {
23 window.__registerHTML5ErrorEvents(element);
24 element['loop_completed'] = false;
29 element.pause();
30 element.removeEventListener('seeked', onLoop);
31 element['loop_completed'] = true;
35 element.dispatchEvent(endLoopEvent)
    [all...]
seek.js 18 function seekHTML5Element(element, seekTime, logSeekTime, seekLabel) {
20 seekHTML5ElementPostLoad(element, seekTime, logSeekTime, seekLabel);
22 if (element.readyState == element.HAVE_NOTHING) {
24 element.removeEventListener('loadedmetadata', onLoadedMetaData);
27 element.addEventListener('loadedmetadata', onLoadedMetaData);
28 element.load();
34 function seekHTML5ElementPostLoad(element, seekTime, logSeekTime, seekLabel) {
35 // Reset seek completion since multiple seeks can run on same media element.
36 element['seeked_completed'] = false
    [all...]
  /external/srec/shared/include/
IntArrayListImpl.h 42 * Virtual number of allocated element slots.
46 * Actual number of allocated element slots.
56 ESR_SHARED_API ESR_ReturnCode IntArrayList_Add(IntArrayList* self, const int element);
61 ESR_SHARED_API ESR_ReturnCode IntArrayList_Remove(IntArrayList* self, const int element);
71 ESR_SHARED_API ESR_ReturnCode IntArrayList_Contains(IntArrayList* self, const int element, ESR_BOOL* exists);
76 ESR_SHARED_API ESR_ReturnCode IntArrayList_Get(IntArrayList* self, size_t index, int* element);
81 ESR_SHARED_API ESR_ReturnCode IntArrayList_Set(IntArrayList* self, size_t index, const int element);
Int8ArrayList.h 43 * Adds element to list.
46 * @param element Element to be added
48 ESR_ReturnCode(*add)(struct Int8ArrayList_t* self, asr_int8_t element);
51 * Removes element from list.
54 * @param element Element to be removed
56 ESR_ReturnCode(*remove)(struct Int8ArrayList_t* self, asr_int8_t element);
66 * Indicates if element is contained within the list.
69 * @param element Element to check fo
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
GrowingArrayUtils.java 32 * Appends an element to the end of the array, growing the array if there is no more room.
33 * @param array The array to which to append the element. This must NOT be null.
36 * @param element The element to append.
37 * @return the array to which the element was appended. This may be different than the given
40 public static <T> T[] append(T[] array, int currentSize, T element) {
50 array[currentSize] = element;
57 public static int[] append(int[] array, int currentSize, int element) {
65 array[currentSize] = element;
72 public static long[] append(long[] array, int currentSize, long element) {
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
elementhasattribute03.java 35 * on this element or has a default value, false otherwise.
36 * Create an element Node and an attribute Node. Invoke hasAttribute method
37 * to verify that there is no attribute. Append the attribute node to the element node.
38 * Invoke the hasAttribute method on the element and verify if it returns true.
67 Element element; local
72 element = doc.createElement("address");
74 state = element.hasAttribute("domestic");
76 newAttribute = element.setAttributeNode(attribute);
77 state = element.hasAttribute("domestic")
    [all...]
nodehasattributes01.java 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes.
35 * Retreive an element node without attributes. Verify if hasAttributes returns false.
36 * Retreive another element node with attributes. Verify if hasAttributes returns true.
64 Element element; local
69 element = (Element) elementList.item(0);
70 hasAttributes = element.hasAttributes();
73 element = (Element) elementList.item(0)
    [all...]
  /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(
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...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLFormattingElementList.h 36 class Element;
67 Element* element() const function in class:blink::HTMLFormattingElementList::Entry
70 // callers should check isMarker() before calling element().
72 return m_item->element();
77 bool operator==(Element* element) const { return !m_item ? !element : m_item->element() == element; }
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
xmpplogintask.cc 82 XmppLoginTask::IncomingStanza(const XmlElement *element, bool isStart) {
83 pelStanza_ = element;
102 const XmlElement * element = NULL; local
126 if (NULL == (element = NextStanza()))
129 if (!isStart_ || !HandleStartStream(element))
137 if (NULL == (element = NextStanza()))
140 if (!HandleFeatures(element))
176 if (NULL == (element = NextStanza()))
178 if (element->Name() != QN_TLS_PROCEED)
243 if (NULL == (element = NextStanza())
    [all...]
  /external/chromium_org/ui/gfx/animation/
animation_container.cc 27 void AnimationContainer::Start(AnimationContainerElement* element) {
28 DCHECK(elements_.count(element) == 0); // Start should only be invoked if the
29 // element isn't running.
33 SetMinTimerInterval(element->GetTimerInterval());
34 } else if (element->GetTimerInterval() < min_timer_interval_) {
35 SetMinTimerInterval(element->GetTimerInterval());
38 element->SetStartTime(last_tick_time_);
39 elements_.insert(element);
42 void AnimationContainer::Stop(AnimationContainerElement* element) {
43 DCHECK(elements_.count(element) > 0); // The element must be running
    [all...]
  /external/srec/shared/src/
Int8ArrayList.c 26 ESR_ReturnCode Int8ArrayListAdd(Int8ArrayList* self, asr_int8_t element)
33 return self->add(self, element);
36 ESR_ReturnCode Int8ArrayListRemove(Int8ArrayList* self, asr_int8_t element)
43 return self->remove(self, element);
56 ESR_ReturnCode Int8ArrayListContains(Int8ArrayList* self, asr_int8_t element, ESR_BOOL* exists)
63 return self->contains(self, element, exists);
76 ESR_ReturnCode Int8ArrayListGet(Int8ArrayList* self, size_t index, asr_int8_t* element)
83 return self->get(self, index, element);
86 ESR_ReturnCode Int8ArrayListSet(Int8ArrayList* self, size_t index, asr_int8_t element)
93 return self->set(self, index, element);
    [all...]
  /external/guava/guava/src/com/google/common/collect/
Constraints.java 49 public Object checkElement(Object element) {
50 return checkNotNull(element);
59 * Returns a constraint that verifies that the element is not null. If the
60 * element is null, a {@link NullPointerException} is thrown.
98 @Override public boolean add(E element) {
99 constraint.checkElement(element);
100 return delegate.add(element);
136 @Override public boolean add(E element) {
137 constraint.checkElement(element);
138 return delegate.add(element);
    [all...]
ForwardingMultiset.java 61 public int count(Object element) {
62 return delegate().count(element);
66 public int add(E element, int occurrences) {
67 return delegate().add(element, occurrences);
71 public int remove(Object element, int occurrences) {
72 return delegate().remove(element, occurrences);
94 public int setCount(E element, int count) {
95 return delegate().setCount(element, count);
99 public boolean setCount(E element, int oldCount, int newCount) {
100 return delegate().setCount(element, oldCount, newCount)
    [all...]
  /external/ceres-solver/include/ceres/
ordered_groups.h 46 // that can serve as a key in a map or an element of a set.
48 // An element can only belong to one group at a time. A group may
55 // Add an element to a group. If a group with this id does not
57 // times for the same element. Group ids should be non-negative
60 // Return value indicates if adding the element was a success.
61 bool AddElementToGroup(const T element, const int group) {
66 typename map<T, int>::const_iterator it = element_to_group_.find(element);
69 // Element is already in the right group, nothing to do.
73 group_to_elements_[it->second].erase(element);
79 element_to_group_[element] = group
    [all...]
  /external/chromium_org/chrome/renderer/safe_browsing/
malware_dom_details.cc 24 const blink::WebElement& element,
27 if (!element.hasAttribute("src"))
31 blink::WebURL full_url = element.document().completeURL(
32 element.getAttribute("src"));
42 child_node.tag_name = element.tagName().utf8();
104 blink::WebElement element = elements.firstItem(); local
105 for (; !element.isNull(); element = elements.nextItem()) {
106 if (element.hasHTMLTagName("iframe") || element.hasHTMLTagName("frame") |
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
RenderTreeBuilder.cpp 48 Element* element = m_node->isElementNode() ? toElement(m_node) : 0; local
50 if (element && element->isInTopLayer())
51 return NodeRenderingTraversal::nextInTopLayer(element);
64 Element* element = m_node->isElementNode() ? toElement(m_node) : 0; local
66 if (element && m_renderingParent->renderer()) {
70 if (element->isInTopLayer())
82 // SVG elements only render when inside <svg>, or if the element is an <svg> itself
    [all...]
SelectorQuery.cpp 44 typedef Element* OutputType;
46 ALWAYS_INLINE static void appendElement(OutputType& output, Element& element)
49 output = &element;
54 typedef WillBeHeapVector<RefPtrWillBeMember<Element> > OutputType;
56 ALWAYS_INLINE static void appendElement(OutputType& output, Element& element)
58 output.append(&element);
75 Element* next()
77 Element* current = m_currentElement
214 Element* element = rootNode.treeScope().getElementById(selector->value()); local
292 Element& element = *traverseRoots.next(); local
391 Element* element = toElement(node); local
433 Element& element = *elements[i]; local
444 Element* element = rootNode.treeScope().getElementById(idToMatch); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/custom/
CustomElementUpgradeCandidateMap.cpp 34 #include "core/dom/Element.h"
47 // element; no need for explicit removal.
54 void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descriptor, Element* element)
56 observe(element);
58 UpgradeCandidateMap::AddResult result = m_upgradeCandidates.add(element, descriptor);
67 elements->add(element);
70 void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element)
72 CustomElementObserver::elementWasDestroyed(element);
    [all...]
  /external/chromium_org/components/autofill/content/renderer/
form_autofill_util.cc 57 bool IsOptionElement(const WebElement& element) {
59 return element.hasHTMLTagName(kOption);
62 bool IsScriptElement(const WebElement& element) {
64 return element.hasHTMLTagName(kScript);
67 bool IsNoScriptElement(const WebElement& element) {
69 return element.hasHTMLTagName(kNoScript);
76 bool IsAutofillableElement(const WebFormControlElement& element) {
77 const WebInputElement* input_element = toWebInputElement(&element);
79 IsSelectElement(element) ||
80 IsTextAreaElement(element);
139 const WebElement element = node.toConst<WebElement>(); local
488 WebFormControlElement* element = &control_elements[i]; local
686 blink::WebElement element; local
727 WebFormControlElement element = control_elements[i]; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
FormAssociatedElement.cpp 81 HTMLElement* element = toHTMLElement(this); local
82 if (element->fastHasAttribute(formAttr))
94 HTMLElement* element = toHTMLElement(this);
95 if (element->fastHasAttribute(formAttr))
101 HTMLElement* element = toHTMLElement(this); local
102 if (insertionPoint->inDocument() && element->fastHasAttribute(formAttr))
104 // If the form and element are both in the same tree, preserve the connection to the form.
106 if (m_form && NodeTraversal::highestAncestorOrSelf(*element) != NodeTraversal::highestAncestorOrSelf(*m_form.get()))
110 HTMLFormElement* FormAssociatedElement::findAssociatedForm(const HTMLElement* element)
112 const AtomicString& formId(element->fastGetAttribute(formAttr))
182 HTMLElement* element = toHTMLElement(this); local
208 const HTMLElement* element = toHTMLElement(this); local
283 HTMLElement* element = toHTMLElement(this); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
Placard.js 34 this.element = document.createElementWithClass("div", "placard");
35 this.element.placard = this;
37 this.subtitleElement = this.element.createChild("div", "subtitle");
38 this.titleElement = this.element.createChild("div", "title");
94 this.element.classList.add("selected");
102 this.element.classList.remove("selected");
126 this.element.classList.toggle("hidden", x);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_draw.c 56 const struct pipe_vertex_element *element = local
59 &vertex_buffers[element->vertex_buffer_index];
72 format_desc = util_format_description(element->src_format);
85 if (element->src_offset >= buffer_size) {
90 buffer_size -= element->src_offset;
104 if (element->instance_divisor == 0) {
111 assert((info->start_instance + info->instance_count)/element->instance_divisor

Completed in 650 milliseconds

1 2 3 4 5 6 78 91011>>