/external/chromium/chrome/browser/extensions/ |
extension_menu_manager_unittest.cc | 75 ExtensionMenuItem* item1 = CreateTestItem(extension); local 76 ASSERT_TRUE(item1 != NULL); 77 ASSERT_TRUE(manager_.AddContextItem(extension, item1)); 78 ASSERT_EQ(item1, manager_.GetItemById(item1->id())); 80 manager_.MenuItems(item1->extension_id()); 82 ASSERT_EQ(item1, items->at(0)); 90 ASSERT_EQ(item1, items->at(0)); 115 ExtensionMenuItem* item1 = CreateTestItem(extension1); local 125 ASSERT_TRUE(manager_.AddContextItem(extension1, item1)); 169 ExtensionMenuItem* item1 = CreateTestItem(extension); local 234 ExtensionMenuItem* item1 = CreateTestItem(extension1); local 318 ExtensionMenuItem* item1 = CreateTestItem(extension1); local 376 ExtensionMenuItem* item1 = CreateTestItem(extension1); local 405 ExtensionMenuItem* item1 = CreateTestItem(extension1); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
menu_manager_unittest.cc | 108 MenuItem* item1 = CreateTestItem(extension); local 109 ASSERT_TRUE(item1 != NULL); 110 ASSERT_TRUE(manager_.AddContextItem(extension, item1)); 111 ASSERT_EQ(item1, manager_.GetItemById(item1->id())); 112 const MenuItem::List* items = manager_.MenuItems(item1->extension_id()); 114 ASSERT_EQ(item1, items->at(0)); 122 ASSERT_EQ(item1, items->at(0)); 157 MenuItem* item1 = CreateTestItem(extension1); local 167 ASSERT_TRUE(manager_.AddContextItem(extension1, item1)); 275 MenuItem* item1 = CreateTestItem(extension); local 340 MenuItem* item1 = CreateTestItem(extension1); local 424 MenuItem* item1 = CreateTestItem(extension1); local 507 MenuItem* item1 = CreateTestItem(extension1); local 536 MenuItem* item1 = CreateTestItem(extension1); local 639 MenuItem* item1 = CreateTestItem(extension); local 730 MenuItem* item1 = CreateTestItem(extension1, true); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
StackTest.java | 55 String item1 = "Ichi"; local 58 s.push(item1); 60 .peek() == item1); 77 String item1 = "Ichi"; local 80 s.push(item1); 93 assertTrue("b) Pop did not return top item", lastPopped == item1); 132 String item1 = "Ichi"; local 135 s.push(item1); 139 .search(item1));
|
/libcore/luni/src/test/java/tests/api/java/util/ |
StackTest.java | 55 String item1 = "Ichi"; local 58 s.push(item1); 60 .peek() == item1); 85 String item1 = "Ichi"; local 88 s.push(item1); 101 assertTrue("b) Pop did not return top item", lastPopped == item1); 147 String item1 = "Ichi"; local 150 s.push(item1); 154 .search(item1));
|
/external/chromium_org/media/video/capture/win/ |
capability_list_win.cc | 22 bool CompareHeight(const ResolutionDiff& item1, const ResolutionDiff& item2) { 23 return abs(item1.diff_height) < abs(item2.diff_height); 26 bool CompareWidth(const ResolutionDiff& item1, const ResolutionDiff& item2) { 27 return abs(item1.diff_width) < abs(item2.diff_width); 30 bool CompareFrameRate(const ResolutionDiff& item1, 32 return abs(item1.diff_frame_rate) < abs(item2.diff_frame_rate); 35 bool CompareColor(const ResolutionDiff& item1, const ResolutionDiff& item2) { 36 return item1.capability->supported_format.pixel_format <
|
/frameworks/base/core/tests/coretests/src/android/view/ |
MenuTest.java | 192 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); local 197 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); 198 item1.setChecked(true); 199 Assert.assertTrue("Item did not get checked", item1.isChecked()); 203 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item1.isChecked()); 207 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); 208 item1.setChecked(false); 209 Assert.assertFalse("Item did not get unchecked", item1.isChecked()); 210 item1.setChecked(true) 219 final MenuItem item1 = mMenu.add(0, 1, 0, "item1"); local 237 final MenuItem item1 = subMenu.add(0, 1, 0, "item1"); local 248 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); local [all...] |
/external/chromium_org/chrome/browser/chromeos/profiles/ |
profile_list_chromeos_unittest.cc | 141 const AvatarMenu::Item& item1 = menu->GetItemAt(0); local 142 EXPECT_EQ(0U, item1.menu_index); 143 EXPECT_EQ(name1, item1.name); 161 const AvatarMenu::Item& item1 = menu->GetItemAt(0); local 162 EXPECT_EQ(0U, item1.menu_index); 163 EXPECT_EQ(name1, item1.name); 187 const AvatarMenu::Item& item1 = menu->GetItemAt(0); local 188 EXPECT_EQ(0U, item1.menu_index); 189 EXPECT_EQ(name1, item1.name); 251 const AvatarMenu::Item& item1 = menu->GetItemAt(0) local 295 const AvatarMenu::Item& item1 = menu->GetItemAt(0); local [all...] |
/external/chromium_org/base/containers/ |
mru_cache_unittest.cc | 47 CachedItem item1(10); 48 Cache::iterator inserted_item = cache.Put(kItem1Key, item1); 51 // Check that item1 was properly inserted. 61 EXPECT_EQ(item1.value, found->second.value); 69 // Check that item1 is the oldest since item2 was added afterwards. 74 EXPECT_EQ(item1.value, oldest->second.value); 77 // Check that item1 is still accessible by key. 82 EXPECT_EQ(item1.value, test_item->second.value); 85 // Check that retrieving item1 pushed item2 to oldest. 93 // Remove the oldest item and check that item1 is now the only member [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_list_desktop_unittest.cc | 100 const AvatarMenu::Item& item1 = model->GetItemAt(0); local 101 EXPECT_EQ(0U, item1.menu_index); 102 EXPECT_EQ(name1, item1.name); 144 const AvatarMenu::Item& item1 = model->GetItemAt(0); local 145 EXPECT_EQ(0U, item1.menu_index); 146 EXPECT_EQ(name1, item1.name); 195 const AvatarMenu::Item& item1 = model->GetItemAt(0); local 196 EXPECT_EQ(0U, item1.menu_index); 197 EXPECT_EQ(name1, item1.name); 290 const AvatarMenu::Item& item1 = model->GetItemAt(0) local [all...] |
avatar_menu.h | 92 static bool CompareItems(const Item* item1, const Item* item2);
|
avatar_menu.cc | 112 bool AvatarMenu::CompareItems(const Item* item1, const Item* item2) { 113 return base::i18n::ToLower(item1->name).compare(
|
/external/chromium_org/ui/app_list/ |
app_list_model_unittest.cc | 133 AppListItemModel* item1 = model_.item_list()->item_at(1); local 134 ASSERT_TRUE(item1); 135 EXPECT_EQ(model_.GetItemName(1), item1->id()); 146 AppListItemModel* item1 = model_.item_list()->FindItem(item_name1); local 147 ASSERT_TRUE(item1); 148 EXPECT_EQ(item_name1, item1->id()); 161 AppListItemModel* item1 = model_.item_list()->item_at(1); local 162 ASSERT_TRUE(item1); 166 item2, item0->position().CreateBetween(item1->position()));
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
chrome_launcher_controller_browsertest.cc | 402 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 403 ash::LauncherID id = item1.id; 404 EXPECT_EQ(ash::TYPE_PLATFORM_APP, item1.type); 405 EXPECT_EQ(ash::STATUS_ACTIVE, item1.status); 489 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 490 ash::LauncherID item_id = item1.id; 491 EXPECT_EQ(ash::TYPE_PLATFORM_APP, item1.type); 492 EXPECT_EQ(ash::STATUS_ACTIVE, item1.status); 493 EXPECT_EQ(2, GetNumApplicationMenuItems(item1)); // Title + 1 window 526 const ash::LauncherItem& item1 = GetLastLauncherItem() local 567 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 648 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 687 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 750 const ash::LauncherItem& item1 = GetLastLauncherPanelItem(); local 779 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 1340 const ash::LauncherItem& item1 = GetLastLauncherItem(); local 1570 views::View* item1 = vm_grid->view_at(1); local 1722 views::View* item1 = vm_grid->view_at(1); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 72 public int compare(AnnotationItem item1, AnnotationItem item2) { 73 int index1 = item1.type.getIndex();
|
MixedItemSection.java | 56 public int compare(OffsettedItem item1, OffsettedItem item2) { 57 ItemType type1 = item1.itemType();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 69 public int compare(AnnotationItem item1, AnnotationItem item2) { 70 int index1 = item1.type.getIndex();
|
MixedItemSection.java | 55 public int compare(OffsettedItem item1, OffsettedItem item2) { 56 ItemType type1 = item1.itemType();
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationItem.java | 70 public int compare(AnnotationItem item1, AnnotationItem item2) { 71 int index1 = item1.type.getIndex();
|
MixedItemSection.java | 56 public int compare(OffsettedItem item1, OffsettedItem item2) { 57 ItemType type1 = item1.itemType();
|
/packages/inputmethods/PinyinIME/jni/share/ |
searchutility.cpp | 46 const LmaPsbItem *item1 = static_cast<const LmaPsbItem*>(p1); local 52 size_t up1 = item1->psb * (item2->lma_len); 53 size_t up2 = item2->psb * (item1->lma_len);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_widgets.py | 856 item1 = self.tv.insert('', 'end') 858 self.assertEqual(self.tv.get_children(), (item1, item2)) 860 self.tv.delete(item1, item2) 921 item1 = self.tv.insert('', 'end') 922 self.tv.focus(item1) 923 self.assertEqual(self.tv.focus(), item1) 925 self.tv.delete(item1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_widgets.py | 856 item1 = self.tv.insert('', 'end') 858 self.assertEqual(self.tv.get_children(), (item1, item2)) 860 self.tv.delete(item1, item2) 921 item1 = self.tv.insert('', 'end') 922 self.tv.focus(item1) 923 self.assertEqual(self.tv.focus(), item1) 925 self.tv.delete(item1) [all...] |
/external/chromium/webkit/glue/ |
webkit_glue.cc | 184 // Returns True if item1 < item2. 185 static bool HistoryItemCompareLess(const WebHistoryItem& item1, 187 string16 target1 = item1.target();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 94 public int compare(MediaItem item1, MediaItem item2) { 95 return -Utils.compare(item1.getDateInMs(), item2.getDateInMs());
|
/external/chromium_org/sync/syncable/ |
syncable_unittest.cc | 768 CreateEntry("item1", id1); 772 MutableEntry item1(&trans, GET_BY_ID, id1); 773 ASSERT_TRUE(item1.good()); 774 handle1 = item1.GetMetahandle(); 775 item1.PutSpecifics(bookmark_specifics); 776 item1.PutServerSpecifics(bookmark_specifics); 796 MutableEntry item1(&trans, GET_BY_ID, id1); 797 ASSERT_TRUE(item1.good()); 798 item1.PutServerIsDel(true); 860 // Undelete item1 [all...] |