Searched refs:mPopupWindow (Results 1 – 2 of 2) sorted by relevance
88 private ListPopupWindow mPopupWindow; field in ListPopupWindowTest101 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 …]
101 private PopupWindow mPopupWindow; field in PopupWindowTest135 mPopupWindow = new PopupWindow(); in testSize()136 assertEquals(0, mPopupWindow.getWidth()); in testSize()137 assertEquals(0, mPopupWindow.getHeight()); in testSize()139 mPopupWindow = new PopupWindow(50, 50); in testSize()140 assertEquals(50, mPopupWindow.getWidth()); in testSize()141 assertEquals(50, mPopupWindow.getHeight()); in testSize()143 mPopupWindow = new PopupWindow(-1, -1); in testSize()144 assertEquals(-1, mPopupWindow.getWidth()); in testSize()145 assertEquals(-1, mPopupWindow.getHeight()); in testSize()[all …]