Searched refs:SWIPE_MARGIN_LIMIT (Results 1 - 2 of 2) sorted by relevance
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 55 protected static final int SWIPE_MARGIN_LIMIT = 5; field in class:UiObject 240 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT, 268 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 271 rect.top + SWIPE_MARGIN_LIMIT, rect.centerX(), 272 rect.bottom - SWIPE_MARGIN_LIMIT, steps); 296 if(rect.width() <= SWIPE_MARGIN_LIMIT * 2) 298 return getInteractionController().swipe(rect.right - SWIPE_MARGIN_LIMIT, 299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rec [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
H A D | UiObject.java | 55 protected static final int SWIPE_MARGIN_LIMIT = 5; field in class:UiObject 240 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT, 268 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 271 rect.top + SWIPE_MARGIN_LIMIT, rect.centerX(), 272 rect.bottom - SWIPE_MARGIN_LIMIT, steps); 296 if(rect.width() <= SWIPE_MARGIN_LIMIT * 2) 298 return getInteractionController().swipe(rect.right - SWIPE_MARGIN_LIMIT, 299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rec [all...] |
Completed in 59 milliseconds