Searched refs:elementRect (Results 1 - 25 of 30) sorted by relevance

12

/external/droiddriver/src/com/google/android/droiddriver/actions/
H A DClickAction.java57 Rect elementRect = element.getVisibleBounds();
58 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
61 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
73 Rect elementRect = element.getVisibleBounds();
74 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY());
78 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect
[all...]
H A DSwipeAction.java145 Rect elementRect = element.getVisibleBounds();
147 int topMargin = (int) (elementRect.height() * topMarginRatio);
148 int bottomMargin = (int) (elementRect.height() * bottomMarginRatio);
149 int leftMargin = (int) (elementRect.width() * leftMarginRatio);
150 int rightMargin = (int) (elementRect.width() * rightMarginRatio);
151 int adjustedbottom = elementRect.bottom - bottomMargin;
152 int adjustedTop = elementRect.top + topMargin;
153 int adjustedLeft = elementRect.left + leftMargin;
154 int adjustedRight = elementRect.right - rightMargin;
162 startX = elementRect
[all...]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXTableHeaderContainer.cpp49 LayoutRect AXTableHeaderContainer::elementRect() const function in class:blink::AXTableHeaderContainer
75 m_headerRect.unite(m_children[k]->elementRect());
H A DAXMenuListOption.cpp96 LayoutRect AXMenuListOption::elementRect() const function in class:blink::AXMenuListOption
104 return grandparent->elementRect();
H A DAXTableHeaderContainer.h49 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXSpinButton.cpp48 LayoutRect AXSpinButton::elementRect() const function in class:blink::AXSpinButton
94 LayoutRect AXSpinButtonPart::elementRect() const function in class:blink::AXSpinButtonPart
99 LayoutRect parentRect = parentObject()->elementRect();
H A DAXSpinButton.h50 virtual LayoutRect elementRect() const OVERRIDE;
70 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXInlineTextBox.h55 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXMenuListOption.h57 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXMenuListPopup.h52 virtual LayoutRect elementRect() const OVERRIDE { return LayoutRect(); }
H A DAXScrollbar.h52 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXTableColumn.h57 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXSlider.cpp108 if (m_children[0]->elementRect().contains(point))
143 LayoutRect AXSliderThumb::elementRect() const function in class:blink::AXSliderThumb
H A DAXScrollView.cpp183 if (m_horizontalScrollbar && m_horizontalScrollbar->elementRect().contains(point))
185 if (m_verticalScrollbar && m_verticalScrollbar->elementRect().contains(point))
191 LayoutRect AXScrollView::elementRect() const function in class:blink::AXScrollView
H A DAXTableColumn.cpp61 LayoutRect AXTableColumn::elementRect() const function in class:blink::AXTableColumn
180 m_columnRect.unite(cell->elementRect());
H A DAXImageMapLink.h66 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXScrollView.h69 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXScrollbar.cpp53 LayoutRect AXScrollbar::elementRect() const function in class:blink::AXScrollbar
H A DAXSlider.h73 virtual LayoutRect elementRect() const OVERRIDE;
H A DAXImageMapLink.cpp126 LayoutRect AXImageMapLink::elementRect() const function in class:blink::AXImageMapLink
H A DAXInlineTextBox.cpp71 LayoutRect AXInlineTextBox::elementRect() const function in class:blink::AXInlineTextBox
H A DAXObject.cpp338 LayoutRect bounds = elementRect();
453 LayoutRect rect = elementRect();
492 if (m_children[k]->isMockObject() && m_children[k]->elementRect().contains(point))
645 IntRect objectRect = pixelSnappedIntRect(elementRect());
734 IntRect objectRect = pixelSnappedIntRect(elementRect());
779 IntRect innerRect = inner->isAXScrollView() ? pixelSnappedIntRect(inner->parentObject()->elementRect()) : pixelSnappedIntRect(inner->elementRect());
H A DAXNodeObject.h172 virtual LayoutRect elementRect() const OVERRIDE;
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
H A Dscreenshot.js162 var elementRect = element.getBoundingClientRect();
163 var elX = elementRect.left;
164 var elY = elementRect.top;
165 var elW = elementRect.width;
166 var elH = elementRect.height;
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DHitRegion.cpp37 LayoutRect elementRect = enclosingLayoutRect(boundingRect); local
38 elementRect.moveBy(canvasRect.location());
40 axObjectCache->setCanvasObjectBounds(m_control.get(), elementRect);

Completed in 1274 milliseconds

12