/external/chromium/chrome/browser/chromeos/login/ |
user_image_screen.cc | 82 void UserImageScreen::OnPhotoTaken(const SkBitmap& image) { 91 user_manager->SetLoggedInUserImage(image); 92 user_manager->SaveUserImage(user.email(), image); 106 const SkBitmap* image = ResourceBundle::GetSharedInstance().GetBitmapNamed( local 108 user_manager->SetLoggedInUserImage(*image);
|
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/libvpx/vp8/common/ |
textblit.c | 55 static void plot (const int x, const int y, unsigned char *image, const int pitch) 57 image [x+y*pitch] ^= 255; 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) 106 plot(y,x, image, pitch); 120 plot(x,y, image, pitch);
|
/external/skia/src/pdf/ |
SkPDFImage.cpp | 34 SkMemoryStream* image = NULL; local 43 image = new SkMemoryStream(rowBytes * srcRect.height()); 44 uint8_t* dst = (uint8_t*)image->getMemoryBase(); 53 image = new SkMemoryStream(rowBytes * srcRect.height()); 54 uint8_t* dst = (uint8_t*)image->getMemoryBase(); 68 image = new SkMemoryStream(rowBytes * srcRect.height()); 70 uint8_t* dst = (uint8_t*)image->getMemoryBase(); 108 image = new SkMemoryStream(rowBytes * srcRect.height()); 109 uint8_t* dst = (uint8_t*)image->getMemoryBase(); 124 image = new SkMemoryStream(rowBytes * srcRect.height()) 263 SkPDFImage* image = local [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContext3DCairo.cpp | 34 #include "Image.h" 41 bool GraphicsContext3D::getImageData(Image* image, unsigned int format, unsigned int type, bool premultiplyAlpha, bool ignoreGammaAndColorProfile, Vector<uint8_t>& outputVector) 43 if (!image) 45 // We need this to stay in scope because the native image is just a shallow copy of the data. 50 if (image->data()) { 51 decoder.setData(image->data(), true); 56 imageSurface = image->nativeImageForCurrentFrame(); 102 // OpenGL keeps the pixels stored bottom up, so we need to flip the image here.
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MmsThumbnailPresenter.java | 68 private void presentImageThumbnail(SlideViewInterface view, ImageModel image) { 69 if (image.isDrmProtected()) { 70 showDrmIcon(view, image.getSrc()); 72 view.setImage(image.getSrc(), image.getBitmap());
|
/sdk/chimpchat/test/com/android/chimpchat/ |
ImageUtilsTest.java | 19 import com.android.chimpchat.adb.image.CaptureRawAndConvertedImage; 20 import com.android.chimpchat.adb.image.ImageUtils; 21 import com.android.chimpchat.adb.image.CaptureRawAndConvertedImage.ChimpRawImage; 25 import java.awt.image.BufferedImage; 26 import java.awt.image.WritableRaster; 54 * @param i1 the first image 55 * @param i2 the second image
|
/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 | 136 java.awt.image.ColorModel colorModel, 168 private final java.awt.image.ColorModel mColorModel; 173 java.awt.image.ColorModel colorModel) { 182 public java.awt.image.ColorModel getColorModel() { 186 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 187 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 188 java.awt.image.BufferedImage.TYPE_INT_ARGB); 211 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [all...] |
RadialGradient_Delegate.java | 122 java.awt.image.ColorModel colorModel, 154 private final java.awt.image.ColorModel mColorModel; 159 java.awt.image.ColorModel colorModel) { 168 public java.awt.image.ColorModel getColorModel() { 172 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 173 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 174 java.awt.image.BufferedImage.TYPE_INT_ARGB); 203 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [all...] |
SweepGradient_Delegate.java | 114 java.awt.image.ColorModel colorModel, 146 private final java.awt.image.ColorModel mColorModel; 151 java.awt.image.ColorModel colorModel) { 160 public java.awt.image.ColorModel getColorModel() { 164 public java.awt.image.Raster getRaster(int x, int y, int w, int h) { 165 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h, local 166 java.awt.image.BufferedImage.TYPE_INT_ARGB); 211 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/) [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 | 39 import java.awt.image.BufferedImage; 97 // draw into a new image 98 BufferedImage image = getImage(w, h); local 101 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, 111 return Status.SUCCESS.createResult(image); 118 BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); local 119 Graphics2D gc = image.createGraphics(); 128 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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtils.java | 21 import org.eclipse.swt.graphics.Image; 28 import java.awt.image.BufferedImage; 29 import java.awt.image.DataBuffer; 30 import java.awt.image.DataBufferByte; 31 import java.awt.image.DataBufferInt; 32 import java.awt.image.WritableRaster; 36 * Various generic SWT utilities such as image conversion. 73 * @return true if we can convert the given buffered image format 92 * @param image the image to be converte [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...] |
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatchChunk.java | 22 import java.awt.image.BufferedImage; 70 * @param image the image containing both the content and the control outer line. 73 public static NinePatchChunk create(BufferedImage image) { 75 chunk.findPatches(image); 79 public void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth, 101 draw(image, graphics2D, x, y, scaledWidth, scaledHeight); 107 draw(image, graphics2D, x, y, scaledWidth, scaledHeight); 111 private void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth, 123 g.drawImage(image, x, y, scaledWidth, scaledHeight, null) [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...] |
/sdk/draw9patch/src/com/android/draw9patch/ui/ |
ImageEditorPanel.java | 37 import java.awt.image.BufferedImage; 38 import java.awt.image.RenderedImage; 78 private BufferedImage image; field in class:ImageEditorPanel 98 ImageEditorPanel(MainFrame mainFrame, BufferedImage image, String name) { 99 this.image = image; 316 int width = image.getWidth(); 317 int height = image.getHeight(); 319 int pixel = image.getRGB(i, 0); 321 image.setRGB(i, 0, 0) [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 {
|