/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterView_AdapterContextMenuInfoTest.java | 27 AdapterView.AdapterContextMenuInfo menuInfo; 31 menuInfo = new AdapterView.AdapterContextMenuInfo(testView, position, id); 33 assertEquals(position, menuInfo.position); 34 assertEquals(id, menuInfo.id); 35 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;
|
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
FmPresetList.java | 117 ContextMenuInfo menuInfo) { 118 super.onCreateContextMenu(menu, v, menuInfo); 131 AdapterContextMenuInfo menuInfo = (AdapterContextMenuInfo) aItem 134 final Integer index = menuInfo.position;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentContextMenu.java | 59 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 60 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 | 98 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { 99 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);
|
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
MenuActivity.java | 30 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { 31 super.onCreateContextMenu(menu, v, menuInfo);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserHistoryPage.java | 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) [all...] |
ActivityController.java | 46 void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo);
|
/packages/services/Telephony/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);
|
/packages/apps/Browser/src/com/android/browser/stub/ |
NullController.java | 86 ContextMenuInfo 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;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ |
ContextMenuHelper.java | 87 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
/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;
|