/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
DropDownMenu.js | 11 this.element = document.createElementWithClass("select", "drop-down-menu"); 12 this.element.addEventListener("mousedown", this._onBeforeMouseDown.bind(this), true); 13 this.element.addEventListener("mousedown", consumeEvent, false); 14 this.element.addEventListener("change", this._onChange.bind(this), false); 30 var options = this.element.options; 31 var selectedOption = options[this.element.selectedIndex]; 43 this.element.appendChild(option); 51 var children = this.element.children; 55 this.element.selectedIndex = i; 59 this.element.selectedIndex = -1 [all...] |
SuggestBox.js | 97 // Position relative to main DevTools element. 98 var container = WebInspector.Dialog.modalHostView().element; 112 this._overlay.element.classList.toggle("under-anchor", under); 149 this._leftSpacerElement = this._overlay.element.createChild("div", "suggest-box-left-spacer"); 150 this._horizontalElement = this._overlay.element.createChild("div", "suggest-box-horizontal"); 247 var element = document.createElement("div"); 248 element.className = "suggest-box-content-item source-code"; 249 element.tabIndex = -1; 251 var prefixElement = element.createChild("span", "prefix"); 253 var suffixElement = element.createChild("span", "suffix") [all...] |
/external/chromium_org/components/autofill/content/renderer/ |
autofill_agent.cc | 71 // element. 72 void GetDataListSuggestions(const WebInputElement& element, 76 WebElementCollection options = element.dataListOptions(); 82 prefix = element.editingValue(); 83 if (element.isMultiple() && 84 element.formControlType() == WebString::fromUTF8("email")) { 97 !element.isValidValue(option.value())) 243 const WebInputElement* element = toWebInputElement(&web_element); local 245 if (!element || !element->isEnabled() || element->isReadOnly() | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
PluginOcclusionSupport.cpp | 35 #include "core/dom/Element.h" 139 static const Element* topLayerAncestor(const Element* element) 141 while (element && !element->isInTopLayer()) 142 element = element->parentOrShadowHostElement(); 143 return element; 151 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions 177 HTMLElement* element = frameView->frame().deprecatedLocalOwner(); local [all...] |
/external/chromium_org/third_party/webrtc/test/manual/ |
adapter.js | 15 // Attach a media stream to an element. 16 attachMediaStream = function(element, stream) { 18 element.mozSrcObject = stream; 19 element.play(); 31 // Attach a media stream to an element. 32 attachMediaStream = function(element, stream) { 33 element.src = webkitURL.createObjectURL(stream);
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMultiset.java | 59 @Override public boolean contains(@Nullable Object element) { 60 return count(element) > 0; 68 public int count(Object element) { 70 if (Objects.equal(entry.getElement(), element)) { 79 @Override public boolean add(@Nullable E element) { 80 add(element, 1); 85 public int add(E element, int occurrences) { 89 @Override public boolean remove(Object element) { 90 return remove(element, 1) > 0; 94 public int remove(Object element, int occurrences) [all...] |
/external/droiddriver/src/com/google/android/droiddriver/actions/ |
ClickAction.java | 43 public boolean perform(InputInjector injector, UiElement element) { 44 SINGLE.perform(element); 45 SINGLE.perform(element); 56 public boolean perform(InputInjector injector, UiElement element) { 57 Rect elementRect = element.getVisibleBounds(); 72 public boolean perform(InputInjector injector, UiElement element) { 73 Rect elementRect = element.getVisibleBounds();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetSetCountConditionallyTester.java | 38 @Override void setCountCheckReturnValue(E element, int count) { 41 setCount(element, count)); 44 @Override void setCountNoCheckReturnValue(E element, int count) { 45 setCount(element, count); 48 private boolean setCount(E element, int count) { 49 return getMultiset().setCount(element, getMultiset().count(element), count);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
nodeissupported01.java | 37 * Call the isSupported method on the document element node with a combination of features 68 Element element; local 84 element = doc.getDocumentElement(); 87 success = element.isSupported(featureXML, version); 89 success = element.isSupported(featureXML, version1); 94 success = element.isSupported(featureCore, version); 96 success = element.isSupported(featureCore, version1); 97 success = element.isSupported(featureCore, version2);
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
ArrayInitializerFormatter.java | 81 public void outElement(final String element) { 82 if (!element.equals(mLastElement)) { 86 final int nextLen = mBufferedLen + " ".length() + element.length(); 88 // Element can fit in the current line. 90 mBuffer.append(element); 93 // Element should be on the next line. 98 mBuffer.append(element); 99 mBufferedLen = element.length(); 102 mLastElement = element;
|
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_elm.cpp | 43 static uint32_t uprv_uca_processContraction(CntTable *contractions, UCAElements *element, uint32_t existingCE, UErrorCode *status); 48 UCAElements *element = (UCAElements *)e.pointer; local 52 uprv_memcpy(buf, element->cPoints, element->cSize*sizeof(UChar)); 53 buf[element->cSize] = 0; 54 //key.pointer = element->cPoints; 55 //element->cPoints[element->cSize] = 0; 425 * collation element. The size required for maxexpansion and maxsize is 427 * @param endexpansion the last expansion collation element to be adde 797 UCAElements *element = NULL; local 1861 UCAElements element; local [all...] |
ucol_cnt.h | 70 /* adds more contractions in table. If element is non existant, it creates on. Returns element handle */ 72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 73 /* sets a part of contraction sequence in table. If element is non existant, it creates on. Returns element handle */ 75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status); 76 /* inserts a part of contraction sequence in table. Sequences behind the offset are moved back. If element is non existant, it creates on. Returns element handle */ 78 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 81 uprv_cnttab_changeLastCE(CntTable *table, uint32_t element, uint32_t value, UErrorCode *status) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
DOMBreakpointsSidebarPane.js | 98 var element = this._breakpointElements[id]; 99 if (element._node === node) 100 nodeBreakpoints[element._type] = true; 126 * @param {function(!Element)} callback 155 * @param {function(!Element)} callback 181 var element = document.createElement("span"); 192 element.appendChild(b); 196 callback(element); 214 var element = this._breakpointElements[id]; 215 if (element._node === node [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPageSerializerImpl.cpp | 84 #include "core/dom/Element.h" 125 const Element* element, SerializeDomParam* param, bool* needSkip) 133 // serializing open tag of HEAD element. 134 ASSERT(element); 135 if (isHTMLMetaElement(*element)) { 136 const HTMLMetaElement& meta = toHTMLMetaElement(*element); 144 param->skipMetaElement = element; 148 } else if (isHTMLHtmlElement(*element)) { 149 // Check something before processing the open tag of HEAD element [all...] |
FullscreenController.cpp | 66 // Ensure that this element's document is still attached. 93 Element* element = FullscreenElementStack::currentFullScreenElementFrom(*doc); local 94 ASSERT(element); 95 if (isHTMLMediaElement(*element)) { 96 HTMLMediaElement* mediaElement = toHTMLMediaElement(element); 156 void FullscreenController::enterFullScreenForElement(WebCore::Element* element) 158 // We are already transitioning to fullscreen for a different element. 160 m_provisionalFullScreenElement = element; [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 175 for (int[] element : valid) { 176 Timestamp theTimestamp = new Timestamp(element[0], element[1], 177 element[2], element[3], element[4], element[5], element[6]); 183 for (int[] element : invalid) { 185 new Timestamp(element[0], element[1], element[2], element[3] [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
TransformController.js | 10 * @param {!Element} element 12 WebInspector.TransformController = function(element) 14 this.element = element; 15 element.addEventListener("mousemove", this._onMouseMove.bind(this), false); 16 element.addEventListener("mousedown", this._onMouseDown.bind(this), false); 17 element.addEventListener("mouseup", this._onMouseUp.bind(this), false); 18 element.addEventListener("mousewheel", this._onMouseWheel.bind(this), false); 156 this._onScale(zoomFactor, this.element.clientWidth / 2, this.element.clientHeight / 2) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebHTTPBody.cpp | 68 bool WebHTTPBody::elementAt(size_t index, Element& result) const 75 const FormDataElement& element = m_private->elements()[index]; local 84 switch (element.m_type) { 86 result.type = Element::TypeData; 87 result.data.assign(element.m_data.data(), element.m_data.size()); 90 result.type = Element::TypeFile; 91 result.filePath = element.m_filename; 92 result.fileStart = element.m_fileStart; 93 result.fileLength = element.m_fileLength [all...] |
/external/chromium_org/third_party/skia/include/animator/ |
SkAnimator.h | 31 /** SkElementType is the type of element: a rectangle, a color, an animator, and so on. 55 The XML must contain an <event> element to draw. Usually, it contains 134 @param ch The character to match against <event> element "key" 154 @param code The key to match against <event> element "code" 182 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal 195 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal 209 /** Get the nested animator associated with this element, if any. 211 @param element the value returned by getElement 214 const SkAnimator* getAnimator(const SkDisplayable* element) const; 216 /** Returns the scalar value of the specified element's attribute[index [all...] |
/external/skia/include/animator/ |
SkAnimator.h | 31 /** SkElementType is the type of element: a rectangle, a color, an animator, and so on. 55 The XML must contain an <event> element to draw. Usually, it contains 134 @param ch The character to match against <event> element "key" 154 @param code The key to match against <event> element "code" 182 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal 195 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal 209 /** Get the nested animator associated with this element, if any. 211 @param element the value returned by getElement 214 const SkAnimator* getAnimator(const SkDisplayable* element) const; 216 /** Returns the scalar value of the specified element's attribute[index [all...] |
/external/smack/src/org/xbill/DNS/ |
Cache.java | 22 private interface Element { 38 private static class CacheRRset extends RRset implements Element { 80 private static class NegativeElement implements Element { 206 private synchronized Element [] 211 return (Element []) typelist.toArray(new Element[size]); 213 Element set = (Element) types; 214 return new Element[] {set}; 218 private synchronized Element 355 Element element = findElement(name, type, 0); local 386 Element element = findElement(name, type, 0); local 407 Element element; local [all...] |
/external/ceres-solver/include/ceres/internal/ |
fixed_array.h | 109 // Returns a pointer to the underlying element array. 110 inline const T* get() const { return &array_[0].element; } 111 inline T* get() { return &array_[0].element; } 114 // Returns a reference to the "i"th element. 117 return array_[i].element; 121 // Returns a reference to the "i"th element. 124 return array_[i].element; 127 inline iterator begin() { return &array_[0].element; } 128 inline iterator end() { return &array_[size_].element; } 130 inline const_iterator begin() const { return &array_[0].element; } 139 T element; member in struct:ceres::internal::FixedArray::InnerContainer [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ElementTraversal.h | 29 #include "core/dom/Element.h" 46 static ElementType* firstAncestorOrSelf(Element& current) { return firstAncestorOrSelfTemplate(current); } 55 // Pre-order traversal skipping non-element nodes. 76 // Utility function to traverse only the element and pseudo-element siblings of a node. 108 typedef Traversal<Element> ElementTraversal; 110 // Specialized for pure Element to exploit the fact that Elements parent is always either another Element or the root. 113 inline Element* Traversal<Element>::firstWithinTemplate(NodeType& current 211 Element* element = Traversal<Element>::firstWithin(current); local 221 Element* element = Traversal<Element>::lastWithin(current); local 231 Element* element = Traversal<Element>::next(current); local 241 Element* element = Traversal<Element>::next(current, stayWithin); local 251 Element* element = Traversal<Element>::previous(current); local 261 Element* element = Traversal<Element>::previous(current, stayWithin); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MeterShadowElement.cpp | 68 RefPtrWillBeRawPtr<MeterInnerElement> element = adoptRefWillBeNoop(new MeterInnerElement(document)); local 69 element->setShadowPseudoId(AtomicString("-webkit-meter-inner-element", AtomicString::ConstructFromLiteral)); 70 return element.release(); 94 RefPtrWillBeRawPtr<MeterBarElement> element = adoptRefWillBeNoop(new MeterBarElement(document)); local 95 element->setShadowPseudoId(AtomicString("-webkit-meter-bar", AtomicString::ConstructFromLiteral)); 96 return element.release(); 106 RefPtrWillBeRawPtr<MeterValueElement> element = adoptRefWillBeNoop(new MeterValueElement(document)); local 107 element->updatePseudo(); 108 return element.release() [all...] |
/external/deqp/scripts/ |
convert_case_list_to_xml.py | 36 element = doc.createElement("TestCase") 37 element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1]) 38 element.setAttribute("Description", testCase.description) 39 element.setAttribute("CaseType", testCase.caseType) 40 parent.appendChild(element) 42 exportCase(doc, element, child) 68 element = doc.createElement("TestCaseList") variable 69 doc.appendChild(element) 71 exportCase(doc, element, testCase)
|