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.java59 private PopupWindow mPopupWindow; field in PopupWindowTest
87 mPopupWindow = new PopupWindow(); in testConstructor()
88 assertEquals(0, mPopupWindow.getWidth()); in testConstructor()
89 assertEquals(0, mPopupWindow.getHeight()); in testConstructor()
91 mPopupWindow = new PopupWindow(50, 50); in testConstructor()
92 assertEquals(50, mPopupWindow.getWidth()); in testConstructor()
93 assertEquals(50, mPopupWindow.getHeight()); in testConstructor()
95 mPopupWindow = new PopupWindow(-1, -1); in testConstructor()
96 assertEquals(-1, mPopupWindow.getWidth()); in testConstructor()
97 assertEquals(-1, mPopupWindow.getHeight()); in testConstructor()
[all …]
DListPopupWindowTest.java59 private ListPopupWindow mPopupWindow; field in ListPopupWindowTest
72 mPopupWindow.dismiss(); in onItemClick()
94 if ((mPopupWindowBuilder != null) && (mPopupWindow != null)) { in tearDown()
112 mPopupWindow = new ListPopupWindow(mActivity); in testNoDefaultVisibility()
113 assertFalse(mPopupWindow.isShowing()); in testNoDefaultVisibility()
121 mPopupWindow.setBackgroundDrawable(drawable); in testAccessBackground()
122 assertSame(drawable, mPopupWindow.getBackground()); in testAccessBackground()
124 mPopupWindow.setBackgroundDrawable(null); in testAccessBackground()
125 assertNull(mPopupWindow.getBackground()); in testAccessBackground()
131 assertEquals(0, mPopupWindow.getAnimationStyle()); in testAccessAnimationStyle()
[all …]