Home
last modified time | relevance | path

Searched refs:popupWindow (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java233 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local
235 popupWindow.setHoverListener(mMenuItemHoverListener); in createPopupWindow()
236 popupWindow.setOnItemClickListener(this); in createPopupWindow()
237 popupWindow.setOnDismissListener(this); in createPopupWindow()
238 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
239 popupWindow.setDropDownGravity(mDropDownGravity); in createPopupWindow()
240 popupWindow.setModal(true); in createPopupWindow()
241 popupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
242 return popupWindow; in createPopupWindow()
374 final MenuPopupWindow popupWindow = createPopupWindow(); in showMenu() local
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserView.java397 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local
398 if (!popupWindow.isShowing()) { in showPopupUnchecked()
405 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
406 popupWindow.show(); in showPopupUnchecked()
410 popupWindow.getListView().setContentDescription(mContext.getString( in showPopupUnchecked()
412 popupWindow.getListView().setSelector(new ColorDrawable(Color.TRANSPARENT)); in showPopupUnchecked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DZOrderingTests.java543 final WindowState popupWindow = createWindow(mAppWindow, TYPE_APPLICATION_PANEL, in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() local
545 spyOn(popupWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
550 verify(popupWindow).needsRelativeLayeringToIme(); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
551 assertThat(popupWindow.needsRelativeLayeringToIme()).isTrue(); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
552 assertZOrderGreaterThan(mTransaction, popupWindow.getSurfaceControl(), in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DLocalFloatingToolbarPopup.java1484 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow() local
1487 popupWindow.setClippingEnabled(false); in createPopupWindow()
1488 popupWindow.setWindowLayoutType( in createPopupWindow()
1490 popupWindow.setAnimationStyle(0); in createPopupWindow()
1491 popupWindow.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in createPopupWindow()
1495 return popupWindow; in createPopupWindow()