Home
last modified time | relevance | path

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

/external/droiddriver/src/io/appium/droiddriver/actions/
DSwipeAction.java145 Rect elementRect = element.getVisibleBounds(); in perform() local
147 int topMargin = (int) (elementRect.height() * topMarginRatio); in perform()
148 int bottomMargin = (int) (elementRect.height() * bottomMarginRatio); in perform()
149 int leftMargin = (int) (elementRect.width() * leftMarginRatio); in perform()
150 int rightMargin = (int) (elementRect.width() * rightMarginRatio); in perform()
151 int adjustedbottom = elementRect.bottom - bottomMargin; in perform()
152 int adjustedTop = elementRect.top + topMargin; in perform()
153 int adjustedLeft = elementRect.left + leftMargin; in perform()
154 int adjustedRight = elementRect.right - rightMargin; in perform()
162 startX = elementRect.centerX(); in perform()
[all …]
DClickAction.java57 Rect elementRect = element.getVisibleBounds(); in perform() local
58 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
61 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
73 Rect elementRect = element.getVisibleBounds(); in perform() local
74 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
78 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
/external/skia/src/pdf/
DSkPDFDevice.cpp225 SkRect elementRect{0, 0, 0, 0}; in is_rect() local
230 elementRect = element->getDeviceSpaceRect(); in is_rect()
237 currentClip = rect_intersect(bounds, elementRect); in is_rect()
240 currentClip = rect_intersect(currentClip, elementRect); in is_rect()
/external/skqp/src/pdf/
DSkPDFDevice.cpp225 SkRect elementRect{0, 0, 0, 0}; in is_rect() local
230 elementRect = element->getDeviceSpaceRect(); in is_rect()
237 currentClip = rect_intersect(bounds, elementRect); in is_rect()
240 currentClip = rect_intersect(currentClip, elementRect); in is_rect()