/external/chromium/chrome/browser/extensions/ |
image_loading_tracker.cc | 63 // Decode the image using WebKit's image decoder. 87 void ReportBack(SkBitmap* image, const ExtensionResource& resource, 94 image, resource, original_size, id)); 97 void ReportOnUIThread(SkBitmap* image, const ExtensionResource& resource, 102 tracker_->OnImageLoaded(image, resource, original_size, id); 104 delete image; 108 // The tracker we are loading the image for. If NULL, it means the tracker is 130 // any valid image load tasks have been posted. 149 // See if the extension has the image already 151 SkBitmap image = extension->GetCachedImage(resource, max_size); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCGWin.cpp | 111 CGImageRef image = CGBitmapContextCreateImage(bitmapContext); local 112 CGContextDrawImage(m_data->m_cgContext.get(), dstRect, image); 115 CGImageRelease(image); 120 void GraphicsContext::drawWindowsBitmap(WindowsBitmap* image, const IntPoint& point) 124 RetainPtr<CFDataRef> imageData(AdoptCF, CFDataCreate(kCFAllocatorDefault, image->buffer(), image->bufferLength())); 126 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(image->size().width(), image->size().height(), 8, 32, image->bytesPerRow(), deviceRGBColorSpaceRef(), 128 CGContextDrawImage(m_data->m_cgContext.get(), CGRectMake(point.x(), point.y(), image->size().width(), image->size().height()), cgImage.get()); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
LinearGradient_Delegate.java | 137 java.awt.image.ColorModel colorModel, 169 private final java.awt.image.ColorModel mColorModel; 174 java.awt.image.ColorModel colorModel) { 185 public java.awt.image.ColorModel getColorModel() { 190 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 191 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 192 java.awt.image.BufferedImage.TYPE_INT_ARGB); 215 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [all...] |
RadialGradient_Delegate.java | 123 java.awt.image.ColorModel colorModel, 155 private final java.awt.image.ColorModel mColorModel; 160 java.awt.image.ColorModel colorModel) { 171 public java.awt.image.ColorModel getColorModel() { 176 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 177 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 178 java.awt.image.BufferedImage.TYPE_INT_ARGB); 207 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [all...] |
SweepGradient_Delegate.java | 115 java.awt.image.ColorModel colorModel, 147 private final java.awt.image.ColorModel mColorModel; 152 java.awt.image.ColorModel colorModel) { 163 public java.awt.image.ColorModel getColorModel() { 168 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 169 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 170 java.awt.image.BufferedImage.TYPE_INT_ARGB); 215 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
message_bubble.cc | 25 SkBitmap* image, 51 column_set->AddPaddingColumn(0, kBorderSize + image->width()); 60 icon_->SetImage(*image); 110 SkBitmap* image, 116 views::WidgetGtk::TYPE_WINDOW, parent, image, text, help, true, delegate); 127 SkBitmap* image, 133 views::WidgetGtk::TYPE_CHILD, parent, image, text, help, false, delegate);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 21 import org.eclipse.swt.graphics.Image; 42 * like logging. For things like image loading, it has its own local code such that 43 * it can find its image resources locally instead of requiring the embedding plugin 80 for (Image image : sImageCache.values()) { 81 image.dispose(); 204 private static Map<String, Image> sImageCache = Maps.newHashMap(); 206 public static Image getImage(String path) { 207 Image image = sImageCache.get(path) [all...] |
/external/webkit/Source/WebCore/platform/win/ |
DragImageCGWin.cpp | 32 #include "Image.h" 79 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) 84 if (!image) 89 IntSize srcSize = dragImageSize(image); 101 srcContext = createCgContextFromBitmap(image); 111 ::DeleteObject(image); 112 image = 0; 116 hbmp = image; 123 DragImageRef createDragImageFromImage(Image* img)
|
DragImageCairoWin.cpp | 33 #include "Image.h" 104 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) 108 if (!image) 111 IntSize srcSize = dragImageSize(image); 126 cairo_surface_t* srcImage = createCairoContextFromBitmap(image); 128 // Scale the target surface to the new image size, and flip it 141 ::DeleteObject(image); 142 image = 0; 146 hbmp = image; 153 DragImageRef createDragImageFromImage(Image* img [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 40 import java.awt.image.BufferedImage; 99 // draw into a new image 100 BufferedImage image = getImage(w, h); local 103 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, 113 return Status.SUCCESS.createResult(image); 120 BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); local 121 Graphics2D gc = image.createGraphics(); 130 return image;
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageGallery.java | 227 IImage image = getCurrentImage(); 228 if (image != null) { 229 return image.fullSizeImageUri(); 261 IImage image = getCurrentImage(); 262 if (image != null) { 282 // Return if the image file is not available. 340 // image as the Action rather than the Data. 532 // TODO: Only enable slide show if there is at least one image in 543 IImage image = getCurrentImage(); 544 return (image != null) && ImageManager.isVideo(image) [all...] |
/external/chromium/chrome/browser/ |
favicon_helper.cc | 121 const SkBitmap& image, 124 (preferred_icon_size() == image.width() && 125 preferred_icon_size() == image.height())) ? 126 image : ConvertToFaviconSize(image); 143 SkBitmap image; local 144 gfx::PNGCodec::Decode(data->front(), data->size(), &image); 145 UpdateFavicon(entry, image); 149 const SkBitmap& image) { 153 if (image.empty() [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
DragImageMac.mm | 35 #import "Image.h" 44 IntSize dragImageSize(RetainPtr<NSImage> image) 46 return (IntSize)[image.get() size]; 55 RetainPtr<NSImage> scaleDragImage(RetainPtr<NSImage> image, FloatSize scale) 57 NSSize originalSize = [image.get() size]; 61 [image.get() setScalesWhenResized:YES]; 62 [image.get() setSize:newSize]; 63 return image; 66 RetainPtr<NSImage> dissolveDragImageToFraction(RetainPtr<NSImage> image, float delta) 68 RetainPtr<NSImage> dissolvedImage(AdoptNS, [[NSImage alloc] initWithSize:[image.get() size]]) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
GraphicsContext.cpp | 357 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& p, CompositeOperator op) 359 drawImage(image, styleColorSpace, p, IntRect(0, 0, -1, -1), op); 362 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& r, CompositeOperator op, bool useLowQualityScale) 364 drawImage(image, styleColorSpace, r, IntRect(0, 0, -1, -1), op, useLowQualityScale); 367 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op) 369 drawImage(image, styleColorSpace, IntRect(dest, srcRect.size()), srcRect, op); 372 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& dest, const IntRect& srcRect, CompositeOperator (…) [all...] |
/external/chromium/chrome/browser/resources/ |
bug_report.js | 20 * Selects an image thumbnail in the specified div. 33 thumbnailDivs[i].className = 'image-thumbnail-container-selected'; 37 thumbnailDivs[i].className = 'image-thumbnail-container'; 43 * Adds an image thumbnail to the specified div. 47 thumbnailDiv.className = 'image-thumbnail-container'; 56 innerDiv.className = 'image-thumbnail-current'; 58 innerDiv.className = 'image-thumbnail'; 61 thumbnail.id = thumbnailDiv.id + '-image'; 62 // We add the ?+timestamp to make sure the image URLs are unique 63 // and Chrome does not load the image from cache [all...] |
/external/chromium/chrome/browser/resources/ntp4/ |
most_visited_page.css | 98 background-image: no-repeat 50% 50%; 102 background-image: url('../ntp/ntp_pin_off.png'); 106 background-image: url('../ntp/ntp_pin_off_h.png'); 110 background-image: url('../ntp/ntp_pin_off_p.png'); 114 background-image: url('../ntp/ntp_pin_on.png'); 118 background-image: url(../ntp/ntp_pin_on_h.png'); 122 background-image: url(../ntp/ntp_pin_on_p.png'); 126 background-image: url('../ntp/ntp_close.png'); 130 background-image: url('../ntp/ntp_close_h.png'); 134 background-image: url('../ntp/ntp_close_p.png') [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/ |
main.css | 154 #image-outputs img, 155 #image-outputs canvas, 156 #image-outputs #diff-checksum { 164 #image-outputs img, 165 #image-outputs canvas { 169 #image-outputs img.loading, 170 #image-outputs canvas.loading { 174 #image-outputs #actual-image {
|
/bootable/diskinstaller/ |
config.mk | 64 # Build the installer ramdisk image 85 @echo ----- Making installer image ------ 114 # Now the installer boot image which includes the kernel and the ramdisk 133 $(call pretty,"Target installer image: $@") 137 # Now make a data image that contains all the target image files for the 163 @echo --- Making installer data image ------ 174 @echo --- Finished installer data image -[ $@ ]- 177 # now combine the installer image with the grub bootloader 189 @echo "Creating bootable installer image: $@ [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 135 private Cursor queryPicasaItem(MediaObject image, String[] projection, 139 double latitude = PicasaSource.getLatitude(image); 140 double longitude = PicasaSource.getLongitude(image); 146 columnValues[i] = PicasaSource.getUserAccount(getContext(), image); 148 columnValues[i] = PicasaSource.getPicasaId(image); 150 columnValues[i] = PicasaSource.getImageTitle(image); 152 columnValues[i] = PicasaSource.getImageSize(image); 154 columnValues[i] = PicasaSource.getContentType(image); 156 columnValues[i] = PicasaSource.getDateTaken(image); 162 columnValues[i] = PicasaSource.getRotation(image); [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
ImageModel.java | 51 private static final String TAG = "Mms/image"; 58 * These are the image content types that MMS supports. Anything else needs to be transcoded 63 "image/jpeg", 110 Log.v(TAG, "Image bounds: " + mWidth + "x" + mHeight); 187 UriImage image = new UriImage(mContext, getUri()); local 195 if (image.getHeight() > image.getWidth()) { 202 Log.v(TAG, "resizeMedia size: " + size + " image.getWidth(): " 203 + image.getWidth() + " widthLimit: " + widthLimit 204 + " image.getHeight(): " + image.getHeight( [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
BaseLayerAndroid.cpp | 127 StyleImage* styleImage = layers->image(); 129 WebCore::Image* image = cachedImage->image(); local 130 setContentsImage(image->nativeImageForCurrentFrame()); 131 setSize(image->width(), image->height()); 170 // handles the repeat attribute for the background image 184 // For the repeated image content, we just need to draw a single quad and use 194 // single tile size image 356 Image* image = cachedImage->image(); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 20 import org.eclipse.swt.graphics.Image; 74 * Draws image at given <code>x</code> and centered vertically. 76 public static final void drawImageCV(GC gc, Image image, int x, int y, int height) { 77 if (image != null) { 78 Rectangle imageBounds = image.getBounds(); 79 gc.drawImage(image, x, y + (height - imageBounds.height) / 2); 84 * Draws image at given <code>x</code> and centered vertically. 86 public static final void drawImageCHCV(GC gc, Image image, int x, int y, int width, int height) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 32 import org.eclipse.swt.graphics.Image; 60 private Map<String, Image> mIconMap = Maps.newHashMap(); 61 private Map<URL, Image> mUrlMap = Maps.newHashMap(); 63 private Map<Image, Image> mErrorIcons; 64 private Map<Image, Image> mWarningIcons; 78 for (Image icon : mIconMap.values()) { 85 for (Image icon : mUrlMap.values()) { 93 for (Image icon : mErrorIcons.values()) 267 Image image = mUrlMap.get(url); local 356 Image image = new Image(display, SX, SY); local [all...] |
/external/chromium/base/win/ |
pe_image.h | 23 // from a file, mapped in memory as image. 29 typedef bool (*EnumSectionsFunction)(const PEImage &image, 39 typedef bool (*EnumExportsFunction)(const PEImage &image, DWORD ordinal, 47 typedef bool (*EnumImportChunksFunction)(const PEImage &image, LPCSTR module, 55 typedef bool (*EnumImportsFunction)(const PEImage &image, LPCSTR module, 63 typedef bool (*EnumDelayImportChunksFunction)(const PEImage &image, 75 typedef bool (*EnumRelocsFunction)(const PEImage &image, WORD type, 115 // Use: s = image.GetImageSectionFromAddr(a); 130 // Use: e = image.GetExportEntry(f); 134 // is not exported from this image [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CFlatButton.java | 21 import org.eclipse.swt.graphics.Image; 50 private Image m_image; 96 // draw image 97 Image image = getImage(); 98 if (image != null) { 99 Rectangle imageBounds = image.getBounds(); 103 gc.drawImage(image, x, y); 149 public final Image getImage() { 153 public void setImage(Image image) [all...] |