Lines Matching defs:menuInfo
332 View getTargetView(ContextMenuInfo menuInfo) {
333 if (menuInfo instanceof AdapterContextMenuInfo) {
334 return ((AdapterContextMenuInfo) menuInfo).targetView;
336 if (menuInfo instanceof ExpandableListContextMenuInfo) {
337 return ((ExpandableListContextMenuInfo) menuInfo).targetView;
343 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
345 View targetView = getTargetView(menuInfo);
382 super.onCreateContextMenu(menu, v, menuInfo);
387 ContextMenuInfo menuInfo = item.getMenuInfo();
388 if (menuInfo == null) {
391 View targetView = getTargetView(menuInfo);