Home
last modified time | relevance | path

Searched refs:listPopupWindow (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java104 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in createPopupMenu() local
121 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserPhotoController.java178 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local
180 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()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java178 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local
180 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()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java178 final ListPopupWindow listPopupWindow = new ListPopupWindow(context); in showUpdatePhotoPopup() local
180 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()