/external/chromium_org/chrome/browser/ui/views/toolbar/ |
browser_action_test_util_views.cc | 16 #include "ui/gfx/image/image.h" 53 gfx::Image BrowserActionTestUtil::GetIcon(int index) { 56 return gfx::Image(icon);
|
/external/chromium_org/components/enhanced_bookmarks/ |
bookmark_image_service.cc | 35 std::pair<gfx::Image, GURL> image_data = store->Get(page_url); 148 const gfx::Image& image, 151 if (!image.IsEmpty() || !image_url.is_empty()) { 152 // Either the image was in the store or there is no image in the store, but 153 // an URL for an image is present, indicating that a previous attempt to 154 // download the image failed. Just return the image. 155 original_callback.Run(image, image_url) [all...] |
persistent_image_store.cc | 95 const gfx::Image& image) { 100 Erase(page_url); // Remove previous image for this url, if any. 110 enhanced_bookmarks::BytesForImage(image); 112 // Insert an empty image in case encoding fails. 114 image_bytes = enhanced_bookmarks::BytesForImage(gfx::Image()); 120 statement.BindInt(3, image.Size().width()); 121 statement.BindInt(4, image.Size().height()); 136 std::pair<gfx::Image, GURL> PersistentImageStore::Get(const GURL& page_url) { 139 return std::make_pair(gfx::Image(), GURL()) [all...] |
/external/chromium_org/content/public/common/ |
content_client.cc | 10 #include "ui/gfx/image/image.h" 96 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { 97 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ());
|
content_client.h | 29 class Image; 117 // Returns a native image given its id. 118 virtual gfx::Image& GetNativeImageNamed(int resource_id) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Pattern.cpp | 38 PassRefPtr<Pattern> Pattern::createBitmapPattern(PassRefPtr<Image> tileImage, RepeatMode repeatMode) 43 Pattern::Pattern(PassRefPtr<Image> image, RepeatMode repeatMode) 47 if (image) { 48 m_tileImage = image->nativeImageForCurrentFrame(); 73 // repeats the last line of the image after drawing one tile. To avoid 75 // image to have a line of transparent pixels on the "repeated" edge(s), 88 // FIXME: Is there a better way to pad (not scale) an image in skia?
|
BitmapImageTest.cpp | 50 virtual void decodedSizeChanged(const Image*, int delta) 54 virtual void didDraw(const Image*) OVERRIDE { } 55 virtual bool shouldPauseAnimation(const Image*) OVERRIDE { return false; } 56 virtual void animationAdvanced(const Image*) OVERRIDE { } 57 virtual void changedInRect(const Image*, const IntRect&) { } 109 PassRefPtr<Image> imageForDefaultFrame() 172 RefPtr<BitmapImage> image = BitmapImage::create(); local 173 EXPECT_FALSE(image->isAllDataReceived()); 175 image->setData(imageData, false); 176 EXPECT_FALSE(image->isAllDataReceived()) [all...] |
/external/deqp/modules/glshared/ |
glsFboUtil.hpp | 249 struct Image : public Config 256 Image (void) 262 struct Renderbuffer : public Image 269 struct Texture : public Image 311 //! image with name `imageName` is `image`, using `vfr` to check format 313 bool isComplete (glw::GLenum attPoint, const Image* image, 347 glw::GLsizei imageNumSamples (const Image& img); 368 const Image* getImage (glw::GLenum type, glw::GLuint imgName) const [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/ |
PageSiteComposite.java | 15 import org.eclipse.swt.graphics.Image; 68 * Sets the {@link Image} for title; 70 public void setTitleImage(Image image) { 71 m_title.setImage(image);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentation.java | 19 import org.eclipse.swt.graphics.Image; 97 * @return the {@link Image} to display on {@link Button}. 99 protected Image getImage() {
|
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 24 import java.awt.image.BufferedImage; 27 * This Sprite encapsulates another Sprite, which is then buffered in an Image. 35 private final Image bufferImage; 45 * Creates a new BufferedSprite with an ABGR image. 46 * @param bufferX the x offset of the buffer image. 47 * @param bufferY the y offset of the buffer image. 48 * @param width the width of the buffer image. 49 * @param height the height of the buffer image. 51 * @param x the variable x ordinate of the image buffer for painting. 52 * @param y the variable y ordinate of the image buffer for painting [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageOverlay.java | 30 import org.eclipse.swt.graphics.Image; 34 import java.awt.image.BufferedImage; 35 import java.awt.image.DataBufferInt; 36 import java.awt.image.WritableRaster; 40 * The {@link ImageOverlay} class renders an image as an overlay. 44 * Whether the image should be pre-scaled (scaled to the zoom level) once 54 /** Current background image. Null when there's no image. */ 55 private Image mImage; 57 /** A pre-scaled version of the image */ [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/ |
MenuTreePage.java | 26 import org.eclipse.swt.graphics.Image; 47 public Image getPageImage() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/ |
OtherXmlTreePage.java | 26 import org.eclipse.swt.graphics.Image; 47 public Image getPageImage() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LinearLayoutWeightFix.java | 27 import org.eclipse.swt.graphics.Image; 73 public Image getImage() {
|
ObsoleteLayoutParamsFix.java | 20 import org.eclipse.swt.graphics.Image; 76 public Image getImage() {
|
SetScrollViewSizeFix.java | 26 import org.eclipse.swt.graphics.Image; 68 public Image getImage() {
|
/external/chromium_org/chrome/browser/extensions/ |
extension_disabled_ui.cc | 49 #include "ui/gfx/image/image.h" 50 #include "ui/gfx/image/image_skia_operations.h" 153 const gfx::Image& icon); 162 virtual gfx::Image GetBubbleViewIcon() OVERRIDE; 185 gfx::Image icon_; 209 const gfx::Image& icon) 217 icon_ = gfx::Image( 278 gfx::Image ExtensionDisabledGlobalError::GetBubbleViewIcon() { 406 const gfx::Image& icon) [all...] |
extension_action.h | 30 class Image; 108 void SetIcon(int tab_id, const gfx::Image& image); 121 void DeclarativeSetIcon(int tab_id, int priority, const gfx::Image& icon); 122 void UndoDeclarativeSetIcon(int tab_id, int priority, const gfx::Image& icon); 200 // Returns icon image with badge for specified tab. 283 std::map<int, std::map<int, std::vector<gfx::Image> > > declarative_icon_; 286 // image representations will be selected.
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texfilter.c | 411 /* Power of two image sizes only */ 486 * Compute slice/image to use for 1D or 2D array texture. 508 const struct gl_texture_image *img = texObj->Image[0][level]; 558 const struct gl_texture_image *img = texObj->Image[0][level]; 834 GLenum format = tObj->Image[0][tObj->BaseLevel]->_BaseFormat; 924 sample_1d_nearest(ctx, samp, tObj->Image[0][level], texcoord[i], rgba[i]); 940 sample_1d_linear(ctx, samp, tObj->Image[0][level], texcoord[i], rgba[i]); 957 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], 963 sample_1d_nearest(ctx, samp, tObj->Image[0][level ], texcoord[i], t0); 964 sample_1d_nearest(ctx, samp, tObj->Image[0][level+1], texcoord[i], t1) 1006 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1023 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1366 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1383 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 2232 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 2249 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3020 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3038 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3311 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3328 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 411 /* Power of two image sizes only */ 486 * Compute slice/image to use for 1D or 2D array texture. 508 const struct gl_texture_image *img = texObj->Image[0][level]; 558 const struct gl_texture_image *img = texObj->Image[0][level]; 834 GLenum format = tObj->Image[0][tObj->BaseLevel]->_BaseFormat; 924 sample_1d_nearest(ctx, samp, tObj->Image[0][level], texcoord[i], rgba[i]); 940 sample_1d_linear(ctx, samp, tObj->Image[0][level], texcoord[i], rgba[i]); 957 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], 963 sample_1d_nearest(ctx, samp, tObj->Image[0][level ], texcoord[i], t0); 964 sample_1d_nearest(ctx, samp, tObj->Image[0][level+1], texcoord[i], t1) 1006 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1023 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1366 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 1383 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 2232 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 2249 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3020 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3038 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3311 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local 3328 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; local [all...] |
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
GdiPlusHeaders.h | 426 // Abstract base class for bitmap image and metafile
435 class Image : public GdiplusBase
443 Image(
447 Image(
451 static Image* FromFile(
455 static Image* FromStream(
459 Image(
464 Image(
469 static Image* FromFile(
474 static Image* FromStream( [all...] |
/external/chromium_org/content/browser/web_contents/aura/ |
overscroll_navigation_overlay.cc | 20 #include "ui/gfx/image/image_png_rep.h" 21 #include "ui/gfx/image/image_skia.h" 43 // A LayerDelegate that paints an image for the layer. 50 void SetImage(const gfx::Image& image) { 51 image_ = image; 52 image_size_ = image.AsImageSkia().size(); 54 const gfx::Image& image() const { return image_; } function in class:content::ImageLayerDelegate 84 gfx::Image image_ 216 gfx::Image image; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSCrossfadeValue.cpp | 167 PassRefPtr<Image> CSSCrossfadeValue::image(RenderObject* renderer, const IntSize& size) function in class:blink::CSSCrossfadeValue 177 return Image::nullImage(); 179 Image* fromImage = cachedFromImage->imageForRenderer(renderer); 180 Image* toImage = cachedToImage->imageForRenderer(renderer); 183 return Image::nullImage();
|
/external/chromium_org/tools/site_compare/commands/ |
maskmaker.py | 19 from PIL import Image 146 mask = Image.open(mask_filename) 157 mask = Image.new("1", size, 1) 165 # Find the baseline image 170 print " No baseline image found, mask will not be updated" 173 baseline = Image.open(os.path.join(mask_scrape_dir, mask_scrapes[0])) 193 scrape = Image.open(mask_scrape_filename) 214 # 1. convert("L") converts the RGB image to grayscale 216 # of an RGB image) to different ones. Because it operates on 220 # a monochrome bitmap. If the original RGB image were converte [all...] |