Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java390 final PopupWindow popup = createPopupWindow(createPopupContent(CONTENT_SIZE_DP, in testShowAsDropDown() local
392 popup.setIsClippedToScreen(false); in testShowAsDropDown()
393 popup.setOverlapAnchor(false); in testShowAsDropDown()
394 popup.setAnimationStyle(0); in testShowAsDropDown()
395 popup.setExitTransition(null); in testShowAsDropDown()
396 popup.setEnterTransition(null); in testShowAsDropDown()
398 verifyPosition(popup, R.id.anchor_upper_left, in testShowAsDropDown()
400 verifyPosition(popup, R.id.anchor_upper, in testShowAsDropDown()
402 verifyPosition(popup, R.id.anchor_upper_right, in testShowAsDropDown()
405 verifyPosition(popup, R.id.anchor_middle_left, in testShowAsDropDown()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java196 PopupWindow popup = new PopupWindow(contentView, ViewGroup.LayoutParams.MATCH_PARENT, in addPopupWindow() local
200 popup.setFocusable(true); in addPopupWindow()
202 popup.showAtLocation(getContentView(), Gravity.FILL, 0, 0); in addPopupWindow()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java508 final PopupWindow popup = new PopupWindow(context); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
509 popup.setFocusable(true); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
510 popup.setInputMethodMode(INPUT_METHOD_NOT_NEEDED); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
513 popup.setContentView(textView); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
514 popup.showAsDropDown(editText); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
515 return popup; in testFocusableWindowDoesNotInvalidateExistingInputConnection()
600 final PopupWindow popup = new PopupWindow(context); in testNonFocusablePopupWindowDoesNotAffectImeVisibility()
601 popup.setFocusable(false); in testNonFocusablePopupWindowDoesNotAffectImeVisibility()
602 popup.setInputMethodMode(INPUT_METHOD_NEEDED); in testNonFocusablePopupWindowDoesNotAffectImeVisibility()
605 popup.setContentView(textView); in testNonFocusablePopupWindowDoesNotAffectImeVisibility()
[all …]
DKeyboardVisibilityControlTest.java1860 final PopupWindow popup = new PopupWindow(editor.getContext()); in createPopupWindowWrapper()
1861 popup.setInputMethodMode(INPUT_METHOD_NOT_NEEDED); in createPopupWindowWrapper()
1864 popup.setContentView(textView); in createPopupWindowWrapper()
1865 popup.setWidth(MATCH_PARENT); in createPopupWindowWrapper()
1866 popup.setHeight(MATCH_PARENT); in createPopupWindowWrapper()
1868 popup.showAsDropDown(textView); in createPopupWindowWrapper()
1869 return popup; in createPopupWindowWrapper()
1870 }), popup -> TestUtils.runOnMainSync(popup::dismiss)); in createPopupWindowWrapper()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSetTouchableRegionTest.java149 PopupWindow popup = new PopupWindow(mPopupView, in testClickthroughRegion() local
152 popup.showAtLocation(mMotionRecordingView, Gravity.NO_GRAVITY, 0, 0); in testClickthroughRegion()
/cts/tests/tests/view/src/android/view/cts/
DTooltipTest.java942 PopupWindow popup = new PopupWindow(popupContent, in testTooltipInPopup() local
944 popup.showAtLocation(mGroupView, Gravity.CENTER, 0, 0); in testTooltipInPopup()