/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | WebImageTest.cpp | 59 WebImage image = WebImage::fromData(WebData(data), WebSize()); local 60 EXPECT_TRUE(image.size() == WebSize(1, 1)); 61 SkAutoLockPixels autoLock(image.getSkBitmap()); 62 EXPECT_EQ(SkColorSetARGB(255, 255, 255, 255), image.getSkBitmap().getColor(0, 0)); 95 WebImage image = WebImage::fromData(WebData(badImage), WebSize()); local 96 EXPECT_TRUE(image.getSkBitmap().empty()); 97 EXPECT_TRUE(image.getSkBitmap().isNull());
|
/external/chromium_org/ui/views/controls/button/ |
H A D | image_button.cc | 11 #include "ui/gfx/image/image_skia_operations.h" 18 // Default button size if no image is set. This is ignored if there is an image, 48 void ImageButton::SetImage(ButtonState state, const gfx::ImageSkia* image) { argument 49 images_[state] = image ? *image : gfx::ImageSkia(); 54 const gfx::ImageSkia* image, 56 if (image == NULL || mask == NULL) { 62 *image, *mask); 159 gfx::Point ImageButton::ComputeImagePaintPosition(const gfx::ImageSkia& image) { argument 53 SetBackground(SkColor color, const gfx::ImageSkia* image, const gfx::ImageSkia* mask) argument 213 SetToggledImage(ButtonState state, const gfx::ImageSkia* image) argument 237 SetImage(ButtonState state, const gfx::ImageSkia* image) argument [all...] |
/external/pixman/pixman/ |
H A D | pixman-access.c | 167 #define YV12_SETUP(image) \ 168 bits_image_t *__bits_image = (bits_image_t *)image; \ 179 * the typical usage of YV12_SETUP(image); will have an extra trailing ; 297 convert_pixel_to_a8r8g8b8 (pixman_image_t *image, argument 304 return image->bits.indexed->rgba[pixel]; 313 convert_pixel_from_a8r8g8b8 (pixman_image_t *image, argument 320 return image->bits.indexed->ent[pixel & 0x7fff]; 326 return image->bits.indexed->ent[pixel & 0x7fff]; 335 fetch_and_convert_pixel (pixman_image_t * image, argument 345 pixel = FETCH_1 (image, bit 377 convert_and_store_pixel(bits_image_t * image, uint8_t * dest, int offset, pixman_format_code_t format, uint32_t pixel) argument 586 fetch_scanline_a8r8g8b8_sRGB_float(pixman_image_t *image, int x, int y, int width, uint32_t * b, const uint32_t *mask) argument 615 fetch_scanline_a2r10g10b10_float(pixman_image_t *image, int x, int y, int width, uint32_t * b, const uint32_t *mask) argument 646 fetch_scanline_x2r10g10b10_float(pixman_image_t *image, int x, int y, int width, uint32_t * b, const uint32_t *mask) argument 676 fetch_scanline_a2b10g10r10_float(pixman_image_t *image, int x, int y, int width, uint32_t * b, const uint32_t *mask) argument 707 fetch_scanline_x2b10g10r10_float(pixman_image_t *image, int x, int y, int width, uint32_t * b, const uint32_t *mask) argument 736 fetch_scanline_yuy2(pixman_image_t *image, int x, int line, int width, uint32_t * buffer, const uint32_t *mask) argument 770 fetch_scanline_yv12(pixman_image_t *image, int x, int line, int width, uint32_t * buffer, const uint32_t *mask) argument 809 fetch_pixel_x2r10g10b10_float(bits_image_t *image, int offset, int line) argument 829 fetch_pixel_a2r10g10b10_float(bits_image_t *image, int offset, int line) argument 850 fetch_pixel_a2b10g10r10_float(bits_image_t *image, int offset, int line) argument 871 fetch_pixel_x2b10g10r10_float(bits_image_t *image, int offset, int line) argument 891 fetch_pixel_a8r8g8b8_sRGB_float(bits_image_t *image, int offset, int line) argument 909 fetch_pixel_yuy2(bits_image_t *image, int offset, int line) argument 938 fetch_pixel_yv12(bits_image_t *image, int offset, int line) argument 966 store_scanline_a2r10g10b10_float(bits_image_t * image, int x, int y, int width, const uint32_t *v) argument 992 store_scanline_x2r10g10b10_float(bits_image_t * image, int x, int y, int width, const uint32_t *v) argument 1017 store_scanline_a2b10g10r10_float(bits_image_t * image, int x, int y, int width, const uint32_t *v) argument 1043 store_scanline_x2b10g10r10_float(bits_image_t * image, int x, int y, int width, const uint32_t *v) argument 1068 store_scanline_a8r8g8b8_sRGB_float(bits_image_t * image, int x, int y, int width, const uint32_t *v) argument 1099 store_scanline_generic_float(bits_image_t * image, int x, int y, int width, const uint32_t *values) argument 1124 fetch_scanline_generic_float(pixman_image_t *image, int x, int y, int width, uint32_t * buffer, const uint32_t *mask) argument 1140 fetch_scanline_a8r8g8b8_32_sRGB(pixman_image_t *image, int x, int y, int width, uint32_t *buffer, const uint32_t *mask) argument 1172 fetch_pixel_a8r8g8b8_32_sRGB(bits_image_t *image, int offset, int line) argument 1193 store_scanline_a8r8g8b8_32_sRGB(bits_image_t *image, int x, int y, int width, const uint32_t *v) argument 1225 fetch_pixel_generic_float(bits_image_t *image, int offset, int line) argument 1244 fetch_pixel_generic_lossy_32(bits_image_t *image, int offset, int line) argument 1390 setup_accessors(bits_image_t *image) argument 1417 _pixman_bits_image_setup_accessors(bits_image_t *image) argument 1428 _pixman_bits_image_setup_accessors_accessors(bits_image_t *image) argument [all...] |
H A D | pixman-edge-imp.h | 27 RASTERIZE_EDGES (pixman_image_t *image, argument 35 uint32_t *buf = (image)->bits.bits; 36 int stride = (image)->bits.rowstride; 37 int width = (image)->bits.width; 121 WRITE(image, a, READ(image, a) | startmask); 125 WRITE(image, a++, 0xffffffff); 127 WRITE(image, a, READ(image, a) | endmask);
|
/external/chromium_org/ppapi/examples/gamepad/ |
H A D | gamepad.cc | 24 void FillRect(pp::ImageData* image, int left, int top, int width, int height, argument 27 y < std::min(image->size().height() - 1, top + height); 30 x < std::min(image->size().width() - 1, left + width); 32 *image->GetAddr32(pp::Point(x, y)) = color; 77 pp::ImageData image = PaintImage(device_context_.size()); local 78 if (!image.is_null()) { 79 device_context_.ReplaceContents(&image); 88 pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true); 89 if (image.is_null()) 90 return image; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | ImageInputType.cpp | 55 return InputTypeNames::image; 122 RenderImage* image = new RenderImage(&element()); local 123 image->setImageResource(RenderImageResource::create()); 124 return image; 129 RenderImage* image = toRenderImage(element().renderer()); local 130 if (!image) 132 image->updateAltText(); 154 imageResource->setImageResource(imageLoader->image()); 156 // If we have no image at all because we have no src attribute, set 157 // image heigh [all...] |
/external/deqp/framework/delibs/deimage/ |
H A D | deTarga.c | 32 deImage* image = DE_NULL; local 73 /* Create image. */ 74 image = deImage_create(width, height, format); 75 DE_TEST_ASSERT(image); 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); 116 return image; 119 deBool deImage_saveTarga (const deImage* image, const char* fileName) argument 122 int width = image->width; 123 int height = image [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | app_icon_loader_impl.cc | 16 #include "ui/gfx/image/image_skia_operations.h" 51 return; // Already loading the image. 58 extensions::IconImage* image = new extensions::IconImage( 65 // |map_| takes ownership of |image|. 66 map_[image] = id; 68 // Triggers image loading now instead of depending on paint message. This 69 // makes the temp blank image be shown for shorter time and improves user 71 image->image_skia().EnsureRepsForSupportedScales(); 96 extensions::IconImage* image) { 97 ImageToExtensionIDMap::iterator i = map_.find(image); 95 OnExtensionIconImageChanged( extensions::IconImage* image) argument 106 gfx::ImageSkia image = icon; local [all...] |
H A D | extension_uninstall_dialog.cc | 22 #include "ui/gfx/image/image.h" 23 #include "ui/gfx/image/image_skia.h" 32 const gfx::ImageSkia& image = local 34 return image.GetRepresentation( 67 ExtensionResource image = IconsInfo::GetIconResource( local 70 // Load the image asynchronously. The response will be sent to OnImageLoaded. 76 image, 87 void ExtensionUninstallDialog::SetIcon(const gfx::Image& image) { argument 88 if (image 101 OnImageLoaded(const std::string& extension_id, const gfx::Image& image) argument [all...] |
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_frame_observer.cc | 25 // If the source image is null or occupies less area than 26 // |thumbnail_min_area_pixels|, we return the image unmodified. Otherwise, we 27 // scale down the image so that the width and height do not exceed 29 SkBitmap Downscale(const blink::WebImage& image, argument 32 if (image.isNull()) 35 gfx::Size image_size = image.size(); 38 return image.getSkBitmap(); 42 return image.getSkBitmap(); 55 return skia::ImageOperations::Resize(image.getSkBitmap(), 114 blink::WebImage image local [all...] |
/external/chromium_org/ui/message_center/views/ |
H A D | padded_button.cc | 62 gfx::ImageSkia image = GetImageToPaint(); local 63 if (!image.isNull()) { 64 gfx::Point position = ComputePaddedImagePaintPosition(image); 67 canvas->DrawImageInt(image, position.x(), position.y()); 78 const gfx::ImageSkia& image) { 84 offset.set_x((bounds.width() - image.width()) / 2); // Center align. 86 offset.set_x(bounds.width() - image.width()); // Right align. 89 offset.set_y((bounds.height() - image.height()) / 2); // Middle align. 91 offset.set_y(bounds.height() - image.height()); // Bottom align. 77 ComputePaddedImagePaintPosition( const gfx::ImageSkia& image) argument
|
/external/chromium_org/content/browser/compositor/ |
H A D | buffer_queue.h | 46 AllocatedSurface() : texture(0), image(0) {} 48 unsigned int image, 50 : texture(texture), image(image), damage(rect) {} 52 unsigned int image; member in struct:content::BufferQueue::AllocatedSurface 47 AllocatedSurface(unsigned int texture, unsigned int image, const gfx::Rect& rect) argument
|
/external/chromium_org/ui/gfx/image/ |
H A D | image_skia_operations.h | 22 // Create an image that is a blend of two others. The alpha argument 23 // specifies the opacity of the second imag. The provided image must 29 // Creates an image that is the original image with opacity set to |alpha|. 30 static ImageSkia CreateTransparentImage(const ImageSkia& image, double alpha); 32 // Creates new image by painting first and second image respectively. 33 // The second image is centered in respect to the first image. 37 // Create an image tha [all...] |
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer.h | 14 #include "ui/gfx/image/image_skia.h" 24 // Returns a unique identifier corresponding to |image|, suitable for 25 // comparison against the value returned by original_image_id(). If the image 27 static uint32_t GetImageId(const gfx::ImageSkia& image); 29 WallpaperResizer(const gfx::ImageSkia& image, 35 const gfx::ImageSkia& image() const { return image_; } function in class:ash::WallpaperResizer 55 // contains the original image and is updated to contain the resized 56 // image by OnResizeFinished().
|
/external/chromium_org/chrome/browser/ |
H A D | icon_loader_auralinux.cc | 48 gfx::Image image = ui->GetIconForContentType(group_, size_pixels); local 49 if (!image.IsEmpty()) 50 image_.reset(new gfx::Image(image));
|
/external/chromium_org/chrome/renderer/resources/ |
H A D | plugin_placeholders.css | 62 background-image: -webkit-image-set( 70 background-image: -webkit-image-set( 76 background-image: -webkit-image-set(
|
/external/chromium_org/content/common/gpu/ |
H A D | gpu_memory_buffer_factory_win.cc | 36 scoped_refptr<gfx::GLImageSharedMemory> image( 38 if (!image->Initialize(handle)) 41 return image;
|
/external/chromium_org/ppapi/cpp/ |
H A D | graphics_2d.h | 80 /// PaintImageData() enqueues a paint command of the given image into 85 /// The provided image will be placed at <code>top_left</code> from the top 87 /// PaintImageData paints the entire image. Refer to the other version of 99 /// bitmap representing your entire module's image. 101 /// @param[in] image The <code>ImageData</code> to be painted. 105 void PaintImageData(const ImageData& image, 108 /// PaintImageData() enqueues a paint command of the given image into 113 /// The provided image will be placed at <code>top_left</code> from the top 120 /// image being painted, not the context. For the common case of copying the 121 /// entire image, yo [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSBorderImage.cpp | 25 PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice, argument 29 if (image) 30 list->append(image);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLImageLoader.cpp | 49 // HTMLVideoElement uses this class to load the poster image, but it should not fire events for loading or failure. 53 bool errorOccurred = image()->errorOccurred(); 55 errorOccurred = (image()->response().httpStatusCode() >= 400); // An <object> considers a 404 to be an error and should fire onerror. 66 ImageResource* cachedImage = image();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | ImageQualityController.cpp | 68 InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) argument 71 && image 72 && (layoutSize.width() > image->width() || layoutSize.height() > image->height() || layoutSize == image->size())) { 79 if (shouldPaintAtLowQuality(context, object, image, layer, layoutSize)) 83 if (image && image->maybeAnimated()) 156 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) argument 158 // If the image i [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | DragClientImpl.cpp | 68 WebImage image; local 79 image = dragImage->bitmap(); 82 m_webView->startDragging(frame, dragData, dragOperationMask, image, offsetPoint);
|
/external/chromium_org/ui/webui/resources/css/ |
H A D | bubble.css | 43 background-image: -webkit-image-set( 49 background-image: -webkit-image-set( 55 background-image: -webkit-image-set(
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | ImageResource.cpp | 57 ImageResource::ImageResource(blink::Image* image) argument 59 , m_image(image) 67 ImageResource::ImageResource(const ResourceRequest& resourceRequest, blink::Image* image) argument 69 , m_image(image) 177 blink::Image* ImageResource::image() function in class:blink::ImageResource 182 // Returning the 1x broken image is non-ideal, but we cannot reliably access the appropriate 184 // when they need the real, deviceScaleFactor-appropriate broken image icon. 199 // Returning the 1x broken image is non-ideal, but we cannot reliably access the appropriate 201 // when they need the real, deviceScaleFactor-appropriate broken image icon. 209 blink::Image* image local 394 BitmapImage* image = toBitmapImage(imageResource->image()); local 434 decodedSizeChanged(const blink::Image* image, int delta) argument 442 didDraw(const blink::Image* image) argument 453 shouldPauseAnimation(const blink::Image* image) argument 467 animationAdvanced(const blink::Image* image) argument 474 changedInRect(const blink::Image* image, const IntRect& rect) argument 483 blink::Image* image = imageForRenderer(renderer); local [all...] |
/external/chromium_org/chrome/utility/image_writer/ |
H A D | image_writer_handler.cc | 51 void ImageWriterHandler::OnWriteStart(const base::FilePath& image, argument 53 if (!image_writer_.get() || image != image_writer_->GetImagePath() || 55 image_writer_.reset(new ImageWriter(this, image, device)); 72 void ImageWriterHandler::OnVerifyStart(const base::FilePath& image, argument 74 if (!image_writer_.get() || image != image_writer_->GetImagePath() || 76 image_writer_.reset(new ImageWriter(this, image, device));
|