/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ReadContext.java | 39 * Namely, it handles "pre-creating" items when an item needs to resolve some other item 40 * that it references, and keeps track of those pre-created items, so the corresponding section 41 * for the pre-created items uses them, instead of creating new items 169 * Sets the items for the specified section. This should be called by an offsetted section 170 * after it is finished reading in all its items. 172 * @param items the full list of items in the section, ordered by offset 174 public void setItemsForSection(ItemType itemType, List<? extends Item> items) { 179 sa.ensureCapacity(items.size()) [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseLocaleTest.java | 69 ArrayList<String> items = new ArrayList<String>(); local 71 items.add(c.getString(0)); 74 String[] result = items.toArray(new String[items.size()]);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 44 List<String> items = Lists.newArrayList("hello"); local 45 Adapter<String> adapter = new Adapter<String>(context, 0, items); 74 List<String> items = Lists.newArrayList("hello"); local 75 Adapter<String> adapter = new Adapter<String>(context, 0, items); 86 items.remove(0);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestBasic.java | 35 private String[] items = {"This is a very very very very very very very very very very very long Item1", "Item2"}; field in class:BiDiTestBasic 60 builder.setSingleChoiceItems(items, 0, null);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlv.java | 90 ArrayList<ComprehensionTlv> items = new ArrayList<ComprehensionTlv>(); local 95 items.add(ctlv); 103 return items;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuWrapperICS.java | 77 android.view.MenuItem[] items = null; local 79 items = new android.view.MenuItem[outSpecificItems.length]; 83 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); 85 if (items != null) { 86 for (int i = 0, z = items.length; i < z; i++) { 87 outSpecificItems[i] = getMenuItemWrapper(items[i]);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertificateFactory.java | 86 List<? extends T> items = fromPkcs7PemInputStream(pbis); local 87 if (items.size() == 0) { 90 items.get(0);
|
/ndk/sources/host-tools/make-3.81/ |
hash.c | 66 /* Load an array of items into `ht'. */ 72 char *items = (char *) item_table; local 75 hash_insert (ht, items); 76 items += size; 291 /* Dump all items into a NULL-terminated vector. Use the
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 222 List<PhoneItem> items = interaction.mPhoneList; local 223 assertNotNull(items); 224 assertEquals(2, items.size()); 226 PhoneItem item = items.get(0);
|
/packages/apps/Settings/src/com/android/settings/ |
AppWidgetLoader.java | 56 void putCustomAppWidgets(List<Item> items, Intent intent) { 105 if (LOGD) Log.d(TAG, "Using " + customInfo.size() + " custom items"); 106 putAppWidgetItems(customInfo, customExtras, items, 0, true); 115 List<Bundle> customExtras, List<Item> items, int categoryFilter, 130 items.add(item); 140 * Build and return list of items to be shown in dialog. This will mix both 148 List<Item> items = new ArrayList<Item>(); local 154 putInstalledAppWidgets(items, categoryFilter); 156 // Sort all items together by label 158 putCustomAppWidgets(items, intent) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
UserDict.py | 40 def items(self): return self.data.items() member in class:UserDict 51 elif isinstance(dict, type({})) or not hasattr(dict, 'items'): 54 for k, v in dict.items(): 121 def items(self): member in class:DictMixin
|
weakref.py | 84 for key, wr in self.data.items(): 95 for key, wr in self.data.items(): 114 def items(self): member in class:WeakValueDictionary 116 for key, wr in self.data.items(): 183 if not hasattr(dict, "items"): 185 for key, o in dict.items(): 266 for key, value in self.data.items(): 277 for key, value in self.data.items(): 300 def items(self): member in class:WeakKeyDictionary 302 for key, value in self.data.items() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_userdict.py | 91 # Test keys, items, values 93 self.assertEqual(u2.items(), d2.items()) 110 class Items: 111 def items(self): member in class:UserDictTest.test_all.Items 114 t.update(Items()) 298 # items 299 self.assertEqual(s.items(), [(10,'ten'), (30, 'thirty')])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
UserDict.py | 40 def items(self): return self.data.items() member in class:UserDict 51 elif isinstance(dict, type({})) or not hasattr(dict, 'items'): 54 for k, v in dict.items(): 121 def items(self): member in class:DictMixin
|
weakref.py | 84 for key, wr in self.data.items(): 95 for key, wr in self.data.items(): 114 def items(self): member in class:WeakValueDictionary 116 for key, wr in self.data.items(): 183 if not hasattr(dict, "items"): 185 for key, o in dict.items(): 266 for key, value in self.data.items(): 277 for key, value in self.data.items(): 300 def items(self): member in class:WeakKeyDictionary 302 for key, value in self.data.items() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_userdict.py | 91 # Test keys, items, values 93 self.assertEqual(u2.items(), d2.items()) 110 class Items: 111 def items(self): member in class:UserDictTest.test_all.Items 114 t.update(Items()) 298 # items 299 self.assertEqual(s.items(), [(10,'ten'), (30, 'thirty')])
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
InputDensityDialog.java | 73 String[] items = s.toArray(new String[s.size()]); local 74 mCombo.setItems(items);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 232 Collection<ResourceItem> items = projectResources.getResourceItemsOfType(type); local 233 for (ResourceItem item : items) {
|
/system/extras/fatblock/ |
import.c | 209 struct item *items; local 239 items = NULL; 278 item->next = items; 279 items = item; 310 item = items; 311 items = item->next; 345 free_items(items);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 116 List<BackupItem> items = new ArrayList<BackupItem>(); local 118 items.add(new CategoryBackupItem(R.string.bu_preferences)); 119 loadPreferenceGroup1(items); 120 loadPreferenceGroup2(items); 122 items.add(new CategoryBackupItem(R.string.bu_files)); 123 loadFile(TEST_FILE_1, items); 124 loadFile(TEST_FILE_2, items); 126 return items; 129 private void loadPreferenceGroup1(List<BackupItem> items) { 133 items.add(new PreferenceBackupItem(TEST_PREFS_1, INT_PREF, "" + intValue)) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
TimeLineGraph.java | 82 List items = (List) _enum.nextElement(); local 83 Object[] fItemsArray=items.toArray(); 158 List items = (List) this.fItemGroups.get(groupName); local 160 items=new ArrayList(); 161 this.fItemGroups.put(groupName, items); 163 items.add(new TimeLineGraphItem(name, description, value, col, display, 171 List items = (List) _enum.nextElement(); local 172 for (int i = 0; i < items.size(); i++) { 173 TimeLineGraphItem graphItem = (TimeLineGraphItem) items.get(i); 188 List items = (List) _enum.nextElement() local 206 List items = (List) _enum.nextElement(); local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SharePopup.java | 242 ArrayList<HashMap<String, Object>> items = new ArrayList<HashMap<String, Object>>(); local 248 items.add(map); 255 mShareList.setNumColumns(items.size()); 260 SimpleAdapter listItemAdapter = new MySimpleAdapter(mContext, items,
|
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportActivity.java | 115 List<DeliveryReportItem> items = getReportItems(); local 116 if (items == null) { 117 items = new ArrayList<DeliveryReportItem>(1); 118 items.add(new DeliveryReportItem("", getString(R.string.status_none), null)); 121 setListAdapter(new DeliveryReportAdapter(this, items)); 185 List<DeliveryReportItem> items = new ArrayList<DeliveryReportItem>(); local 198 items.add(new DeliveryReportItem( 204 return items; 280 List<DeliveryReportItem> items = new ArrayList<DeliveryReportItem>(); local 284 items.add(new DeliveryReportItem(getString(R.string.recipient_label) [all...] |
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 61 * used for selected list items 128 List<RssItem> items = new ArrayList<RssItem>(); local 129 mAdapter = new RSSListAdapter(this, items); 228 List<RssItem> items = new ArrayList<RssItem>(); local 229 mAdapter = new RSSListAdapter(this, items); 288 // to add multiple items at once, so you get less "update storm" in the UI 294 * out the rss items, and communicates them back to the UI as they are read. 367 * for each menu item. This way, one inner class works for all items vs. an 410 // Save out the items as a flat list of CharSequence objects -- 446 // Restore items from the big list of CharSequence object 448 List<RssItem> items = new ArrayList<RssItem>(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 34 // If 2 items are greater than 25 miles apart, they will be in different 57 // Initially put 2 items in the same cluster as long as they are within 61 // The minimum change factor in the time between items to consider a 119 ArrayList<SmallItem> items = new ArrayList<SmallItem>(total); local 122 items.add(buf[i]); 126 Collections.sort(items, sDateComparator); 128 int n = items.size(); 132 long t = items.get(i).dateInMs; 145 compute(items.get(i)); 164 ArrayList<SmallItem> items = mClusters.get(index).getItems() local [all...] |