/external/chromium/chrome/common/extensions/ |
D | extension_icon_set_unittest.cc | 10 ExtensionIconSet icons; in TEST() local 11 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_EXACTLY)); in TEST() 12 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_BIGGER)); in TEST() 13 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_SMALLER)); in TEST() 14 EXPECT_TRUE(icons.map().empty()); in TEST() 16 icons.Add(42, "42.png"); in TEST() 17 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_EXACTLY)); in TEST() 18 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_BIGGER)); in TEST() 19 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_SMALLER)); in TEST() 20 EXPECT_EQ("42.png", icons.Get(41, ExtensionIconSet::MATCH_BIGGER)); in TEST() [all …]
|
/external/bluetooth/glib/gio/xdgmime/ |
D | xdgmimeicon.c | 57 struct XdgIcon *icons; member 68 list->icons = NULL; in _xdg_mime_icon_list_new() 79 if (list->icons) in _xdg_mime_icon_list_free() 83 free (list->icons[i].mime_type); in _xdg_mime_icon_list_free() 84 free (list->icons[i].icon_name); in _xdg_mime_icon_list_free() 86 free (list->icons); in _xdg_mime_icon_list_free() 109 entry = bsearch (&key, list->icons, list->n_icons, in _xdg_mime_icon_list_lookup() 134 list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); in _xdg_mime_icon_read_from_file() 149 list->icons = realloc (list->icons, in _xdg_mime_icon_read_from_file() 152 list->icons[list->n_icons].mime_type = strdup (line); in _xdg_mime_icon_read_from_file() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | icons.qrc | 2 <qresource prefix="/icons" > 3 <file alias="wpa_gui.svg">icons/wpa_gui.svg</file> 4 <file alias="ap.svg">icons/ap.svg</file> 5 <file alias="laptop.svg">icons/laptop.svg</file> 6 <file alias="group.svg">icons/group.svg</file> 7 <file alias="invitation.svg">icons/invitation.svg</file>
|
D | icons_png.qrc | 2 <qresource prefix="/icons" > 3 <file alias="wpa_gui.png">icons/hicolor/16x16/apps/wpa_gui.png</file> 4 <file alias="ap.png">icons/hicolor/32x32/apps/ap.png</file> 5 <file alias="laptop.png">icons/hicolor/32x32/apps/laptop.png</file> 6 <file alias="group.png">icons/hicolor/32x32/apps/group.png</file> 7 <file alias="invitation.png">icons/hicolor/32x32/apps/invitation.png</file>
|
/external/chromium/chrome/browser/autofill/ |
D | autofill_manager_unittest.cc | 237 const std::vector<string16>& icons, in ExpectSuggestions() argument 248 ASSERT_EQ(expected_num_suggestions, icons.size()); in ExpectSuggestions() 254 EXPECT_EQ(expected_icons[i], icons[i]); in ExpectSuggestions() 526 std::vector<string16>* icons, in GetAutofillSuggestionsMessage() argument 542 if (icons) in GetAutofillSuggestionsMessage() 543 *icons = autofill_param.d; in GetAutofillSuggestionsMessage() 621 std::vector<string16> icons; in TEST_F() local 624 &page_id, &values, &labels, &icons, &unique_ids); in TEST_F() 638 ExpectSuggestions(page_id, values, labels, icons, unique_ids, in TEST_F() 665 std::vector<string16> icons; in TEST_F() local [all …]
|
D | autofill_manager.cc | 73 std::vector<string16>* icons, in RemoveDuplicateSuggestions() argument 76 DCHECK_EQ(values->size(), icons->size()); in RemoveDuplicateSuggestions() 90 icons_copy.push_back((*icons)[i]); in RemoveDuplicateSuggestions() 97 icons->swap(icons_copy); in RemoveDuplicateSuggestions() 372 std::vector<string16> icons; in OnQueryFormFieldAutofill() local 392 form_structure, field, type, &values, &labels, &icons, &unique_ids); in OnQueryFormFieldAutofill() 395 form_structure, field, type, &values, &labels, &icons, &unique_ids); in OnQueryFormFieldAutofill() 399 DCHECK_EQ(values.size(), icons.size()); in OnQueryFormFieldAutofill() 415 icons.assign(1, string16()); in OnQueryFormFieldAutofill() 432 icons.assign(icons.size(), string16()); in OnQueryFormFieldAutofill() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | convert_web_app_unittest.cc | 105 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i])); in TEST() 133 EXPECT_EQ(web_app.icons.size(), extension->icons().map().size()); in TEST() 134 for (size_t i = 0; i < web_app.icons.size(); ++i) { in TEST() 135 EXPECT_EQ(StringPrintf("icons/%i.png", web_app.icons[i].width), in TEST() 136 extension->icons().Get(web_app.icons[i].width, in TEST() 139 web_app.icons[i].width, ExtensionIconSet::MATCH_EXACTLY); in TEST() 169 EXPECT_EQ(0u, extension->icons().map().size()); in TEST()
|
D | convert_web_app.cc | 112 DictionaryValue* icons = new DictionaryValue(); in ConvertWebAppToExtension() local 113 root->Set(keys::kIcons, icons); in ConvertWebAppToExtension() 114 for (size_t i = 0; i < web_app.icons.size(); ++i) { in ConvertWebAppToExtension() 115 std::string size = StringPrintf("%i", web_app.icons[i].width); in ConvertWebAppToExtension() 118 icons->SetString(size, icon_path); in ConvertWebAppToExtension() 150 for (size_t i = 0; i < web_app.icons.size(); ++i) { in ConvertWebAppToExtension() 152 StringPrintf("%i.png", web_app.icons[i].width)); in ConvertWebAppToExtension() 154 if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data, in ConvertWebAppToExtension()
|
D | convert_web_app_browsertest.cc | 79 ASSERT_EQ(3u, installed_extension_->icons().map().size()); in IN_PROC_BROWSER_TEST_F() 80 EXPECT_EQ("icons/16.png", installed_extension_->icons().Get( in IN_PROC_BROWSER_TEST_F() 82 EXPECT_EQ("icons/48.png", installed_extension_->icons().Get( in IN_PROC_BROWSER_TEST_F() 84 EXPECT_EQ("icons/128.png", installed_extension_->icons().Get( in IN_PROC_BROWSER_TEST_F()
|
D | extension_management_api.cc | 78 const ExtensionIconSet::IconMap& icons = extension.icons().map(); in CreateExtensionInfo() local 79 if (!icons.empty()) { in CreateExtensionInfo() 82 for (icon_iter = icons.begin(); icon_iter != icons.end(); ++icon_iter) { in CreateExtensionInfo()
|
D | browser_action_test_util_views.cc | 79 void BrowserActionTestUtil::SetIconVisibilityCount(size_t icons) { in SetIconVisibilityCount() argument 80 GetContainer(browser_)->TestSetIconVisibilityCount(icons); in SetIconVisibilityCount()
|
/external/chromium/chrome/browser/web_applications/ |
D | web_app.cc | 509 IconInfoList* icons) { in GetIconsInfo() argument 510 DCHECK(icons); in GetIconsInfo() 512 icons->clear(); in GetIconsInfo() 513 for (size_t i = 0; i < app_info.icons.size(); ++i) { in GetIconsInfo() 515 if (app_info.icons[i].width == app_info.icons[i].height) { in GetIconsInfo() 516 icons->push_back(app_info.icons[i]); in GetIconsInfo() 520 std::sort(icons->begin(), icons->end(), &IconPrecedes); in GetIconsInfo()
|
/external/chromium/chrome/common/ |
D | web_apps_unittest.cc | 113 EXPECT_EQ(0u, web_app->icons.size()); in TEST() 126 ASSERT_EQ(1u, web_app->icons.size()); in TEST() 127 EXPECT_EQ("http://example.com/16.png", web_app->icons[0].url.spec()); in TEST() 128 EXPECT_EQ(16, web_app->icons[0].width); in TEST() 129 EXPECT_EQ(16, web_app->icons[0].height); in TEST()
|
D | web_apps.cc | 60 std::vector<WebApplicationInfo::IconInfo>* icons) { in AddInstallIcon() argument 85 icons->push_back(icon_info); in AddInstallIcon() 172 AddInstallIcon(elem, &app_info->icons); in ParseWebAppFromWebDocument() 286 std::vector<WebApplicationInfo::IconInfo> icons; in ParseWebAppFromDefinitionFile() local 312 icons.push_back(icon); in ParseWebAppFromDefinitionFile() 322 web_app->icons = icons; in ParseWebAppFromDefinitionFile()
|
/external/webkit/Source/WebKit/win/Interfaces/ |
D | IWebIconDatabase.idl | 38 - memory cache icons at different sizes 44 - UI elements to retrieve icons that represent site URLs. 45 - Save icons to disk for later use. 47 …removing icons. To make sure that the database does not remove unretained icons prematurely, call… 49 …before the icon is removed. Icons are removed from the database whenever new icons are added to it. 51 Retention methods can be called for icons that are not yet in the database. 128 @discussion Only effective if called before the database begins removing icons. 137 @discussion Informs the database that it now can begin removing icons.
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/ |
D | icons.qrc | 2 <qresource prefix="/icons" > 3 <file alias="wpa_gui.svg">icons/wpa_gui.svg</file>
|
D | icons_png.qrc | 2 <qresource prefix="/icons" > 3 <file alias="wpa_gui.png">icons/hicolor/16x16/apps/wpa_gui.png</file>
|
/external/chromium/chrome/common/extensions/docs/examples/api/windows/merge_windows/ |
D | NOTICE | 1 This extension uses icons based on the famfamfam silk series. 2 http://www.famfamfam.com/lab/icons/silk/
|
/external/webkit/Source/WebKit/chromium/src/ |
D | AutoFillPopupMenuClient.cpp | 268 const WebVector<WebString>& icons, in initialize() argument 273 ASSERT(names.size() == icons.size()); in initialize() 282 setSuggestions(names, labels, icons, uniqueIDs, separatorIndex); in initialize() 314 const WebVector<WebString>& icons, in setSuggestions() argument 319 ASSERT(names.size() == icons.size()); in setSuggestions() 330 m_icons.append(icons[i]); in setSuggestions()
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/ |
D | popup.js | 11 if (!app.icons || app.icons.length == 0) { 15 for (var i = 0; i < app.icons.length; i++) { 16 var icon = app.icons[i];
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebIconDatabase.mm | 84 - (NSImage *)_largestIconFromDictionary:(NSMutableDictionary *)icons; 86 - (NSImage *)_iconFromDictionary:(NSMutableDictionary *)icons forSize:(NSSize)size cache:(BOOL)cach… 372 - (NSImage *)_largestIconFromDictionary:(NSMutableDictionary *)icons 374 ASSERT(icons); 376 NSEnumerator *enumerator = [icons keyEnumerator]; 389 return [icons objectForKey:largestSize]; 396 NSMutableDictionary *icons = [NSMutableDictionary dictionary]; 404 [icons setObject:subIcon forKey:[NSValue valueWithSize:size]]; 408 if([icons count] > 0) 409 return icons; [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_match.cc | 64 int icons[NUM_TYPES] = { in TypeToIcon() local 77 DCHECK(arraysize(icons) == NUM_TYPES); in TypeToIcon() 78 return icons[type]; in TypeToIcon()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | extension_settings_handler.h | 86 void LoadIcons(std::vector<ExtensionResource>* icons, 96 void LoadIconsOnFileThread(std::vector<ExtensionResource>* icons, 215 void LoadExtensionIcons(std::vector<ExtensionResource>* icons,
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | page_action_decoration.mm | 47 // Load all the icons declared in the manifest. This is the contents of the 48 // icons array, plus the default_icon property, if any. 115 // We loaded icons()->size() icons, plus one extra if the Page Action had 123 // index greater than the number of icons, it must be the default icon. 175 // During install the action can be displayed before the icons
|
/external/chromium/chrome/browser/ui/views/ |
D | browser_actions_container.cc | 820 void BrowserActionsContainer::TestSetIconVisibilityCount(size_t icons) { in TestSetIconVisibilityCount() argument 821 model_->SetVisibleIconCount(icons); in TestSetIconVisibilityCount() 822 chevron_->SetVisible(icons < browser_action_views_.size()); in TestSetIconVisibilityCount() 823 container_width_ = IconCountToWidth(icons, chevron_->IsVisible()); in TestSetIconVisibilityCount() 1034 int BrowserActionsContainer::IconCountToWidth(int icons, in IconCountToWidth() argument 1036 if (icons < 0) in IconCountToWidth() 1037 icons = browser_action_views_.size(); in IconCountToWidth() 1038 if ((icons == 0) && !display_chevron) in IconCountToWidth() 1041 (icons == 0) ? 0 : ((icons * IconWidth(true)) - kItemSpacing); in IconCountToWidth()
|