Searched refs:listPopupWindow (Results 1 – 2 of 2) 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()
192 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local194 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup()195 listPopupWindow.setModal(true); in showUpdatePhotoPopup()196 listPopupWindow.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in showUpdatePhotoPopup()197 listPopupWindow.setAdapter(new RestrictedPopupMenuAdapter(context, items)); in showUpdatePhotoPopup()201 listPopupWindow.setWidth(width); in showUpdatePhotoPopup()202 listPopupWindow.setDropDownGravity(Gravity.START); in showUpdatePhotoPopup()204 listPopupWindow.setOnItemClickListener(new AdapterView.OnItemClickListener() { in showUpdatePhotoPopup()207 listPopupWindow.dismiss(); in showUpdatePhotoPopup()214 listPopupWindow.show(); in showUpdatePhotoPopup()