/external/droiddriver/src/com/google/android/droiddriver/finders/ |
ByXPath.java | 31 import org.w3c.dom.Element; 59 private static final Map<BaseUiElement<?, ?>, Element> TO_DOM_MAP = 60 new HashMap<BaseUiElement<?, ?>, Element>(); 61 private static final Map<Element, BaseUiElement<?, ?>> FROM_DOM_MAP = 62 new HashMap<Element, BaseUiElement<?, ?>>(); 89 Element domNode = getDomNode((BaseUiElement<?, ?>) context, UiElement.VISIBLE); 92 Element foundNode = (Element) xPathExpression.evaluate(domNode, XPathConstants.NODE); 127 private static Element getDomNode(BaseUiElement<?, ?> uiElement, 129 Element domNode = TO_DOM_MAP.get(uiElement) 142 Element element = getDocument().createElement(XPaths.tag(className)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGPathData.cpp | 39 static void updatePathFromCircleElement(SVGElement* element, Path& path) 41 SVGCircleElement* circle = toSVGCircleElement(element); 43 SVGLengthContext lengthContext(element); 49 static void updatePathFromEllipseElement(SVGElement* element, Path& path) 51 SVGEllipseElement* ellipse = toSVGEllipseElement(element); 53 SVGLengthContext lengthContext(element); 66 static void updatePathFromLineElement(SVGElement* element, Path& path) 68 SVGLineElement* line = toSVGLineElement(element); 70 SVGLengthContext lengthContext(element); 75 static void updatePathFromPathElement(SVGElement* element, Path& path [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPatternElement.cpp | 142 static void setPatternAttributes(const SVGPatternElement* element, PatternAttributes& attributes) 144 if (!attributes.hasX() && element->x()->isSpecified()) 145 attributes.setX(element->x()->currentValue()); 147 if (!attributes.hasY() && element->y()->isSpecified()) 148 attributes.setY(element->y()->currentValue()); 150 if (!attributes.hasWidth() && element->width()->isSpecified()) 151 attributes.setWidth(element->width()->currentValue()); 153 if (!attributes.hasHeight() && element->height()->isSpecified()) 154 attributes.setHeight(element->height()->currentValue()); 156 if (!attributes.hasViewBox() && element->viewBox()->isSpecified() && element->viewBox()->currentValue()->isValid() [all...] |
SVGUseElement.cpp | 155 // If attributes width and/or height are provided on the 'use' element, then these attributes 157 // the generated 'svg' element will use values of 100% for these attributes. 161 // Spec (<use> on <svg>): If attributes width and/or height are provided on the 'use' element, then these 223 // Spec: "Any 'svg', 'symbol', 'g', graphics element or other 'use' is potentially a template object that can be re-used 224 // (i.e., "instanced") in the SVG document via a 'use' element." 225 // "Graphics Element" is defined as 'circle', 'ellipse', 'image', 'line', 'path', 'polygon', 'polyline', 'rect', 'text' 234 Element* element = toElement(node); 259 return !allowedElementTags.contains<SVGAttributeHashTranslator>(element->tagQName()); 307 Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), treeScope(), &id, externalDocu (…) 509 SVGElement* element = toSVGElement(instance); local 521 Element* element = ElementTraversal::firstWithin(subtree); local [all...] |
/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...] |
treeoutline.js | 31 * @param {!Element} listNode 58 this.element = listNode; 228 * @param {!TreeElement} element 230 TreeOutline.prototype._rememberTreeElement = function(element) 232 if (!this._treeElementsMap.get(element.representedObject)) 233 this._treeElementsMap.set(element.representedObject, []); 235 // check if the element is already known 236 var elements = this._treeElementsMap.get(element.representedObject); 237 if (elements.indexOf(element) !== -1) 240 // add the element [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/WebKit/Source/devtools/front_end/sources/ |
AddSourceMapURLDialog.js | 14 this.element = document.createElementWithClass("div", "go-to-line-dialog"); 15 this.element.createChild("label").textContent = WebInspector.UIString("Source map URL: "); 17 this._input = this.element.createChild("input"); 20 this._goButton = this.element.createChild("button"); 28 * @param {!Element} element 31 WebInspector.AddSourceMapURLDialog.show = function(element, callback) 33 WebInspector.Dialog.show(element, new WebInspector.AddSourceMapURLDialog(callback));
|
/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 | 45 static uint32_t uprv_uca_processContraction(CntTable *contractions, UCAElements *element, uint32_t existingCE, UErrorCode *status); 50 UCAElements *element = (UCAElements *)e.pointer; local 54 uprv_memcpy(buf, element->cPoints, element->cSize*sizeof(UChar)); 55 buf[element->cSize] = 0; 56 //key.pointer = element->cPoints; 57 //element->cPoints[element->cSize] = 0; 427 * collation element. The size required for maxexpansion and maxsize is 429 * @param endexpansion the last expansion collation element to be adde 807 UCAElements *element = NULL; local 1869 UCAElements element; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
DOMBreakpointsSidebarPane.js | 80 var element = this._breakpointElements[id]; 81 if (element._node === node) 82 nodeBreakpoints[element._type] = true; 108 * @param {function(!Element)} callback 137 * @param {function(!Element)} callback 163 var element = document.createElement("span"); 174 element.appendChild(b); 178 callback(element); 196 var element = this._breakpointElements[id]; 197 if (element._node === node [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/core/dom/custom/ |
CustomElementScheduler.cpp | 35 #include "core/dom/Element.h" 52 // FIXME: Consider moving the element's callback queue to ElementRareData. 53 typedef WillBeHeapHashMap<RawPtrWillBeMember<Element>, OwnPtrWillBeMember<CustomElementCallbackQueue> > ElementCallbackQueueMap; 61 static CustomElementCallbackQueue& ensureCallbackQueue(PassRefPtrWillBeRawPtr<Element> element) 63 ElementCallbackQueueMap::ValueType* it = callbackQueues().add(element.get(), nullptr).storedValue; 65 it->value = CustomElementCallbackQueue::create(element); 69 // Finds or creates the callback queue for element. 70 static CustomElementCallbackQueue& scheduleCallbackQueue(PassRefPtrWillBeRawPtr<Element> passElement) 72 RefPtrWillBeRawPtr<Element> element(passElement) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebHTTPBody.cpp | 66 bool WebHTTPBody::elementAt(size_t index, Element& result) const 73 const FormDataElement& element = m_private->elements()[index]; local 82 switch (element.m_type) { 84 result.type = Element::TypeData; 85 result.data.assign(element.m_data.data(), element.m_data.size()); 88 result.type = Element::TypeFile; 89 result.filePath = element.m_filename; 90 result.fileStart = element.m_fileStart; 91 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/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/chromium_org/third_party/WebKit/Source/core/rendering/ |
GraphicsContextAnnotator.cpp | 98 Element* element = object->node() && object->node()->isElementNode() ? toElement(object->node()) : 0; local 106 if ((mode & AnnotateElementId) && element && element->hasID()) 107 annotations.append(std::make_pair(AnnotationKeyElementId, element->getIdAttribute().string())); 109 if ((mode & AnnotateElementClass) && element && element->hasClass()) { 110 SpaceSplitString classes = element->classNames(); 123 if ((mode & AnnotateElementTag) && element) 124 annotations.append(std::make_pair(AnnotationKeyElementTag, element->tagName())) [all...] |