/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 130 R.layout.noteslist_item, // Points to the XML for a list item 175 // The paste menu item is enabled if there is data on the clipboard. 182 // If the clipboard contains an item, enables the Paste option on the menu. 200 // This is the selected item. 204 // based on the selected menu item. 227 Menu.NONE, // A unique item ID is not required. 236 // If the Edit menu item exists, adds shortcuts for it. 239 // Sets the Edit menu item shortcut to numeric "1", letter "e" 252 * This method is called when the user selects an option from the menu, but no item 257 * If the item was not INSERT, then most likely it was an alternative option from anothe [all...] |
/external/android-mock/tests/com/google/android/testing/mocking/ |
AndroidFrameworkMockGeneratorTest.java | 57 for (T item : expected) { 58 missingItems.add(item); 60 for (T item : actual) { 61 missingItems.remove(item); 62 extraItems.add(item); 64 for (T item : expected) { 65 extraItems.remove(item);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
BitSet.pm | 274 =item C<of> 278 =item C<or> 282 =item C<add> 286 =item C<grow_to_include> 290 =item C<set_size> 294 =item C<remove> 298 =item C<length_in_long_words>
|
/external/chromium/chrome/browser/ |
background_mode_manager.cc | 275 // Create a context menu item for Chrome. 277 // Add About item 325 void BackgroundModeManager::ExecuteApplication(int item) { 326 DCHECK(item >= 0 && item < static_cast<int>(applications_.size())); 332 const Extension* extension = applications_.GetExtension(item); 336 void BackgroundModeManager::ExecuteCommand(int item) { 337 switch (item) { 352 ExecuteApplication(item);
|
/external/chromium/net/disk_cache/ |
stats.cc | 193 std::pair<std::string, std::string> item; local 195 item.first = base::StringPrintf("Size%02d", i); 196 item.second = base::StringPrintf("0x%08x", data_sizes_[i]); 197 items->push_back(item); 201 item.first = kCounterNames[i]; 202 item.second = base::StringPrintf("0x%" PRIx64, counters_[i]); 203 items->push_back(item);
|
/external/harfbuzz/src/ |
harfbuzz-buffer.c | 300 HB_GlyphItem item = &buffer->out_string[buffer->out_pos + i]; local 302 item->gindex = glyph_data[i]; 303 item->properties = properties; 304 item->cluster = cluster; 305 item->component = component; 306 item->ligID = ligID; 307 item->gproperties = HB_GLYPH_PROPERTIES_UNKNOWN;
|
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-buffer.c | 300 HB_GlyphItem item = &buffer->out_string[buffer->out_pos + i]; local 302 item->gindex = glyph_data[i]; 303 item->properties = properties; 304 item->cluster = cluster; 305 item->component = component; 306 item->ligID = ligID; 307 item->gproperties = HB_GLYPH_PROPERTIES_UNKNOWN;
|
/external/icu4c/test/cintltst/ |
crestst.c | 472 UResourceBundle *idna_rules, *casing, *te_IN, *ne, *item; local 492 /* try an item in idna_rules, must work */ 493 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); 498 ures_close(item); 501 /* try an item in root, must fail */ 502 item=ures_getByKey(idna_rules, "ShortLanguage", NULL, &errorCode); 507 ures_close(item); 564 item=ures_getByKey(casing, "Info", NULL, &errorCode); 568 ures_close(item); 572 item=ures_getByKey(casing, "ShortLanguage", NULL, &errorCode) 650 UResourceBundle *res, *item; local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
PhoneticNameEditorView.java | 101 StructuredNameDataItem item) { 124 if (item == null) { 125 item = new StructuredNameDataItem(); 127 item.setPhoneticFamilyName(family); 128 item.setPhoneticMiddleName(middle); 129 item.setPhoneticGivenName(given); 130 return item;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
HistoryAdapter.java | 100 private void setEnabled(MenuItem item, boolean enabled) { 101 item.setEnabled(enabled); 102 Drawable drawable = item.getIcon(); 189 ImagePreset item = getItem(position); local 190 if (item != null) { 193 itemView.setText(item.historyName()); 196 Bitmap bmp = item.getPreviewImage();
|
/packages/apps/Settings/src/com/android/settings/ |
BandMode.java | 140 BandListItem item; local 148 item = new BandListItem(bands[i]); 149 mBandListAdapter.add(item); 150 if (DBG) log("Add " + item.toString()); 159 item = new BandListItem(i); 160 mBandListAdapter.add(item); 161 if (DBG) log("Add default " + item.toString());
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 83 View item = convertView; local 84 if (item == null) { 85 item = mInflater.inflate(mLayout, parent, false); 89 View vCheckBox = item.findViewById(R.id.enabled); 96 View vTextView = item.findViewById(R.id.title); 102 item.setOnClickListener(mListener); 103 return item;
|
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 77 * @param context The context the item is being created in. 79 * @return Newly created item. Return null for the default behavior. 170 * name. If the factory returns an item, add that to the hierarchy. If it 181 * each element name as the XML is parsed. If the factory returns an item, 209 * Inflate a new item hierarchy from the specified xml resource. Throws 216 * this is the root item; otherwise it is the root of the inflated 365 * @return The newly instantied item, or null. 407 * This routine is responsible for creating the correct subclass of item 408 * given the xml element name. Override it to handle custom item objects. If 412 * @param name The fully qualified class name of the item to be create 424 T item = (mFactory == null) ? null : mFactory.onCreateItem(name, mContext, attrs); local 481 T item = createItemFromTag(parser, name, attrs); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
OffsettedItem.java | 23 * An item in a Dalvik file which is referenced by absolute offset. 25 public abstract class OffsettedItem extends Item 35 * {@code null-ok;} section the item was added to, or {@code null} if 41 * {@code >= -1;} assigned offset of the item from the start of its section, 47 * Gets the absolute offset of the given item, returning {@code 0} 50 * @param item {@code null-ok;} the item in question 51 * @return {@code >= 0;} the item's absolute offset, or {@code 0} 52 * if {@code item == null} 54 public static int getAbsoluteOffsetOr0(OffsettedItem item) { [all...] |
TypeIdsSection.java | 50 public Collection<? extends Item> items() { 158 TypeIdItem item = typeIds.get(type); local 160 if (item == null) { 164 return item.getIndex();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
OffsettedItem.java | 23 * An item in a Dalvik file which is referenced by absolute offset. 25 public abstract class OffsettedItem extends Item 35 * {@code null-ok;} section the item was added to, or {@code null} if 41 * {@code >= -1;} assigned offset of the item from the start of its section, 47 * Gets the absolute offset of the given item, returning {@code 0} 50 * @param item {@code null-ok;} the item in question 51 * @return {@code >= 0;} the item's absolute offset, or {@code 0} 52 * if {@code item == null} 54 public static int getAbsoluteOffsetOr0(OffsettedItem item) { [all...] |
TypeIdsSection.java | 50 public Collection<? extends Item> items() { 158 TypeIdItem item = typeIds.get(type); local 160 if (item == null) { 164 return item.getIndex();
|
/developers/samples/android/ui/holo/BorderlessButtons/src/com/example/android/borderlessbuttons/ |
MainActivity.java | 85 // Because the list item contains multiple touch targets, you should not override 119 public boolean onOptionsItemSelected(MenuItem item) { 120 switch (item.getItemId()) { 128 return super.onOptionsItemSelected(item);
|
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 153 public boolean onOptionsItemSelected(MenuItem item) { 154 switch (item.getItemId()) { 160 return super.onOptionsItemSelected(item);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LinearLayout8.java | 38 // Menu item Ids 73 public boolean onOptionsItemSelected(MenuItem item) { 74 switch (item.getItemId()) { 104 return super.onOptionsItemSelected(item);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SharingSupport.java | 58 MenuItem item = menu.add("Share"); local 59 ShareCompat.configureMenuItem(item, b); 60 MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM);
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
CollectionDemoActivity.java | 75 public boolean onOptionsItemSelected(MenuItem item) { 76 switch (item.getItemId()) { 97 return super.onOptionsItemSelected(item);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExsltFunction.java | 91 Node child = children.item(i); 92 if (children.item(i) instanceof ElemParam) { 93 ElemParam param = (ElemParam)children.item(i);
|
/external/chromium/base/ |
message_pump_win.h | 353 bool MatchCompletedIOItem(IOHandler* filter, IOItem* item); 354 bool GetIOItem(DWORD timeout, IOItem* item); 355 bool ProcessInternalIOItem(const IOItem& item);
|
/external/chromium/chrome/browser/sync/engine/ |
get_commit_ids_command.h | 118 bool AddItem(syncable::Entry* item, sessions::OrderedCommitSet* result); 120 syncable::Entry* item, 124 syncable::Entry* item,
|