Home
last modified time | relevance | path

Searched refs:elementRect (Results 1 – 25 of 41) sorted by relevance

12

/external/droiddriver/src/com/google/android/droiddriver/actions/
DSwipeAction.java51 Rect elementRect = element.getVisibleBounds(); in perform() local
53 int swipeAreaHeightAdjust = (int) (elementRect.height() * 0.1); in perform()
54 int swipeAreaWidthAdjust = (int) (elementRect.width() * 0.1); in perform()
63 startX = elementRect.centerX(); in perform()
64 startY = elementRect.bottom - swipeAreaHeightAdjust; in perform()
65 endX = elementRect.centerX(); in perform()
66 endY = elementRect.top + swipeAreaHeightAdjust; in perform()
69 startX = elementRect.centerX(); in perform()
70 startY = elementRect.top + swipeAreaHeightAdjust; in perform()
71 endX = elementRect.centerX(); in perform()
[all …]
DClickAction.java58 Rect elementRect = element.getVisibleBounds(); in perform() local
59 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
62 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
74 Rect elementRect = element.getVisibleBounds(); in perform() local
75 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
79 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
/external/chromium_org/native_client_sdk/src/build_tools/screenshot_extension/
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/accessibility/
DAXSpinButton.cpp48 LayoutRect AXSpinButton::elementRect() const in elementRect() function in WebCore::AXSpinButton
97 LayoutRect AXSpinButtonPart::elementRect() const in elementRect() function in WebCore::AXSpinButtonPart
102 LayoutRect parentRect = parentObject()->elementRect(); in elementRect()
DAXTableHeaderContainer.cpp50 LayoutRect AXTableHeaderContainer::elementRect() const in elementRect() function in WebCore::AXTableHeaderContainer
76 m_headerRect.unite(m_children[k]->elementRect()); in addChildren()
DAXMenuListOption.cpp96 LayoutRect AXMenuListOption::elementRect() const in elementRect() function in WebCore::AXMenuListOption
104 return grandparent->elementRect(); in elementRect()
DAXSpinButton.h50 virtual LayoutRect elementRect() const OVERRIDE;
70 virtual LayoutRect elementRect() const OVERRIDE;
DAXScrollView.cpp183 if (m_horizontalScrollbar && m_horizontalScrollbar->elementRect().contains(point)) in accessibilityHitTest()
185 if (m_verticalScrollbar && m_verticalScrollbar->elementRect().contains(point)) in accessibilityHitTest()
191 LayoutRect AXScrollView::elementRect() const in elementRect() function in WebCore::AXScrollView
DAXSlider.cpp108 if (m_children[0]->elementRect().contains(point)) in elementAccessibilityHitTest()
143 LayoutRect AXSliderThumb::elementRect() const in elementRect() function in WebCore::AXSliderThumb
DAXObject.cpp322 LayoutRect bounds = elementRect(); in orientation()
460 LayoutRect rect = elementRect(); in clickPoint()
499 if (m_children[k]->isMockObject() && m_children[k]->elementRect().contains(point)) in elementAccessibilityHitTest()
652 IntRect objectRect = pixelSnappedIntRect(elementRect()); in scrollToMakeVisible()
738 LayoutRect objectRect = elementRect(); in scrollToMakeVisibleWithSubFocus()
783 … innerRect = inner->isAXScrollView() ? inner->parentObject()->elementRect() : inner->elementRect(); in scrollToGlobalPoint()
DAXTableColumn.cpp62 LayoutRect AXTableColumn::elementRect() const in elementRect() function in WebCore::AXTableColumn
181 m_columnRect.unite(cell->elementRect()); in addChildren()
DAXListBoxOption.cpp95 LayoutRect AXListBoxOption::elementRect() const in elementRect() function in WebCore::AXListBoxOption
109 …entRect = listBoxRenderer->document().axObjectCache()->getOrCreate(listBoxRenderer)->elementRect(); in elementRect()
DAXTableHeaderContainer.h49 virtual LayoutRect elementRect() const OVERRIDE;
DAXTableColumn.h57 virtual LayoutRect elementRect() const OVERRIDE;
DAXScrollbar.h52 virtual LayoutRect elementRect() const OVERRIDE;
DAXMenuListPopup.h52 virtual LayoutRect elementRect() const OVERRIDE { return LayoutRect(); } in elementRect() function
DAXInlineTextBox.h55 virtual LayoutRect elementRect() const OVERRIDE;
DAXMenuListOption.h57 virtual LayoutRect elementRect() const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/web/
DSpeechInputClientImpl.cpp66 bool SpeechInputClientImpl::startRecognition(int requestId, const WebCore::IntRect& elementRect, co… in startRecognition() argument
69 …return m_controller->startRecognition(requestId, elementRect, language, grammar, WebSecurityOrigin… in startRecognition()
DSpeechInputClientImpl.h61 …bool startRecognition(int requestId, const WebCore::IntRect& elementRect, const AtomicString& lang…
/external/chromium_org/third_party/WebKit/Source/core/speech/
DSpeechInput.cpp100 bool SpeechInput::startRecognition(int listenerId, const IntRect& elementRect, const AtomicString& … in startRecognition() argument
103 return m_client->startRecognition(listenerId, elementRect, language, grammar, origin); in startRecognition()
DSpeechInputClient.h56 …virtual bool startRecognition(int requestId, const IntRect& elementRect, const AtomicString& langu…
DSpeechInput.h69 …bool startRecognition(int listenerId, const IntRect& elementRect, const AtomicString& language, co…
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DMockWebSpeechInputController.cpp103 bool MockWebSpeechInputController::startRecognition(int requestId, const WebRect& elementRect, cons… in startRecognition() argument
109 m_requestRect = elementRect; in startRecognition()
/external/chromium_org/third_party/WebKit/public/web/
DWebSpeechInputController.h49 …virtual bool startRecognition(int requestId, const WebRect& elementRect, const WebString& language… in startRecognition() argument

12