Searched refs:anchor (Results 1 – 5 of 5) sorted by relevance
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 57 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() argument 60 anchor.getLocationOnScreen(screenPos); in obtainMouseEvent() 77 public static void emulateHoverOnView(Instrumentation instrumentation, View anchor, int offsetX, in emulateHoverOnView() argument 82 anchor.getLocationOnScreen(screenPos); in emulateHoverOnView()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 57 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() argument 60 anchor.getLocationOnScreen(screenPos); in obtainMouseEvent() 77 public static void emulateHoverOnView(Instrumentation instrumentation, View anchor, int offsetX, in emulateHoverOnView() argument 82 anchor.getLocationOnScreen(screenPos); in emulateHoverOnView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListPopupWindowTest.java | 700 final MockViewForListPopupWindow anchor = in testCustomDismissalWithBackButton() local 702 anchor.wireTo(mPopupWindow); in testCustomDismissalWithBackButton() 705 anchor::requestFocus); in testCustomDismissalWithBackButton() 706 assertTrue(anchor.isFocused()); in testCustomDismissalWithBackButton() 726 final MockViewForListPopupWindow anchor = in testListSelectionWithDPad() local 728 anchor.wireTo(mPopupWindow); in testListSelectionWithDPad() 731 anchor::requestFocus); in testListSelectionWithDPad() 732 assertTrue(anchor.isFocused()); in testListSelectionWithDPad() 803 final View anchor = mActivity.findViewById(mPopupWindowBuilder.mAnchorId); in testCreateOnDragListener() local 804 final View.OnTouchListener dragListener = mPopupWindow.createDragToOpenListener(anchor); in testCreateOnDragListener() [all …]
|
D | PopupWindowTest.java | 552 private void verifyPosition(PopupWindow popup, View anchor, in verifyPosition() argument 555 verifyPosition(popup, anchor, in verifyPosition() 561 private void verifyPosition(PopupWindow popup, View anchor, in verifyPosition() argument 568 anchor, offsetX, offsetY, gravity)); in verifyPosition() 572 verifyPositionX(content, contentEdgeX, operatorX, anchor, anchorEdgeX); in verifyPosition() 573 verifyPositionY(content, contentEdgeY, operatorY, anchor, anchorEdgeY); in verifyPosition() 577 anchor.getWindowVisibleDisplayFrame(displayFrame); in verifyPosition() 590 View anchor, int anchorEdge) { in verifyPositionY() argument 592 anchor.getLocationOnScreen(anchorOnScreenXY); in verifyPositionY() 595 anchorY += anchor.getHeight(); in verifyPositionY() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 1871 final String anchor = "<p><a href=\"" + TestHtmlConstants.EXT_WEB_URL1 in testGetHitTestResult() local 1884 "<html><body>" + anchor + blankAnchor + form + tel + mailto + in testGetHitTestResult()
|