/external/chromium/chrome/common/ |
badge_util.h | 22 // Given an |icon|, renders the |text| centered on the |icon|. If |text| is 25 SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon,
|
badge_util.cc | 55 SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon, 72 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) { 81 int badge_width = icon.width(); 87 new gfx::CanvasSkia(badge_width, icon.height(), false)); 88 canvas->DrawBitmapInt(icon, 0, 0); 94 SkScalar y = (icon.height() - font_size)/2 + font_size - 1;
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macwm_c.h | 27 extern void Mac_SetCaption(_THIS, const char *title, const char *icon);
|
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetail.java | 24 public Drawable icon; field in class:UidDetail
|
/frameworks/base/core/java/android/content/pm/ |
LabeledIntent.java | 25 * A special subclass of Intent that can have a custom label/icon 36 * and icon resources for it. 39 * @param sourcePackage The package in which the label and icon live. 41 * @param icon Resource containing the icon, or 0 if none. 44 int labelRes, int icon) { 49 mIcon = icon; 54 * label and icon resource for it. 57 * @param sourcePackage The package in which the label and icon live. 59 * @param icon Resource containing the icon, or 0 if none 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); local [all...] |
/external/chromium/chrome/browser/chromeos/ |
setting_level_bubble_view.h | 26 // Ownership of |icon| remains with the caller (it's probably a shared 28 void Init(SkBitmap* icon, int level_percent); 30 // Change the icon that we're currently displaying. 31 void SetIcon(SkBitmap* icon);
|
setting_level_bubble_view.cc | 35 void SettingLevelBubbleView::Init(SkBitmap* icon, int level_percent) { 36 DCHECK(icon); 38 icon_ = icon; 46 void SettingLevelBubbleView::SetIcon(SkBitmap* icon) { 47 DCHECK(icon); 48 icon_ = icon;
|
wm_overview_favicon.cc | 56 SkBitmap icon; local 67 icon = skia::ImageOperations::Resize( 73 favicon_view_->SetImage(icon); 76 SetBounds(gfx::Rect(icon.width(), icon.height()));
|
/external/chromium/chrome/browser/tab_contents/ |
simple_alert_infobar_delegate.cc | 13 SkBitmap* icon, 17 icon_(icon),
|
/external/chromium_org/chrome/browser/resources/ |
incognito_tab.css | 9 .icon { 14 html[dir='ltr'] .icon { 19 html[dir='rtl'] .icon { 40 .extension-icon {
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
chrome_launcher_app_menu_item_v2app.cc | 11 const gfx::Image* icon, 16 : ChromeLauncherAppMenuItem(title, icon, has_leading_separator),
|
/frameworks/base/core/java/android/view/ |
SubMenu.java | 52 * Sets the submenu header's icon to the icon given in <var>iconRes</var> 55 * @param iconRes The resource identifier used for the icon. 61 * Sets the submenu header's icon to the icon given in <var>icon</var> 64 * @param icon The {@link Drawable} used for the icon. 67 public SubMenu setHeaderIcon(Drawable icon); 71 * <var>view</var>. This replaces the header title and icon (and thos [all...] |
/external/chromium/chrome/browser/ui/webui/ |
fileicon_source.cc | 19 // The path used in internal URLs to file icon data. 44 gfx::Image* icon = im->LookupIcon(escaped_filepath, IconLoader::NORMAL); local 46 if (icon) { 48 gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); 52 // Icon was not in cache, go fetch it slowly. 69 gfx::Image* icon) { 73 if (icon) { 75 gfx::PNGCodec::EncodeBGRASkBitmap(*icon, false, &icon_data->data); 79 // TODO(glen): send a dummy icon.
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11wm_c.h | 27 extern void X11_SetCaptionNoLock(_THIS, const char *title, const char *icon); 28 extern void X11_SetCaption(_THIS, const char *title, const char *icon); 29 extern void X11_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask);
|
/packages/apps/Settings/src/com/android/settings/ |
IconPreferenceScreen.java | 32 // Whether or not the text and icon should be highlighted (as selected) 50 ImageView imageView = (ImageView) view.findViewById(R.id.icon); 58 * Sets the icon for this Preference with a Drawable. 60 * @param icon The icon for this Preference 62 public void setIcon(Drawable icon) { 63 if ((icon == null && mIcon != null) || (icon != null && !icon.equals(mIcon))) { 64 mIcon = icon; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
SDL_syswm.c | 41 /* The screen icon -- needs to be freed on SDL_VideoQuit() */ 44 /* Win32 icon mask semantics are different from those of SDL: 45 SDL applies the mask to the icon and copies result to desktop. 46 Win32 applies the mask to the desktop and XORs the icon on. 47 This means that the SDL mask needs to be applied to the icon and 50 void WIN_SetWMIcon(_THIS, SDL_Surface *icon, Uint8 *mask) 93 /* Allocate the win32 bmp icon and set everything to zero */ 94 icon_pitch = ((icon->w+3)&~3); 95 mask_pitch = ((icon->w+7)/8); 96 icon_plen = icon->h*icon_pitch [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
threadwin.c | 26 SDL_Surface *icon; local 33 /* Load the icon surface */ 34 icon = SDL_LoadBMP(file); 35 if ( icon == NULL ) { 41 if ( (icon->w%8) != 0 ) { 42 fprintf(stderr, "Icon width must be a multiple of 8!\n"); 43 SDL_FreeSurface(icon); 46 if ( icon->format->palette == NULL ) { 47 fprintf(stderr, "Icon must have a palette!\n"); 48 SDL_FreeSurface(icon); 226 SDL_Surface *icon; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_action.cc | 38 explicit GetAttentionImageSource(const gfx::ImageSkia& icon) 39 : icon_(icon) {} 109 const SkBitmap& icon) const { 110 DCHECK_GT(icon.width(), 0); 111 DCHECK_GT(icon.height(), 0); 114 (device_->width() != icon.width()) || 115 (device_->height() != icon.height())) { 117 SkBitmap::kARGB_8888_Config, icon.width(), icon.height(), true)); 124 canvas.drawBitmap(icon, 0, 0, &paint) 247 gfx::ImageSkia icon = original_icon; local 337 gfx::ImageSkia icon = GetValue(&icon_, tab_id); local [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_win.h | 52 const gfx::ImageSkia& icon) OVERRIDE; 56 const gfx::ImageSkia& icon) OVERRIDE; 61 virtual bool SetIcon(const gfx::ImageSkia& icon, int item_id) OVERRIDE; 77 const gfx::ImageSkia& icon, 89 const gfx::ImageSkia& icon,
|
/external/chromium_org/chrome/browser/resources/file_manager/css/ |
tree.css | 20 .expand-icon { 33 html[dir=rtl] .expand-icon { 37 .tree-item[expanded] > .tree-row > .expand-icon { 42 .tree-row .expand-icon { 46 .tree-row[may-have-children] .expand-icon { 50 .tree-row[has-children=false] .expand-icon {
|
/external/chromium_org/chrome/browser/ui/gtk/ |
custom_drag.cc | 31 CustomDrag::CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action) 33 image_(icon) { 75 // |widget|. If |icon| is non-NULL it will be used as the drag icon. The 80 gfx::Image* icon); 108 gfx::Image* icon) { 127 if (icon) 128 gtk_drag_source_set_icon_pixbuf(widget, icon->ToGdkPixbuf()); 138 gfx::Image* icon) 139 : CustomDrag(icon, kDownloadItemCodeMask, kDownloadItemDragAction) [all...] |
/external/sonivox/jet_tools/JetCreator/ |
img_favicon.py | 58 icon = EmptyIcon()
59 icon.CopyFromBitmap(getBitmap())
60 return icon
|
/packages/apps/Settings/src/com/android/settings/users/ |
UserUtils.java | 30 Bitmap icon = um.getUserIcon(user.id); 31 if (icon == null) return null; 32 return CircleFramedDrawable.getInstance(context, icon);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
CaptureRenderer.java | 28 CaptureRenderer(ImageIcon icon, ViewNode node) { 29 super(icon); 53 Icon icon = getIcon(); local 54 int width = icon.getIconWidth(); 55 int height = icon.getIconHeight(); 60 icon.paintIcon(this, g, x, y);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboard.java | 64 mEnterKey.icon = null; 69 mEnterKey.icon = null; 73 mEnterKey.icon = res.getDrawable(R.drawable.sym_keyboard_search); 78 mEnterKey.icon = null; 82 mEnterKey.icon = res.getDrawable(R.drawable.sym_keyboard_return); 88 void setSpaceIcon(final Drawable icon) { 90 mSpaceKey.icon = icon;
|