/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterView_AdapterContextMenuInfoTest.java | 36 AdapterView.AdapterContextMenuInfo menuInfo; 40 menuInfo = new AdapterView.AdapterContextMenuInfo(testView, position, id); 42 assertEquals(position, menuInfo.position); 43 assertEquals(id, menuInfo.id); 44 assertEquals(testView, menuInfo.targetView);
|
PositionTesterContextMenuListener.java | 53 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 56 if (!isTrue("MenuInfo is not an AdapterContextMenuInfo", 57 menuInfo instanceof AdapterContextMenuInfo)) { 60 AdapterContextMenuInfo adapterContextMenuInfo = (AdapterContextMenuInfo) menuInfo; 65 if (!isTrue("MenuInfo is not an ExpandableListContextMenuInfo", 66 menuInfo instanceof ExpandableListView.ExpandableListContextMenuInfo)) { 70 (ExpandableListView.ExpandableListContextMenuInfo) menuInfo;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentContextMenu.java | 58 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 59 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentContextMenuSupport.java | 59 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 60 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 88 ContextMenuInfo menuInfo) { 89 super.onCreateContextMenu(menu, v, menuInfo);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ListActivity.java | 102 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { 103 super.onCreateContextMenu(menu, v, menuInfo);
|
TransparentListActivity.java | 96 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { 97 super.onCreateContextMenu(menu, v, menuInfo);
|
/cts/tests/src/android/app/cts/ |
AppStubActivity.java | 145 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 146 super.onCreateContextMenu(menu,v,menuInfo);
|
ExpandableListTestActivity.java | 164 ContextMenuInfo menuInfo) { 166 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
Notepadv3.java | 88 ContextMenuInfo menuInfo) { 89 super.onCreateContextMenu(menu, v, menuInfo);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListContextMenuAdapter.java | 54 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { 57 info = (AdapterView.AdapterContextMenuInfo) menuInfo; 59 Log.wtf(TAG, "Bad menuInfo", e); 101 Log.wtf(TAG, "Bad menuInfo", e);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserHistoryPage.java | 333 View getTargetView(ContextMenuInfo menuInfo) { 334 if (menuInfo instanceof AdapterContextMenuInfo) { 335 return ((AdapterContextMenuInfo) menuInfo).targetView; 337 if (menuInfo instanceof ExpandableListContextMenuInfo) { 338 return ((ExpandableListContextMenuInfo) menuInfo).targetView; 344 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 346 View targetView = getTargetView(menuInfo); 383 super.onCreateContextMenu(menu, v, menuInfo); 388 ContextMenuInfo menuInfo = item.getMenuInfo(); 389 if (menuInfo == null) [all...] |
BrowserActivity.java | 204 ContextMenuInfo menuInfo) { 205 mController.onCreateContextMenu(menu, v, menuInfo);
|
/packages/apps/Phone/src/com/android/phone/ |
SimContacts.java | 315 ContextMenu.ContextMenuInfo menuInfo = item.getMenuInfo(); 316 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { 317 int position = ((AdapterView.AdapterContextMenuInfo)menuInfo).position; 327 ContextMenu.ContextMenuInfo menuInfo) { 328 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { 330 (AdapterView.AdapterContextMenuInfo) menuInfo;
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 90 ContextMenuInfo menuInfo) { 91 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 90 ContextMenuInfo menuInfo) { 91 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
GestureBuilderActivity.java | 190 ContextMenu.ContextMenuInfo menuInfo) { 192 super.onCreateContextMenu(menu, v, menuInfo); 194 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) menuInfo; 203 final AdapterView.AdapterContextMenuInfo menuInfo = (AdapterView.AdapterContextMenuInfo) 205 final NamedGesture gesture = (NamedGesture) menuInfo.targetView.getTag();
|
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 102 final ContextMenuInfo menuInfo) { 103 onCreateGalleryPickerContextMenu(menu, menuInfo); 202 final ContextMenuInfo menuInfo) { 203 int position = ((AdapterContextMenuInfo) menuInfo).position; 211 return onSlideShowClicked(menuInfo); 219 return onViewClicked(menuInfo); 225 private boolean onSlideShowClicked(ContextMenuInfo menuInfo) { 226 AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; 248 private boolean onViewClicked(ContextMenuInfo menuInfo) { 249 AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; [all...] |
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleActivity.java | 177 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 178 super.onCreateContextMenu(menu, v, menuInfo); 180 if (menuInfo instanceof AdapterContextMenuInfo) { 181 int position = ((AdapterContextMenuInfo) menuInfo).position;
|
/frameworks/base/core/java/android/app/ |
ExpandableListActivity.java | 164 * Override this to populate the context menu when an item is long pressed. menuInfo 173 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 297 * @param menuInfo Data associated with view. 301 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { 309 info = (AdapterView.AdapterContextMenuInfo) menuInfo; 312 Log.e(TAG, "bad menuInfo", e); 383 Log.e(TAG, "bad menuInfo", e);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 130 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 132 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferHistory.java | 189 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 191 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo;
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportListActivity.java | 84 ContextMenu.ContextMenuInfo menuInfo) { 85 super.onCreateContextMenu(menu, v, menuInfo);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList1.java | 56 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|