Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/widget/
DPopupWindowCompat.java89 public static void setOverlapAnchor(@NonNull PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor() argument
91 popupWindow.setOverlapAnchor(overlapAnchor); in setOverlapAnchor()
104 sOverlapAnchorField.set(popupWindow, overlapAnchor); in setOverlapAnchor()
118 public static boolean getOverlapAnchor(@NonNull PopupWindow popupWindow) { in getOverlapAnchor() argument
120 return popupWindow.getOverlapAnchor(); in getOverlapAnchor()
134 return (Boolean) sOverlapAnchorField.get(popupWindow); in getOverlapAnchor()
152 public static void setWindowLayoutType(@NonNull PopupWindow popupWindow, int layoutType) { in setWindowLayoutType() argument
154 popupWindow.setWindowLayoutType(layoutType); in setWindowLayoutType()
170 sSetWindowLayoutTypeMethod.invoke(popupWindow, layoutType); in setWindowLayoutType()
182 public static int getWindowLayoutType(@NonNull PopupWindow popupWindow) { in getWindowLayoutType() argument
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DCascadingMenuPopup.java243 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local
245 popupWindow.setHoverListener(mMenuItemHoverListener); in createPopupWindow()
246 popupWindow.setOnItemClickListener(this); in createPopupWindow()
247 popupWindow.setOnDismissListener(this); in createPopupWindow()
248 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
249 popupWindow.setDropDownGravity(mDropDownGravity); in createPopupWindow()
250 popupWindow.setModal(true); in createPopupWindow()
251 popupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
252 return popupWindow; in createPopupWindow()
384 final MenuPopupWindow popupWindow = createPopupWindow(); in showMenu() local
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java227 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local
229 popupWindow.setHoverListener(mMenuItemHoverListener); in createPopupWindow()
230 popupWindow.setOnItemClickListener(this); in createPopupWindow()
231 popupWindow.setOnDismissListener(this); in createPopupWindow()
232 popupWindow.setAnchorView(mAnchorView); in createPopupWindow()
233 popupWindow.setDropDownGravity(mDropDownGravity); in createPopupWindow()
234 popupWindow.setModal(true); in createPopupWindow()
235 popupWindow.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupWindow()
236 return popupWindow; in createPopupWindow()
368 final MenuPopupWindow popupWindow = createPopupWindow(); in showMenu() local
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserView.java393 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local
394 if (!popupWindow.isShowing()) { in showPopupUnchecked()
401 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
402 popupWindow.show(); in showPopupUnchecked()
406 popupWindow.getListView().setContentDescription(mContext.getString( in showPopupUnchecked()
408 popupWindow.getListView().setSelector(new ColorDrawable(Color.TRANSPARENT)); in showPopupUnchecked()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActivityChooserView.java385 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local
386 if (!popupWindow.isShowing()) { in showPopupUnchecked()
393 popupWindow.setContentWidth(contentWidth); in showPopupUnchecked()
394 popupWindow.show(); in showPopupUnchecked()
398 popupWindow.getListView().setContentDescription(getContext().getString( in showPopupUnchecked()
400 popupWindow.getListView().setSelector(new ColorDrawable(Color.TRANSPARENT)); in showPopupUnchecked()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1724 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow() local
1727 popupWindow.setClippingEnabled(false); in createPopupWindow()
1728 popupWindow.setWindowLayoutType( in createPopupWindow()
1730 popupWindow.setAnimationStyle(0); in createPopupWindow()
1731 popupWindow.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in createPopupWindow()
1735 return popupWindow; in createPopupWindow()