HomeSort by relevance Sort by last modified time
    Searched refs:element (Results 151 - 175 of 2645) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
ForwardingList.java 65 public void add(int index, E element) {
66 delegate().add(index, element);
80 public int indexOf(Object element) {
81 return delegate().indexOf(element);
85 public int lastIndexOf(Object element) {
86 return delegate().lastIndexOf(element);
105 public E set(int index, E element) {
106 return delegate().set(index, element);
130 @Beta protected boolean standardAdd(E element){
131 add(size(), element); local
    [all...]
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/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/devtools/front_end/
NativeBreakpointsSidebarPane.js 51 _addListElement: function(element, beforeElement)
54 this.listElement.insertBefore(element, beforeElement);
60 this.listElement.appendChild(element);
64 _removeListElement: function(element)
66 this.listElement.removeChild(element);
PieChart.js 37 this.element = document.createElement("div");
38 this.element.className = "pie-chart";
39 this.element.createChild("div", "pie-chart-background");
41 this.element.createChild("div", "pie-chart-foreground").textContent = totalString;
67 var sliceElement = this.element.createChild("div", "pie-chart-slice");
NavigatorOverlayController.js 41 this._navigatorSidebarResizeWidgetElement = this._navigatorView.element.createChild("div", "resizer-widget");
47 parentSidebarView.mainElement.appendChild(this._navigatorShowHideButton.element);
80 this._parentSidebarView.element.appendChild(this._navigatorShowHideButton.element);
82 this._editorView.element.classList.add("navigator-hidden");
98 this._editorView.element.classList.remove("navigator-hidden");
100 this._editorView.element.appendChild(this._navigatorShowHideButton.element);
119 this._sidebarOverlay.element.addEventListener("keydown", this._boundKeyDown, false);
125 this._navigatorView.element.appendChild(this._navigatorShowHideButton.element)
    [all...]
  /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...]
  /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/
HTMLCollection.cpp 180 inline bool isMatchingElement(const NodeListType*, Element*);
182 template <> inline bool isMatchingElement(const HTMLCollection* htmlCollection, Element* element)
185 if (!element->isHTMLElement() && !(type == DocAll || type == NodeChildren || type == WindowNamedItems))
190 return element->hasLocalName(imgTag);
192 return element->hasLocalName(scriptTag);
194 return element->hasLocalName(formTag);
196 return element->hasLocalName(tbodyTag);
198 return element->hasLocalName(tdTag) || element->hasLocalName(thTag)
307 Element* element = ElementTraversal::firstWithin(root); local
530 Element* element = ElementTraversal::firstWithin(root); local
    [all...]
HTMLFormControlsCollection.cpp 69 Element* HTMLFormControlsCollection::virtualItemAfter(unsigned& offset, Element* previousItem) const
75 FormAssociatedElement* element = elementsArray[offset]; local
76 if (element->isEnumeratable())
77 return toHTMLElement(element);
89 HTMLElement* element = toHTMLElement(elementsArray[i]); local
90 if (elementsArray[i]->isEnumeratable() && element->fastGetAttribute(attrName) == name)
91 return element;
98 HTMLImageElement* element = (*imageElementsArray)[i]; local
99 if (element->fastGetAttribute(attrName) == name
132 HTMLElement* element = toHTMLElement(associatedElement); local
149 HTMLImageElement* element = imageElementsArray[i]; local
    [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...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLFormattingElementList.h 36 class Element;
65 Element* element() const function in class:WebCore::HTMLFormattingElementList::Entry
68 // callers should check isMarker() before calling element().
70 return m_item->element();
75 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/ceres-solver/include/ceres/
ordered_groups.h 44 // that can serve as a key in a map or an element of a set.
46 // An element can only belong to one group at a time. A group may
53 // Add an element to a group. If a group with this id does not
55 // times for the same element. Group ids should be non-negative
58 // Return value indicates if adding the element was a success.
59 bool AddElementToGroup(const T element, const int group) {
64 typename map<T, int>::const_iterator it = element_to_group_.find(element);
67 // Element is already in the right group, nothing to do.
71 group_to_elements_[it->second].erase(element);
77 element_to_group_[element] = group
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
ColorInputType.cpp 75 PassRefPtr<InputType> ColorInputType::create(HTMLInputElement& element)
77 return adoptRef(new ColorInputType(element));
120 return Color(element().value());
125 ASSERT(element().shadow());
127 Document& document = element().document();
133 element().userAgentShadowRoot()->appendChild(wrapperElement.release());
152 if (element().isDisabledFormControl() || !element().renderer())
182 if (element().isDisabledFormControl() || color == valueAsColor())
184 element().setValueFromRenderer(color.serialized())
    [all...]

Completed in 505 milliseconds

1 2 3 4 5 67 8 91011>>