Searched refs:popupWindow (Results 1 – 6 of 6) sorted by relevance
89 public static void setOverlapAnchor(@NonNull PopupWindow popupWindow, boolean overlapAnchor) { in setOverlapAnchor() argument91 popupWindow.setOverlapAnchor(overlapAnchor); in setOverlapAnchor()104 sOverlapAnchorField.set(popupWindow, overlapAnchor); in setOverlapAnchor()118 public static boolean getOverlapAnchor(@NonNull PopupWindow popupWindow) { in getOverlapAnchor() argument120 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() argument154 popupWindow.setWindowLayoutType(layoutType); in setWindowLayoutType()170 sSetWindowLayoutTypeMethod.invoke(popupWindow, layoutType); in setWindowLayoutType()182 public static int getWindowLayoutType(@NonNull PopupWindow popupWindow) { in getWindowLayoutType() argument[all …]
243 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local245 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 …]
227 MenuPopupWindow popupWindow = new MenuPopupWindow( in createPopupWindow() local229 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 …]
393 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local394 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()
385 ListPopupWindow popupWindow = getListPopupWindow(); in showPopupUnchecked() local386 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()
1724 PopupWindow popupWindow = new PopupWindow(popupContentHolder); in createPopupWindow() local1727 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()