/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
WebContextMenu.cpp | 90 void WebContextMenu::itemSelected(const WebContextMenuItemData& item) 92 ContextMenuItem coreItem(ActionType, static_cast<ContextMenuAction>(item.action()), item.title());
|
/frameworks/base/core/java/android/view/ |
MenuItem.java | 26 * Interface for direct access to a previously created menu item. 28 * An Item is returned by calling one of the {@link android.view.Menu#add} 43 /** Never show this item as a button in an Action Bar. */ 45 /** Show this item as a button in an Action Bar if the system decides there is room for it. */ 48 * Always show this item as a button in an Action Bar. 56 * When this item is in the action bar, always show it with a text label even if 62 * This item's action view collapses to a normal menu item. 69 * Interface definition for a callback to be invoked when a menu item is 77 * Called when a menu item has been invoked. This is the first cod [all...] |
/frameworks/base/core/java/android/webkit/ |
WebBackForwardListClassic.java | 76 * Add a new history item to the list. This will remove all items after the 77 * current item and append the new item to the end of the list. Called from 80 * @param item A new history item. 82 /*package*/ synchronized void addHistoryItem(WebHistoryItem item) { 83 // Update the current position because we are going to add the new item 87 // after the current item. 95 // Add the item to the list. 96 mArray.add((WebHistoryItemClassic) item); [all...] |
/frameworks/base/core/java/android/widget/ |
PopupMenu.java | 120 * Set a listener that will be notified when the user selects an item from the menu. 140 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { 142 return mMenuItemClickListener.onMenuItemClick(item); 184 * Interface responsible for receiving menu item click events if the items themselves 185 * do not have individual item click listeners. 189 * This method will be invoked when a menu item is clicked if the item itself did 192 * @param item {@link MenuItem} that was clicked 195 public boolean onMenuItemClick(MenuItem item);
|
/frameworks/base/core/jni/ |
android_util_EventLog.cpp | 103 jobject item = env->GetObjectArrayElement(value, copied); local 104 if (item == NULL || env->IsInstanceOf(item, gStringClass)) { 106 const char *str = item != NULL ? env->GetStringUTFChars((jstring) item, NULL) : "NULL"; 113 if (item != NULL) env->ReleaseStringUTFChars((jstring) item, str); 114 } else if (env->IsInstanceOf(item, gIntegerClass)) { 115 jint intVal = env->GetIntField(item, gIntegerValueID); 120 } else if (env->IsInstanceOf(item, gLongClass)) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListWithEmptyView.java | 84 public boolean onOptionsItemSelected(MenuItem item) { 85 switch (item.getItemId()) { 87 String str = "Item + " + mNextItem++; 97 return super.onOptionsItemSelected(item);
|
/frameworks/base/services/java/com/android/server/ |
ClipboardService.java | 260 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { 261 if (item.getUri() != null) { 262 checkUriOwnerLocked(item.getUri(), uid); 264 Intent intent = item.getIntent(); 288 private final void grantItemLocked(ClipData.Item item, String pkg) { 289 if (item.getUri() != null) { 290 grantUriLocked(item.getUri(), pkg); 292 Intent intent = item.getIntent() [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModel.java | 80 public boolean onOptionsItemSelected(MenuItem item) { 81 // Handle item selection 82 switch (item.getItemId()) { 92 return super.onOptionsItemSelected(item);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestApp.java | 81 public boolean onOptionsItemSelected(MenuItem item) { 82 // Handle item selection 83 switch (item.getItemId()) { 91 return super.onOptionsItemSelected(item);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
PopupMenu.java | 120 * Set a listener that will be notified when the user selects an item from the menu. 140 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { 142 return mMenuItemClickListener.onMenuItemClick(item); 184 * Interface responsible for receiving menu item click events if the items themselves 185 * do not have individual item click listeners. 189 * This method will be invoked when a menu item is clicked if the item itself did 192 * @param item {@link MenuItem} that was clicked 195 public boolean onMenuItemClick(MenuItem item);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
attrsetvaluenomodificationallowederr.java | 85 gender = genderList.item(2); 88 gen = genList.item(0); 91 g = gList.item(0);
|
hc_nodeclonenodetrue.java | 82 employeeNode = elementList.item(1); 85 origChild = (Node) origList.item(indexN10065); 92 clonedChild = (Node) clonedList.item(indexN1007B);
|
hc_noderemovechildnode.java | 87 employeeNode = elementList.item(1); 90 oldChild = emList.item(0); 95 child = (Node) childList.item(indexN10098);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
removeNamedItemNS03.java | 91 testAddress = elementList.item(2); 93 child = nList.item(0); 101 child2 = n2List.item(0);
|
setNamedItemNS04.java | 92 testAddress = elementList.item(2); 94 child = nList.item(0); 102 child2 = n2List.item(0);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
LocalName.java | 63 testAddr = (Element) elementList.item(0); 86 testEmployee = elementList.item(0); 98 testEmployee = elementList.item(0);
|
NamespaceURI.java | 85 // testAddr = (Element) elementList.item(0); 99 testAddr = (Element) elementList.item(0); 113 testEmployee = elementList.item(0); 125 testEmployee = elementList.item(1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TagClustering.java | 47 public void consume(int index, MediaItem item) { 48 Path path = item.getPath(); 50 String[] tags = item.getTags();
|
/external/harfbuzz/src/ |
harfbuzz-shaper.cpp | 242 static inline void positionCluster(HB_ShaperItem *item, int gfrom, int glast) 247 HB_Glyph *glyphs = item->glyphs; 248 HB_GlyphAttributes *attributes = item->attributes; 251 item->font->klass->getGlyphMetrics(item->font, glyphs[gfrom], &baseMetrics); 253 if (item->item.script == HB_Script_Hebrew 261 HB_Fixed size = item->font->klass->getFontMetric(item->font, HB_FontAscent) / 10; 270 bool rightToLeft = item->item.bidiLevel % 2 [all...] |
/cts/tests/src/android/app/cts/ |
AppStubActivity.java | 102 menu.add(0, 0, 0, "Fake Item"); 107 public boolean onOptionsItemSelected(MenuItem item) { 109 return super.onOptionsItemSelected(item); 131 public boolean onContextItemSelected(MenuItem item){ 133 return super.onContextItemSelected(item);
|
/cts/tests/src/android/widget/cts/ |
ExpandableListSimple.java | 35 menu.add("Add item").setOnMenuItemClickListener(new OnMenuItemClickListener() { 36 public boolean onMenuItemClick(MenuItem item) {
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestItems.java | 85 private static void addTestItem(TestItem item) { 86 ITEMS.add(item); 87 ITEM_MAP.put(item.mId, item);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 62 * Construct an item for the annotations list. TODO: This 72 AnnotationSetItem item = new AnnotationSetItem(annotations); local 73 arrayList.add(new AnnotationSetRefItem(item)); 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 138 sb.append(item.toHuman()); 145 * Gets the method this item is for.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 62 * Construct an item for the annotations list. TODO: This 72 AnnotationSetItem item = new AnnotationSetItem(annotations); local 73 arrayList.add(new AnnotationSetRefItem(item)); 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 138 sb.append(item.toHuman()); 145 * Gets the method this item is for.
|
/dalvik/vm/ |
Hash.h | 25 /* compute the hash of an item with a specific type */ 26 typedef u4 (*HashCompute)(const void* item); 29 * Compare a hash entry with a "loose" item after their hash values match. 138 * If "item" is not found, and "doAdd" is false, NULL is returned. 139 * Otherwise, a pointer to the found or added item is returned. (You can 140 * tell the difference by seeing if return value == item.) 145 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, 149 * Remove an item from the hash table, given its "data" pointer. Does not 152 bool dvmHashTableRemove(HashTable* pHashTable, u4 hash, void* item); 217 typedef u4 (*HashCalcFunc)(const void* item); [all...] |