Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java94 private ListPopupWindow mPopupWindow; field in ListPopupWindowTest
107 mPopupWindow.dismiss(); in onItemClick()
134 if ((mPopupWindow != null) && (mPopupWindow.isShowing())) { in teardown()
137 mPopupWindow.setOnDismissListener(dismissLatch::countDown); in teardown()
138 mActivityRule.runOnUiThread(mPopupWindow::dismiss); in teardown()
169 mPopupWindow = new ListPopupWindow(mActivity); in testNoDefaultVisibility()
170 assertFalse(mPopupWindow.isShowing()); in testNoDefaultVisibility()
180 mPopupWindow.setBackgroundDrawable(drawable); in testAccessBackground()
181 assertSame(drawable, mPopupWindow.getBackground()); in testAccessBackground()
183 mPopupWindow.setBackgroundDrawable(null); in testAccessBackground()
[all …]
DPopupWindowTest.java113 private PopupWindow mPopupWindow; field in PopupWindowTest
159 mPopupWindow = new PopupWindow(); in testSize()
160 assertEquals(0, mPopupWindow.getWidth()); in testSize()
161 assertEquals(0, mPopupWindow.getHeight()); in testSize()
163 mPopupWindow = new PopupWindow(50, 50); in testSize()
164 assertEquals(50, mPopupWindow.getWidth()); in testSize()
165 assertEquals(50, mPopupWindow.getHeight()); in testSize()
167 mPopupWindow = new PopupWindow(-1, -1); in testSize()
168 assertEquals(-1, mPopupWindow.getWidth()); in testSize()
169 assertEquals(-1, mPopupWindow.getHeight()); in testSize()
[all …]
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java183 private volatile PopupWindow mPopupWindow; field in SurfaceControlViewHostTests
233 mPopupWindow = null; in setUp()
1358 mPopupWindow = pw; in testPopupWindowReceivesInput()
1375 mPopupWindow.dismiss(); in testPopupWindowReceivesInput()
1395 mPopupWindow = new PopupWindow(); in testPopupWindowPosition()
1396 mPopupWindow.setWidth(50); in testPopupWindowPosition()
1397 mPopupWindow.setHeight(50); in testPopupWindowPosition()
1398 mPopupWindow.setContentView(popupContent); in testPopupWindowPosition()
1399 mPopupWindow.showAtLocation(mEmbeddedView, Gravity.BOTTOM | Gravity.RIGHT, 0, 0); in testPopupWindowPosition()
1403 if (mPopupWindow == null) { in testPopupWindowPosition()
[all …]