Home
last modified time | relevance | path

Searched refs:mPopupWindow (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java92 private PopupWindow mPopupWindow; field in PopupWindowTest
126 mPopupWindow = new PopupWindow(); in testSize()
127 assertEquals(0, mPopupWindow.getWidth()); in testSize()
128 assertEquals(0, mPopupWindow.getHeight()); in testSize()
130 mPopupWindow = new PopupWindow(50, 50); in testSize()
131 assertEquals(50, mPopupWindow.getWidth()); in testSize()
132 assertEquals(50, mPopupWindow.getHeight()); in testSize()
134 mPopupWindow = new PopupWindow(-1, -1); in testSize()
135 assertEquals(-1, mPopupWindow.getWidth()); in testSize()
136 assertEquals(-1, mPopupWindow.getHeight()); in testSize()
[all …]
DListPopupWindowTest.java88 private ListPopupWindow mPopupWindow; field in ListPopupWindowTest
101 mPopupWindow.dismiss(); in onItemClick()
118 if ((mPopupWindow != null) && (mPopupWindow.isShowing())) { in teardown()
121 mPopupWindow.setOnDismissListener(dismissLatch::countDown); in teardown()
122 mActivityRule.runOnUiThread(mPopupWindow::dismiss); in teardown()
153 mPopupWindow = new ListPopupWindow(mActivity); in testNoDefaultVisibility()
154 assertFalse(mPopupWindow.isShowing()); in testNoDefaultVisibility()
164 mPopupWindow.setBackgroundDrawable(drawable); in testAccessBackground()
165 assertSame(drawable, mPopupWindow.getBackground()); in testAccessBackground()
167 mPopupWindow.setBackgroundDrawable(null); in testAccessBackground()
[all …]