/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseLayoutRuleTest.java | 60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); local 61 assertEquals(1, ids.size()); 62 assertEquals("@+id/Button01", ids.keySet().iterator().next()); 75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); local 76 assertEquals(0, ids.size()); 110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); local 111 assertEquals(5, ids.size()); 113 "@+id/Button012", "@+id/LinearLayout01"), ids.keySet()); 118 assertEquals(Pair.of("@+id/LinearLayout01", "android.widget.LinearLayout"), ids
|
/external/chromium/base/ |
id_map_unittest.cc | 92 int32 ids[kCount]; local 95 ids[i] = map.Add(&obj[i]); 102 EXPECT_EQ(ids[0], iter.GetCurrentKey()); 104 map.Remove(ids[1]); 107 EXPECT_EQ(ids[2], iter.GetCurrentKey()); 109 map.Remove(ids[3]); 112 EXPECT_EQ(ids[4], iter.GetCurrentKey()); 114 map.Remove(ids[0]);
|
/external/oprofile/libutil++/ |
unique_storage.h | 83 inserted = ids.insert(val); 107 id_map ids; member in class:unique_storage
|
/frameworks/wilhelm/tests/sandbox/ |
urimime.c | 78 SLInterfaceID ids[1]; local 80 ids[0] = SL_IID_BUFFERQUEUE; 84 &audioSnk, numInterfaces, ids, req); 88 ids[0] = SL_IID_ANDROIDSIMPLEBUFFERQUEUE; 90 &audioSnk, numInterfaces, ids, req);
|
/external/chromium/chrome/browser/extensions/ |
extension_bookmarks_module.cc | 281 const ListValue* ids = static_cast<const ListValue*>(arg0); local 282 size_t count = ids->GetSize(); 287 EXTENSION_FUNCTION_VALIDATE(ids->GetString(i, &id_string)); 390 std::list<int64>* ids, 397 ids->push_back(id); 406 std::list<int64> ids; 408 EXTENSION_FUNCTION_VALIDATE(ExtractIds(args_.get(), &ids, &invalid_id)); 418 size_t count = ids.size(); 420 for (std::list<int64>::iterator it = ids.begin(); it != ids.end(); ++it) 701 IdList ids; local 734 IdList ids; local [all...] |
crx_installer.cc | 46 std::set<std::string> ids; member in struct:__anon3101::WhitelistedInstallData 58 g_whitelisted_install_data.Get().ids.insert(id); 94 std::set<std::string>& ids = g_whitelisted_install_data.Get().ids; local 95 return ContainsKey(ids, id); 101 std::set<std::string>& ids = g_whitelisted_install_data.Get().ids; local 102 if (ContainsKey(ids, id)) { 103 ids.erase(id);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbum.java | 153 GalleryApp application, boolean isImage, ArrayList<Integer> ids) { 155 MediaItem[] result = new MediaItem[ids.size()]; 156 if (ids.isEmpty()) return result; 157 int idLow = ids.get(0); 158 int idHigh = ids.get(ids.size() - 1); 184 int n = ids.size(); 190 // Match id with the one on the ids list. 191 if (ids.get(i) > id) { 195 while (ids.get(i) < id) [all...] |
/frameworks/base/core/java/android/content/res/ |
StringBlock.java | 161 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { 173 if (type == ids.boldId) { 177 } else if (type == ids.italicId) { 181 } else if (type == ids.underlineId) { 185 } else if (type == ids.ttId) { 189 } else if (type == ids.bigId) { 193 } else if (type == ids.smallId) { 197 } else if (type == ids.subId) { 201 } else if (type == ids.supId) { 205 } else if (type == ids.strikeId) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
IconListPreference.java | 77 int ids[] = new int[n]; local 79 ids[i] = array.getResourceId(i, 0); 82 return ids;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
IconListPreference.java | 79 int ids[] = new int[n]; local 81 ids[i] = array.getResourceId(i, 0); 84 return ids;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadHandler.java | 54 ArrayList<Long> ids = new ArrayList<Long>(); local 59 ids.add(id); 65 for (Long id : ids) {
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 84 int[] ids = new int[] { local 93 mButtons = new Drawable[ids.length]; 98 for (int i = 0; i < ids.length; i++) { 99 mButtons[i] = res.getDrawable(ids[i]);
|
/external/chromium/chrome/browser/sync/ |
abstract_profile_sync_service_test.h | 37 browser_sync::TestIdFactory* ids);
|
/external/icu4c/layout/ |
KernTable.cpp | 125 char ids[256]; local 131 ids[id] = (char)i; 142 char c = ids[left]; 150 c = ids[right];
|
/dalvik/dx/tests/098-dex-jsr-ret-throw/ |
ViewDebug$ViewServer.class | |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
PhoneCallDetailsHelperTest.java | 262 private void assertCallTypeIconsEquals(int... ids) { 263 assertEquals(ids.length, mViews.callTypeIcons.getCount()); 264 for (int index = 0; index < ids.length; ++index) { 265 int id = ids[index]; 276 private void assertCallTypeIconsEqualsPlusOverflow(String overflowText, int... ids) { 277 assertEquals(ids.length, mViews.callTypeIcons.getCount()); 278 for (int index = 0; index < ids.length; ++index) { 279 int id = ids[index];
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 219 String[] ids = TimeZone.getAvailableIDs(rawoffset); local 220 List<String> idList = Arrays.asList(ids); 259 String[] ids = TimeZone.getAvailableIDs(offset); local 261 if (ids.length != 0) { 263 if (!(ids[i].equalsIgnoreCase(tz.getID()))) { 264 TimeZone sameZone = TimeZone.getTimeZone(ids[i]);
|
/external/openssl/crypto/x509v3/ |
v3_sxnet.c | 99 ASN1_SEQUENCE_OF(SXNET, ids, SXNETID) 113 for(i = 0; i < sk_SXNETID_num(sx->ids); i++) { 114 id = sk_SXNETID_value(sx->ids, i); 126 * else because it will just take static IDs from the configuration file and 211 if(!sk_SXNETID_push(sx->ids, id)) goto err; 254 for(i = 0; i < sk_SXNETID_num(sx->ids); i++) { 255 id = sk_SXNETID_value(sx->ids, i);
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 78 * The 'ids' array contains time zone ids sorted alphabetically, for binary searching. 83 private static String[] ids; field in class:ZoneInfoDB 174 // We create one string containing all the ids, and then break that into substrings. 175 // This way, all ids share a single char[] on the heap. 177 ids = new String[numEntries]; 179 ids[i] = allIds.substring(i == 0 ? 0 : idEnd[i - 1], idEnd[i]); 185 int index = Arrays.binarySearch(ids, id); 233 return ids.clone(); 240 matches.add(ids[i]) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TabControl.java | 292 * position sorted array of tab ids 302 long[] ids = new long[numTabs]; local 307 ids[i++] = tab.getId(); 315 "Error saving state, duplicate tab ids!"); 319 ids[i++] = -1; 325 outState.putLongArray(POSITIONS, ids); 342 final long[] ids = (inState == null) ? null : inState.getLongArray(POSITIONS); local 343 if (ids == null) { 352 for (long id : ids) { 389 long[] ids = inState.getLongArray(POSITIONS) local [all...] |
/external/icu4c/test/intltest/ |
icusvtst.cpp | 416 // shouldn't find unregistered ids 461 UVector ids(uhash_deleteUnicodeString, uhash_compareUnicodeString, status); 462 service.getVisibleIDs(ids, status); 464 confirmBoolean("18) find invisible", !ids.contains(&target)); 552 TestMultipleKeyStringFactory(const UnicodeString ids[], int32_t count, const UnicodeString& factoryID) 558 _ids.addElement(new UnicodeString(ids[i]), _status); 648 // we can override for particular ids 680 // iterate over the visual ids returned by the multiple factory 683 UVector ids(uhash_deleteUnicodeString, uhash_compareUnicodeString, 0, status); 684 service.getVisibleIDs(ids, status) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
construction.rb | 233 : ids+=ID (','! ids+=ID)* 237 : ids+=ID! (','! ids+=ID!)* {$res = $ids.map { |id| id.text }} 241 : ids+=ID^ (','! ids+=ID^)* 249 : ids+=primary! (','! ids+=primary!)* {$res = $ids.map { |id| id.text } [all...] |
/external/webkit/Source/WebCore/storage/ |
IDBDatabaseBackendImpl.cpp | 242 Vector<int64_t> ids; local 246 m_backingStore->getObjectStores(m_id, ids, names, keyPaths, autoIncrementFlags); 248 ASSERT(names.size() == ids.size()); 249 ASSERT(keyPaths.size() == ids.size()); 250 ASSERT(autoIncrementFlags.size() == ids.size()); 252 for (size_t i = 0; i < ids.size(); i++) 253 m_objectStores.set(names[i], IDBObjectStoreBackendImpl::create(m_backingStore.get(), m_id, ids[i], names[i], keyPaths[i], autoIncrementFlags[i]));
|
/frameworks/base/core/java/android/app/ |
DownloadManager.java | 294 * provides an array of download ids corresponding to the download notification that was 741 * Include only the downloads with the given IDs. 744 public Query setFilterById(long... ids) { 745 mIds = ids; [all...] |
/external/chromium/chrome/browser/accessibility/ |
renderer_accessibility_browsertest.cc | 49 const WebAccessibility& node, base::hash_set<int>* ids) { 50 ASSERT_TRUE(ids->find(node.id) == ids->end()); 51 ids->insert(node.id); 53 RecursiveAssertUniqueIds(node.children[i], ids); 267 base::hash_set<int> ids; local 268 RecursiveAssertUniqueIds(tree, &ids); 333 base::hash_set<int> ids; local 334 RecursiveAssertUniqueIds(tree, &ids);
|