/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
ActionBarHelperBase.java | 74 MenuItem item = menu.getItem(i); local 75 if (mActionItemIds.contains(item.getItemId())) { 76 addActionItemCompatFromMenuItem(item); 164 * android.view.MenuItem}. If the menu item ID is <code>menu_refresh</code>, the menu item's 168 private View addActionItemCompatFromMenuItem(final MenuItem item) { 169 final int itemId = item.getItemId(); 190 actionButton.setImageDrawable(item.getIcon()); 192 actionButton.setContentDescription(item.getTitle()); 195 mActivity.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarFragmentMenu.java | 145 public boolean onOptionsItemSelected(MenuItem item) { 146 if (item.getTitle().equals("Menu 1a")) { 150 if (item.getTitle().equals("Menu 1b")) { 154 return super.onOptionsItemSelected(item); 185 public boolean onOptionsItemSelected(MenuItem item) { 186 if (item.getTitle().equals("Menu 2")) { 228 public boolean onOptionsItemSelected(MenuItem item) { 229 if (item.getItemId() == R.id.simple_item) { 230 Toast.makeText(getActivity(), "Selected nested fragment's menu item.", 234 return super.onOptionsItemSelected(item); [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
RuleListController.java | 109 /* ITEM RENDERER */ 122 final Rule item = (Rule) value; local 123 setText(item.toString()); 126 setIcon(item.getNotEmpty() ? ImageFactory.getSingleton().FAV16 : null); 128 if(list.getSelectedValue() == item ) {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMIterator.java | 271 * Returns the <code>node handle</code> of an item in the collection. If 275 * @param index of the item. 280 public int item(int index); method in interface:DTMIterator
|
/external/chromium/chrome/browser/importer/ |
in_process_importer_bridge.cc | 91 void InProcessImporterBridge::NotifyItemStarted(importer::ImportItem item) { 94 NewRunnableMethod(host_, &ImporterHost::NotifyImportItemStarted, item)); 97 void InProcessImporterBridge::NotifyItemEnded(importer::ImportItem item) { 100 NewRunnableMethod(host_, &ImporterHost::NotifyImportItemEnded, item));
|
profile_import_process_host.h | 50 // Report that an item has been successfully imported. We need to make 53 bool ReportImportItemFinished(importer::ImportItem item);
|
/external/chromium/chrome/browser/sync/sessions/ |
ordered_commit_set.cc | 36 CommitItem item = other.GetCommitItemAt(i); local 37 AddCommitItem(item.meta, item.id, item.group);
|
/external/chromium/chrome/browser/ui/cocoa/ |
confirm_quit_panel_controller.h | 62 // Returns the Accelerator for the Quit menu item. 71 + (NSString*)keyCombinationForAccelerator:(const ui::AcceleratorCocoa&)item;
|
/external/chromium/chrome/browser/ui/cocoa/status_icons/ |
status_icon_mac.h | 36 NSStatusItem* item();
|
/external/dexmaker/src/dx/java/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.
|
/external/icu4c/common/ |
locresdata.cpp | 30 * Lookup a resource bundle table item with fallback on the table level. 33 * This function takes the name of a top-level table and of an item in that table 35 * with this item. 38 * before root. Once a bundle is open, item lookups do not go through the 51 const UChar *item=NULL; local 81 item = ures_getStringByKeyWithFallback(&subTable, itemKey, pLength, &errorCode); 91 item = ures_getStringByKeyWithFallback(&table, itemKey, pLength, &errorCode); 104 item = ures_getStringByKeyWithFallback(&table, replacement, pLength, &errorCode); 142 /* succeeded in opening the fallback bundle .. continue and try to fetch the item */ 151 return item; [all...] |
/external/icu4c/test/intltest/ |
canittst.h | 48 void expectEqual(const UnicodeString &message, const UnicodeString &item, const UnicodeString &a, const UnicodeString &b);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestOgreAnim.java | 86 Geometry item = new Geometry("Item", b); local 87 item.move(0, 1.5f, 0); 88 item.setMaterial(assetManager.loadMaterial("Common/Materials/RedColor.j3m")); 90 n.attachChild(item);
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
DiscoverItems.java | 45 private final List<Item> items = new CopyOnWriteArrayList<Item>(); 49 * Adds a new item to the discovered information. 51 * @param item the discovered entity's item 53 public void addItem(Item item) { 55 items.add(item); 64 public void addItems(Collection<Item> itemsToAdd) { 66 for (Item i : itemsToAdd) [all...] |
MUCAdmin.java | 39 private List<Item> items = new ArrayList<Item>(); 42 * Returns an Iterator for item childs that holds information about roles, affiliation, 45 * @return an Iterator for item childs that holds information about roles, affiliation, 48 public Iterator<Item> getItems() { 50 return Collections.unmodifiableList(new ArrayList<Item>(items)).iterator(); 55 * Adds an item child that holds information about roles, affiliation, jids and nicks. 57 * @param item the item child that holds information about roles, affiliation, jids and nicks. 59 public void addItem(Item item) 70 Item item = items.get(i); local [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
AgentStatusRequest.java | 50 private Set<Item> agents;
53 agents = new HashSet<Item>();
60 public Set<Item> getAgents() {
76 for (Iterator<Item> i=agents.iterator(); i.hasNext(); ) {
77 Item item = (Item) i.next();
local 78 buf.append("<agent jid=\"").append(item.getJID()).append("\">");
79 if (item.getName() != null) {
81 buf.append(item.getName()); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.5-2.js | 83 var item = 0; 88 array[item++] = new TestCase( SECTION, 97 array[item++] = new TestCase( SECTION, 107 array[item++] = new TestCase
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.2-2-n.js | 75 var item = 0;
|
7.2-3-n.js | 77 var item = 0;
|
7.2-4-n.js | 77 var item = 0;
|
7.2-5-n.js | 80 var item = 0;
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8NamedNodesCollection.h | 50 virtual Node* item(unsigned) const;
|
/external/webkit/Source/WebCore/css/ |
StyleList.h | 36 StyleBase* item(unsigned num) { return num < length() ? m_children[num].get() : 0; } function in class:WebCore::StyleList
|
StyleSheetList.cpp | 53 StyleSheet* StyleSheetList::item(unsigned index) function in class:WebCore::StyleSheetList
|
/external/webkit/Source/WebCore/dom/ |
ClientRectList.h | 46 ClientRect* item(unsigned index);
|