/external/bluetooth/glib/gio/tests/ |
D | g-icon.c | 33 GIcon *icon; in test_g_icon_serialize() local 51 icon = g_file_icon_new (location); in test_g_icon_serialize() 52 data = g_icon_to_string (icon); in test_g_icon_serialize() 56 g_assert (g_icon_equal (icon, icon2)); in test_g_icon_serialize() 58 g_object_unref (icon); in test_g_icon_serialize() 64 icon = g_file_icon_new (location); in test_g_icon_serialize() 65 data = g_icon_to_string (icon); in test_g_icon_serialize() 69 g_assert (g_icon_equal (icon, icon2)); in test_g_icon_serialize() 71 g_object_unref (icon); in test_g_icon_serialize() 77 icon = g_file_icon_new (location); in test_g_icon_serialize() [all …]
|
/external/bluetooth/glib/gio/ |
D | gthemedicon.c | 82 GThemedIcon *icon = G_THEMED_ICON (object); in G_DEFINE_TYPE_WITH_CODE() local 87 g_value_set_boxed (value, icon->names); in G_DEFINE_TYPE_WITH_CODE() 91 g_value_set_boolean (value, icon->use_default_fallbacks); in G_DEFINE_TYPE_WITH_CODE() 105 GThemedIcon *icon = G_THEMED_ICON (object); in g_themed_icon_set_property() local 117 if (icon->names) in g_themed_icon_set_property() 118 g_strfreev (icon->names); in g_themed_icon_set_property() 120 icon->names = g_new (char *, 2); in g_themed_icon_set_property() 121 icon->names[0] = g_strdup (name); in g_themed_icon_set_property() 122 icon->names[1] = NULL; in g_themed_icon_set_property() 131 if (icon->names) in g_themed_icon_set_property() [all …]
|
D | gemblem.c | 55 GIcon *icon; member 85 g_value_set_object (value, emblem->icon); in G_DEFINE_TYPE_WITH_CODE() 108 emblem->icon = g_value_get_object (value); in g_emblem_set_property() 126 g_object_unref (emblem->icon); in g_emblem_finalize() 175 g_emblem_new (GIcon *icon) in g_emblem_new() argument 179 g_return_val_if_fail (icon != NULL, NULL); in g_emblem_new() 180 g_return_val_if_fail (G_IS_ICON (icon), NULL); in g_emblem_new() 181 g_return_val_if_fail (!G_IS_EMBLEM (icon), NULL); in g_emblem_new() 184 emblem->icon = g_object_ref (icon); in g_emblem_new() 202 g_emblem_new_with_origin (GIcon *icon, in g_emblem_new_with_origin() argument [all …]
|
D | gfileicon.c | 49 static void g_file_icon_load_async (GLoadableIcon *icon, 85 GFileIcon *icon = G_FILE_ICON (object); in G_DEFINE_TYPE_WITH_CODE() local 90 g_value_set_object (value, icon->file); in G_DEFINE_TYPE_WITH_CODE() 104 GFileIcon *icon = G_FILE_ICON (object); in g_file_icon_set_property() local 109 icon->file = G_FILE (g_value_dup_object (value)); in g_file_icon_set_property() 120 GFileIcon *icon; in g_file_icon_finalize() local 122 icon = G_FILE_ICON (object); in g_file_icon_finalize() 124 g_object_unref (icon->file); in g_file_icon_finalize() 181 g_file_icon_get_file (GFileIcon *icon) in g_file_icon_get_file() argument 183 g_return_val_if_fail (G_IS_FILE_ICON (icon), NULL); in g_file_icon_get_file() [all …]
|
D | gicon.c | 122 g_icon_hash (gconstpointer icon) in g_icon_hash() argument 126 g_return_val_if_fail (G_IS_ICON (icon), 0); in g_icon_hash() 128 iface = G_ICON_GET_IFACE (icon); in g_icon_hash() 130 return (* iface->hash) ((GIcon *)icon); in g_icon_hash() 163 g_icon_to_string_tokenized (GIcon *icon, GString *s) in g_icon_to_string_tokenized() argument 171 g_return_val_if_fail (icon != NULL, FALSE); in g_icon_to_string_tokenized() 172 g_return_val_if_fail (G_IS_ICON (icon), FALSE); in g_icon_to_string_tokenized() 176 icon_iface = G_ICON_GET_IFACE (icon); in g_icon_to_string_tokenized() 181 if (!icon_iface->to_tokens (icon, tokens, &version)) in g_icon_to_string_tokenized() 191 g_string_append (s, g_type_name_from_instance ((GTypeInstance *)icon)); in g_icon_to_string_tokenized() [all …]
|
D | gloadableicon.c | 42 static void g_loadable_icon_real_load_async (GLoadableIcon *icon, 47 static GInputStream *g_loadable_icon_real_load_finish (GLoadableIcon *icon, 116 g_loadable_icon_load (GLoadableIcon *icon, in g_loadable_icon_load() argument 124 g_return_val_if_fail (G_IS_LOADABLE_ICON (icon), NULL); in g_loadable_icon_load() 126 iface = G_LOADABLE_ICON_GET_IFACE (icon); in g_loadable_icon_load() 128 return (* iface->load) (icon, size, type, cancellable, error); in g_loadable_icon_load() 144 g_loadable_icon_load_async (GLoadableIcon *icon, in g_loadable_icon_load_async() argument 152 g_return_if_fail (G_IS_LOADABLE_ICON (icon)); in g_loadable_icon_load_async() 154 iface = G_LOADABLE_ICON_GET_IFACE (icon); in g_loadable_icon_load_async() 156 (* iface->load_async) (icon, size, cancellable, callback, user_data); in g_loadable_icon_load_async() [all …]
|
D | gemblemedicon.c | 56 GIcon *icon; member 77 g_object_unref (emblemed->icon); in G_DEFINE_TYPE_WITH_CODE() 108 g_emblemed_icon_new (GIcon *icon, in g_emblemed_icon_new() argument 113 g_return_val_if_fail (G_IS_ICON (icon), NULL); in g_emblemed_icon_new() 114 g_return_val_if_fail (!G_IS_EMBLEM (icon), NULL); in g_emblemed_icon_new() 118 emblemed->icon = g_object_ref (icon); in g_emblemed_icon_new() 141 return emblemed->icon; in g_emblemed_icon_get_icon() 185 g_emblemed_icon_hash (GIcon *icon) in g_emblemed_icon_hash() argument 187 GEmblemedIcon *emblemed = G_EMBLEMED_ICON (icon); in g_emblemed_icon_hash() 189 guint hash = g_icon_hash (emblemed->icon); in g_emblemed_icon_hash() [all …]
|
D | gloadableicon.h | 62 GInputStream * (* load) (GLoadableIcon *icon, 67 void (* load_async) (GLoadableIcon *icon, 72 GInputStream * (* load_finish) (GLoadableIcon *icon, 80 GInputStream *g_loadable_icon_load (GLoadableIcon *icon, 85 void g_loadable_icon_load_async (GLoadableIcon *icon, 90 GInputStream *g_loadable_icon_load_finish (GLoadableIcon *icon,
|
/external/chromium/chrome/browser/status_icons/ |
D | status_icon_unittest.cc | 28 TestStatusIcon icon; in TEST() local 32 icon.AddObserver(&observer); in TEST() 33 icon.DispatchClickEvent(); in TEST() 34 icon.AddObserver(&observer2); in TEST() 35 icon.DispatchClickEvent(); in TEST() 36 icon.RemoveObserver(&observer); in TEST() 37 icon.RemoveObserver(&observer2); in TEST() 42 TestStatusIcon icon; in TEST() local 45 icon.AddObserver(&observer); in TEST() 46 icon.DispatchClickEvent(); in TEST() [all …]
|
D | status_tray.cc | 26 StatusIcon* icon = CreatePlatformStatusIcon(); in CreateStatusIcon() local 27 if (icon) in CreateStatusIcon() 28 status_icons_.push_back(icon); in CreateStatusIcon() 29 return icon; in CreateStatusIcon() 32 void StatusTray::RemoveStatusIcon(StatusIcon* icon) { in RemoveStatusIcon() argument 34 status_icons_.begin(), status_icons_.end(), icon); in RemoveStatusIcon()
|
/external/chromium/chrome/browser/ui/views/status_icons/ |
D | status_tray_win_unittest.cc | 31 StatusIcon* icon = tray.CreateStatusIcon(); in TEST() local 34 icon->SetImage(*bitmap); in TEST() 35 icon->SetPressedImage(*bitmap); in TEST() 36 icon->SetToolTip(ASCIIToUTF16("tool tip")); in TEST() 39 icon->SetContextMenu(menu); in TEST() 45 StatusIconWin* icon = static_cast<StatusIconWin*>(tray.CreateStatusIcon()); in TEST() local 47 icon->AddObserver(&observer); in TEST() 50 tray.WndProc(NULL, icon->message_id(), icon->icon_id(), WM_LBUTTONDOWN); in TEST() 52 tray.WndProc(NULL, icon->message_id(), icon->icon_id(), WM_RBUTTONDOWN); in TEST() 53 icon->RemoveObserver(&observer); in TEST()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
D | SDL_syswm.c | 50 void WIN_SetWMIcon(_THIS, SDL_Surface *icon, Uint8 *mask) in WIN_SetWMIcon() argument 94 icon_pitch = ((icon->w+3)&~3); in WIN_SetWMIcon() 95 mask_pitch = ((icon->w+7)/8); in WIN_SetWMIcon() 96 icon_plen = icon->h*icon_pitch; in WIN_SetWMIcon() 97 icon_mlen = icon->h*mask_pitch; in WIN_SetWMIcon() 107 icon_win32->biWidth = icon->w; in WIN_SetWMIcon() 108 icon_win32->biHeight = icon->h*2; in WIN_SetWMIcon() 114 icon_256 = SDL_CreateRGBSurface(SDL_SWSURFACE, icon->w, icon->h, in WIN_SetWMIcon() 121 if (icon->format->palette && in WIN_SetWMIcon() 122 (icon->format->BitsPerPixel == icon_256->format->BitsPerPixel)){ in WIN_SetWMIcon() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | SDL_gemwm.c | 43 void GEM_SetCaption(_THIS, const char *title, const char *icon) in GEM_SetCaption() argument 50 if (icon) { in GEM_SetCaption() 51 GEM_icon_name = icon; in GEM_SetCaption() 56 void GEM_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask) in GEM_SetIcon() argument 67 if (icon == NULL) { in GEM_SetIcon() 72 sicon = SDL_CreateRGBSurface(SDL_SWSURFACE, icon->w, icon->h, in GEM_SetIcon() 80 bounds.w = icon->w; in GEM_SetIcon() 81 bounds.h = icon->h; in GEM_SetIcon() 82 if ( SDL_LowerBlit(icon, &bounds, sicon, &bounds) < 0 ) { in GEM_SetIcon()
|
/external/chromium/chrome/browser/ui/gtk/status_icons/ |
D | status_tray_gtk_unittest.cc | 30 StatusIcon* icon = tray.CreateStatusIcon(); in TEST() local 33 icon->SetImage(*bitmap); in TEST() 34 icon->SetPressedImage(*bitmap); in TEST() 35 icon->SetToolTip(ASCIIToUTF16("tool tip")); in TEST() 38 icon->SetContextMenu(menu); in TEST() 44 StatusIconGtk* icon = static_cast<StatusIconGtk*>(tray.CreateStatusIcon()); in TEST() local 46 icon->AddObserver(&observer); in TEST() 49 icon->OnClick(NULL); in TEST() 50 icon->RemoveObserver(&observer); in TEST()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | custom_drag.cc | 44 CustomDrag::CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action) in CustomDrag() argument 46 image_(icon) { in CustomDrag() 78 gfx::Image* icon) in DownloadItemDrag() argument 79 : CustomDrag(icon, kDownloadItemCodeMask, kDownloadItemDragAction), in DownloadItemDrag() 96 gfx::Image* icon) { in SetSource() argument 110 if (icon) in SetSource() 111 gtk_drag_source_set_icon_pixbuf(widget, *icon); in SetSource() 115 void DownloadItemDrag::BeginDrag(const DownloadItem* item, gfx::Image* icon) { in BeginDrag() argument 116 new DownloadItemDrag(item, icon); in BeginDrag()
|
/external/webkit/Source/WebKit/win/Interfaces/ |
D | IWebIconDatabase.idl | 40 - icon update notification 43 - WebIconLoader to cache icon images 47 …icon in the database has a retain count. If an icon has a retain count greater than 0, it will be… 49 …Note that an icon can be retained after the database clean-up has begun. This just has to be done … 66 @abstract Returns a shared instance of the icon database 80 @discussion Returns an icon for a web site URL from memory or disk. nil if none is found. 81 Usually called by a UI element to determine if a site URL has an associated icon. 90 … @discussion Returns an icon URL for a web site URL from memory or disk. nil if none is found. 105 @abstract Increments the retain count of the icon. 113 @abstract Decrements the retain count of the icon. [all …]
|
/external/chromium/chrome/browser/chromeos/ |
D | setting_level_bubble_view.cc | 35 void SettingLevelBubbleView::Init(SkBitmap* icon, int level_percent) { in Init() argument 36 DCHECK(icon); in Init() 38 icon_ = icon; in Init() 46 void SettingLevelBubbleView::SetIcon(SkBitmap* icon) { in SetIcon() argument 47 DCHECK(icon); in SetIcon() 48 icon_ = icon; in SetIcon()
|
D | wm_overview_favicon.cc | 56 SkBitmap icon; in SetFavicon() local 67 icon = skia::ImageOperations::Resize( in SetFavicon() 73 favicon_view_->SetImage(icon); in SetFavicon() 76 SetBounds(gfx::Rect(icon.width(), icon.height())); in SetFavicon()
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebIconDatabase.mm | 85 - (NSMutableDictionary *)_iconsBySplittingRepresentationsOfIcon:(NSImage *)icon; 87 - (void)_scaleIcon:(NSImage *)icon toSize:(NSSize)size; 114 // Check the user defaults and see if the icon database should even be enabled. 142 if (NSImage *icon = webGetNSImage(image, size)) 143 return icon; 291 // Figure out the directory we should be using for the icon.db 294 // Rename legacy icon database files to the new icon database name 296 NSString *legacyDB = [databaseDirectory stringByAppendingPathComponent:@"icon.db"]; 304 // Set the private browsing pref then open the WebCore icon database 307 LOG_ERROR("Unable to open icon database"); [all …]
|
/external/webkit/Tools/QtTestBrowser/ |
D | locationedit.cpp | 37 static QPixmap icon; in defaultPageIcon() local 38 if (icon.isNull()) in defaultPageIcon() 39 icon.load(":/favicon.png"); in defaultPageIcon() 41 return icon; in defaultPageIcon() 56 void LocationEdit::setPageIcon(const QIcon& icon) in setPageIcon() argument 58 if (icon.isNull()) in setPageIcon() 61 m_pageIconLabel->setPixmap(icon.pixmap(gPageIconSize)); in setPageIcon()
|
/external/chromium/chrome/browser/chromeos/status/ |
D | network_menu.h | 80 virtual bool GetIconAt(int index, SkBitmap* icon); 117 MenuItem(ui::MenuModel::ItemType type, string16 label, SkBitmap icon, in MenuItem() 121 icon(icon), in MenuItem() 125 MenuItem(ui::MenuModel::ItemType type, string16 label, SkBitmap icon, in MenuItem() 129 icon(icon), in MenuItem() 135 SkBitmap icon; member 249 static SkBitmap IconForDisplay(const SkBitmap* icon, const SkBitmap* badge); 255 static SkBitmap IconForDisplay(const SkBitmap* icon,
|
/external/chromium/chrome/browser/ui/webui/ |
D | fileicon_source.cc | 44 gfx::Image* icon = im->LookupIcon(escaped_filepath, IconLoader::NORMAL); in StartDataRequest() local 46 if (icon) { in StartDataRequest() 48 gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); in StartDataRequest() 69 gfx::Image* icon) { in OnFileIconDataAvailable() argument 73 if (icon) { in OnFileIconDataAvailable() 75 gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); in OnFileIconDataAvailable()
|
/external/chromium/chrome/common/ |
D | badge_util.cc | 55 SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon, in DrawBadgeIconOverlay() argument 72 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) { in DrawBadgeIconOverlay() 81 int badge_width = icon.width(); in DrawBadgeIconOverlay() 87 new gfx::CanvasSkia(badge_width, icon.height(), false)); in DrawBadgeIconOverlay() 88 canvas->DrawBitmapInt(icon, 0, 0); in DrawBadgeIconOverlay() 94 SkScalar y = (icon.height() - font_size)/2 + font_size - 1; in DrawBadgeIconOverlay()
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
D | download_item_mac.mm | 40 // another thread, so reload the icon if the download filename changes. 82 gfx::Image* icon = icon_manager->LookupIcon(file, IconLoader::SMALL); 83 if (icon) { 84 [item_controller_ setIcon:*icon]; 88 // The icon isn't cached, load it asynchronously. 95 gfx::Image* icon) { 96 if (!icon) 98 [item_controller_ setIcon:*icon];
|
/external/chromium/chrome/browser/ui/cocoa/status_icons/ |
D | status_icon_mac_unittest.mm | 20 // Create an icon, set the tool tip, then shut it down (checks for leaks). 21 scoped_ptr<StatusIcon> icon(new StatusIconMac()); 24 icon->SetImage(*bitmap); 27 icon->SetPressedImage(*pressed); 28 icon->SetToolTip(ASCIIToUTF16("tool tip"));
|