Searched refs:listPopupWindow (Results 1 – 4 of 4) sorted by relevance
104 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in createPopupMenu() local121 UiClosables.closeQuietly(listPopupWindow); in createPopupMenu()125 listPopupWindow.setAnchorView(anchorView); in createPopupMenu()126 listPopupWindow.setAdapter(adapter); in createPopupMenu()127 listPopupWindow.setOnItemClickListener(clickListener); in createPopupMenu()128 listPopupWindow.setModal(true); in createPopupMenu()129 listPopupWindow.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in createPopupMenu()133 listPopupWindow.setWidth(minWidth); in createPopupMenu()135 return listPopupWindow; in createPopupMenu()
178 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local180 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup()181 listPopupWindow.setModal(true); in showUpdatePhotoPopup()182 listPopupWindow.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in showUpdatePhotoPopup()183 listPopupWindow.setAdapter(new RestrictedPopupMenuAdapter(context, items)); in showUpdatePhotoPopup()187 listPopupWindow.setWidth(width); in showUpdatePhotoPopup()188 listPopupWindow.setDropDownGravity(Gravity.START); in showUpdatePhotoPopup()190 listPopupWindow.setOnItemClickListener(new AdapterView.OnItemClickListener() { in showUpdatePhotoPopup()193 listPopupWindow.dismiss(); in showUpdatePhotoPopup()200 listPopupWindow.show(); in showUpdatePhotoPopup()