Searched refs:anchorView (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 835 final View anchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight_topAnchor() local 837 final int expected = getVisibleDisplayFrame(anchorView).bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_topAnchor() 838 final int actual = mPopupWindow.getMaxAvailableHeight(anchorView); in testGetMaxAvailableHeight_topAnchor() 846 final View anchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight_topAnchor_ignoringBottomDecoration() local 848 final int expected = getDisplayFrame(anchorView).bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_topAnchor_ignoringBottomDecoration() 849 final int actual = mPopupWindow.getMaxAvailableHeight(anchorView, 0, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight_topAnchor_ignoringBottomDecoration() 857 final View anchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight_topAnchor_offset2() local 860 getVisibleDisplayFrame(anchorView).bottom - getViewBottom(anchorView) - 2; in testGetMaxAvailableHeight_topAnchor_offset2() 861 final int actual = mPopupWindow.getMaxAvailableHeight(anchorView, 2); in testGetMaxAvailableHeight_topAnchor_offset2() 869 final View anchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight_topAnchor_offset2_ignoringBottomDecoration() local [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 86 ActivityTestRule<?> activityTestRule, View anchorView, in emulateTapOnView() argument 88 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() 91 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView() 132 ActivityTestRule<?> activityTestRule, View anchorView, in emulateDoubleTapOnView() argument 134 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() 137 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 85 ActivityTestRule<?> activityTestRule, View anchorView, in emulateTapOnView() argument 87 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateTapOnView() 90 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView() 131 ActivityTestRule<?> activityTestRule, View anchorView, in emulateDoubleTapOnView() argument 133 final int touchSlop = ViewConfiguration.get(anchorView.getContext()).getScaledTouchSlop(); in emulateDoubleTapOnView() 136 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()
|