Home
last modified time | relevance | path

Searched refs:icons (Results 1 – 25 of 111) sorted by relevance

12345

/external/chromium/chrome/common/extensions/
Dextension_icon_set_unittest.cc10 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/
Dxdgmimeicon.c57 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/
Dicons.qrc2 <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>
Dicons_png.qrc2 <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/
Dautofill_manager_unittest.cc237 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 …]
Dautofill_manager.cc73 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/
Dconvert_web_app_unittest.cc105 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()
Dconvert_web_app.cc112 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()
Dconvert_web_app_browsertest.cc79 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()
Dextension_management_api.cc78 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()
Dbrowser_action_test_util_views.cc79 void BrowserActionTestUtil::SetIconVisibilityCount(size_t icons) { in SetIconVisibilityCount() argument
80 GetContainer(browser_)->TestSetIconVisibilityCount(icons); in SetIconVisibilityCount()
/external/chromium/chrome/browser/web_applications/
Dweb_app.cc509 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/
Dweb_apps_unittest.cc113 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()
Dweb_apps.cc60 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/
DIWebIconDatabase.idl38 - 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/
Dicons.qrc2 <qresource prefix="/icons" >
3 <file alias="wpa_gui.svg">icons/wpa_gui.svg</file>
Dicons_png.qrc2 <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/
DNOTICE1 This extension uses icons based on the famfamfam silk series.
2 http://www.famfamfam.com/lab/icons/silk/
/external/webkit/Source/WebKit/chromium/src/
DAutoFillPopupMenuClient.cpp268 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/
Dpopup.js11 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/
DWebIconDatabase.mm84 - (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/
Dautocomplete_match.cc64 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/
Dextension_settings_handler.h86 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/
Dpage_action_decoration.mm47 // 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/
Dbrowser_actions_container.cc820 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()

12345