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()
187 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local189 listPopupWindow.setAnchorView(mImageView); in showUpdatePhotoPopup()190 listPopupWindow.setModal(true); in showUpdatePhotoPopup()191 listPopupWindow.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in showUpdatePhotoPopup()192 listPopupWindow.setAdapter(new RestrictedPopupMenuAdapter(context, items)); in showUpdatePhotoPopup()196 listPopupWindow.setWidth(width); in showUpdatePhotoPopup()197 listPopupWindow.setDropDownGravity(Gravity.START); in showUpdatePhotoPopup()199 listPopupWindow.setOnItemClickListener(new AdapterView.OnItemClickListener() { in showUpdatePhotoPopup()202 listPopupWindow.dismiss(); in showUpdatePhotoPopup()209 listPopupWindow.show(); in showUpdatePhotoPopup()