Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java357 final PopupWindow popup = createPopupWindow(createPopupContent(CONTENT_SIZE_DP, in testShowAsDropDown() local
359 popup.setIsClippedToScreen(false); in testShowAsDropDown()
360 popup.setOverlapAnchor(false); in testShowAsDropDown()
361 popup.setAnimationStyle(0); in testShowAsDropDown()
362 popup.setExitTransition(null); in testShowAsDropDown()
363 popup.setEnterTransition(null); in testShowAsDropDown()
365 verifyPosition(popup, R.id.anchor_upper_left, in testShowAsDropDown()
367 verifyPosition(popup, R.id.anchor_upper, in testShowAsDropDown()
369 verifyPosition(popup, R.id.anchor_upper_right, in testShowAsDropDown()
372 verifyPosition(popup, R.id.anchor_middle_left, in testShowAsDropDown()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java265 final PopupWindow popup = new PopupWindow(context); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
266 popup.setFocusable(true); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
267 popup.setInputMethodMode(INPUT_METHOD_NOT_NEEDED); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
270 popup.setContentView(textView); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
271 return popup; in testFocusableWindowDoesNotInvalidateExistingInputConnection()
/cts/tests/tests/view/src/android/view/cts/
DTooltipTest.java877 PopupWindow popup = new PopupWindow(popupContent, in testTooltipInPopup() local
879 popup.showAtLocation(mGroupView, Gravity.CENTER, 0, 0); in testTooltipInPopup()