Searched defs:image (Results 426 - 450 of 902) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ui/snapshot/
H A Dsnapshot_aura_unittest.cc22 #include "ui/gfx/image/image.h"
59 size_t GetFailedPixelsCountWithScaleFactor(const gfx::Image& image, argument
61 const SkBitmap* bitmap = image.ToSkBitmap();
76 size_t GetFailedPixelsCount(const gfx::Image& image) { argument
77 return GetFailedPixelsCountWithScaleFactor(image, 1);
143 // Run internal snapshot callback to scale/rotate response image.
149 return holder->image();
170 const gfx::Image& image() const { return image_; } function in class:ui::SnapshotAuraTest::SnapshotHolder
/external/chromium_org/ui/views/controls/button/
H A Dimage_button.cc11 #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/chromium_org/ui/views/controls/menu/
H A Dmenu_image_util.cc12 #include "ui/gfx/image/canvas_image_source.h"
13 #include "ui/gfx/image/image.h"
14 #include "ui/gfx/image/image_skia.h"
15 #include "ui/gfx/image/image_skia_source.h"
138 gfx::ImageSkia** image = dark_background ? &kRtlArrowDarkBg : &kRtlArrow; local
140 if (!*image) {
142 *image = new gfx::ImageSkia(source, source->size());
145 return **image;
/external/chromium_org/ui/views/
H A Dpainter.cc12 #include "ui/gfx/image/image.h"
13 #include "ui/gfx/image/image_skia.h"
14 #include "ui/gfx/image/image_skia_operations.h"
168 // Constructs an ImagePainter with the specified image resource ids.
169 // See CreateImageGridPainter()'s comment regarding image ID count and order.
172 // Constructs an ImagePainter with the specified image and insets.
173 ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets);
191 ImagePainter::ImagePainter(const gfx::ImageSkia& image, argument
193 : nine_painter_(new gfx::NineImagePainter(image, inset
263 CreateImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets) argument
[all...]
/external/chromium_org/ui/wm/core/
H A Dimage_grid.cc13 #include "ui/gfx/image/image.h"
14 #include "ui/gfx/image/image_skia_operations.h"
29 // center image.
45 // Returns the dimensions of |image| if non-NULL or gfx::Size(0, 0) otherwise.
46 gfx::Size GetImageSize(const gfx::Image* image) { argument
47 return image ? gfx::Size(image->ToImageSkia()->width(),
48 image->ToImageSkia()->height())
141 // The remaining space goes to the center image
288 SetImage(const gfx::Image* image, scoped_ptr<ui::Layer>* layer_ptr, scoped_ptr<ImagePainter>* painter_ptr, ImageType type) argument
[all...]
/external/deqp/executor/
H A DxeTestLogWriter.cpp265 const ri::Image& image = static_cast<const ri::Image&>(item); local
267 << Writer::Attribute("Name", image.name)
268 << Writer::Attribute("Description", image.description)
269 << Writer::Attribute("Width", de::toString(image.width))
270 << Writer::Attribute("Height", de::toString(image.height))
271 << Writer::Attribute("Format", getImageFormatName(image.format))
272 << Writer::Attribute("CompressionMode", getImageCompressionName(image.compression))
273 << toBase64(&image.data[0], (int)image.data.size())
/external/deqp/framework/delibs/deimage/
H A DdeImage.c36 static void* getPixelAddress (const deImage* image, int x, int y) argument
38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format);
39 DE_ASSERT(deInBounds32(x, 0, image->width));
40 DE_ASSERT(deInBounds32(y, 0, image->height));
41 return (void*)((deUint8*)image->pixels + offset);
46 deImage* image = DE_NEW(deImage); local
48 if (!image)
51 image->width = width;
52 image
65 deImage_destroy(deImage* image) argument
71 deImage_getPixel(const deImage* image, int x, int y) argument
84 deImage_setPixel(deImage* image, int x, int y, deARGB argb) argument
96 deImage_convertFormat(const deImage* image, deImageFormat format) argument
161 deImage_copyToUint8RGBA(const deImage* image, deUint8* pixels) argument
179 deImage_getPixelPtr(const deImage* image) argument
184 deImage_getWidth(const deImage* image) argument
189 deImage_getHeight(const deImage* image) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fFboCompletenessTests.cpp132 const Image* image);
138 void ES2Checker::check(GLenum attPoint, const Attachment& att, const Image* image) argument
145 m_width = image->width;
146 m_height = image->height;
150 require(image->width == m_width && image->height == m_height,
/external/deqp/modules/gles31/functional/
H A Des31fShaderMultisampleInterpolationTests.cpp50 static bool verifyGreenImage (const tcu::Surface& image, tcu::TestLog& log) argument
54 log << tcu::TestLog::Message << "Verifying result image, expecting green." << tcu::TestLog::EndMessage;
58 for (int y = 0; y < image.getHeight(); ++y)
59 for (int x = 0; x < image.getWidth(); ++x)
61 const tcu::RGBA color = image.getPixel(x, y);
69 log << tcu::TestLog::Image("ResultImage", "Result Image", image.getAccess())
74 log << tcu::TestLog::Image("ResultImage", "Result Image", image.getAccess())
138 << "Verifying image has (at least) " << numShadesRequired << " different shades.\n"
212 << " => Resulting image image shoul
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DUtils.java144 * Downsample Image to 8 bit depth format so that the resulting image data
145 * can be saved to GIF. Note. If the source image contains photo quality
175 public static ImageData downSample(Image image) { argument
176 ImageData data = image.getImageData();
218 // create a new image using the new palette:
219 // for each pixel in the old image, look up the best matching
361 * Get an icon image corresponding to a given level of confidence and explanation.
365 * @return Corresponding image
368 String image = null;
372 image
392 saveImage(File outputFile, Image image) argument
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DCCombo3.java419 * Adds new item with given text and image.
421 public void add(String text, Image image) { argument
425 item.setImage(image);
472 // Access: text and image
H A DCComboBox.java251 * Create image canvas.
317 // image
405 public ComboBoxItem(String label, Image image) { argument
407 m_image = image;
416 public void addItem(String label, Image image) { argument
418 m_items.add(new ComboBoxItem(label, image));
521 * Selection image.
H A DCTableCombo.java39 * {@link Control} like {@link Combo} or {@link CCombo} that shows {@link Table} with image/text as
666 protected void setImage(Image image) { argument
667 m_text.setImage(image);
674 public void add(String text, Image image) { argument
678 item.setImage(image);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java74 * 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) { argument
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) { argument
87 if (image != null) {
88 Rectangle imageBounds = image.getBounds();
91 gc.drawImage(image,
100 drawScaledImage(GC gc, Image image, Rectangle targetRectangle) argument
225 getThubmnail(Image image, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
[all...]
/external/fio/engines/
H A Drbd.c20 rbd_image_t image; member in struct:rbd_data
124 r = rbd_open(rbd_data->io_ctx, o->rbd_name, &(rbd_data->image),
146 if (rbd_data->image) {
147 rbd_close(rbd_data->image);
148 rbd_data->image = NULL;
255 r = rbd_aio_write(rbd_data->image, io_u->offset,
273 r = rbd_aio_read(rbd_data->image, io_u->offset,
282 r = rbd_flush(rbd_data->image);
368 r = rbd_stat(rbd_data->image, &info, sizeof(info));
373 dprint(FD_IO, "rbd-engine: image siz
[all...]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c130 XImage *image; local
145 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
146 if (image) {
150 if (XGetPixel(image, x, y))
153 XDestroyImage(image);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_images.c27 #include "image.h"
129 void vegaDestroyImage(VGImage image) argument
132 struct vg_image *img = handle_to_image(image);
134 if (image == VG_INVALID_HANDLE) {
138 if (!vg_object_is_valid(image, VG_OBJECT_IMAGE)) {
145 void vegaClearImage(VGImage image, argument
152 if (image == VG_INVALID_HANDLE) {
161 img = handle_to_image(image);
170 void vegaImageSubData(VGImage image, argument
180 if (image
198 vegaGetImageSubData(VGImage image, void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument
255 vegaGetParent(VGImage image) argument
294 vegaDrawImage(VGImage image) argument
[all...]
H A Dshader.c33 #include "image.h"
50 struct vg_image *image; member in struct:shader
146 /* no blending is required if the paints and the image are opaque */
151 util_format_has_alpha(shader->image->sampler_view->format);
198 * 3 - image sampler/texture
214 if (shader->drawing_image && shader->image)
215 num += image_bind_samplers(shader->image, samplers, sampler_views);
227 if (shader->drawing_image && shader->image) {
228 if (shader->image->format == VG_BW_1)
267 /* second stage image */
[all...]
H A Dtext.c31 #include "image.h"
177 struct vg_image *image,
181 add_glyph(font, glyphIndex, (struct vg_object *) image,
175 font_set_glyph_to_image(struct vg_font *font, VGuint glyphIndex, struct vg_image *image, const VGfloat glyphOrigin[2], const VGfloat escapement[2]) argument
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_crtc.c208 crtc_load_cursor_argb_ga3d(xf86CrtcPtr crtc, CARD32 * image) argument
250 64, 64, (void*)image, 64 * 4, 0, 0);
267 crtc_load_cursor_argb_kms(xf86CrtcPtr crtc, CARD32 * image) argument
297 memcpy(ptr, image, 64*64*4);
312 crtc_load_cursor_argb(xf86CrtcPtr crtc, CARD32 * image) argument
330 crtc_load_cursor_argb_ga3d(crtc, image);
333 crtc_load_cursor_argb_kms(crtc, image);
/external/mesa3d/src/glx/
H A Dxfont.c136 XImage *image; local
151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
152 if (image) {
156 if (XGetPixel(image, x, y))
159 XDestroyImage(image);
/external/mesa3d/src/mapi/glapi/tests/
H A Dcheck_table.cpp1575 gl_dispatch_stub_356(GLenum target, GLenum format, GLenum type, GLvoid * image) argument
1580 (void) image;
/external/mesa3d/src/mesa/drivers/dri/common/
H A Ddri_util.h162 __DRIimageLookupExtension *image; member in struct:__DRIscreenRec::__anon27730
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex.c54 struct gl_texture_image *image)
57 struct intel_texture_image *intel_image = intel_texture_image(image);
58 struct gl_texture_object *texobj = image->TexObject;
62 assert(image->Border == 0);
68 ctx->Driver.FreeTextureImageBuffer(ctx, image);
74 slices = image->Depth;
77 slices = image->Height;
85 _swrast_init_texture_image(image);
88 intel_miptree_match_image(intel_texobj->mt, image)) {
91 __FUNCTION__, texobj, image
53 intel_alloc_texture_image_buffer(struct gl_context *ctx, struct gl_texture_image *image) argument
[all...]
H A Dintel_tex_image.c29 /* Work back from the specified level of the image to the baselevel and create a
60 /* If this image disrespects BaseLevel, allocate from level zero.
68 /* Figure out image dimensions at start level. */
134 struct gl_texture_image *image,
138 struct intel_texture_image *intelImage = intel_texture_image(image);
152 DBG("%s: image transfer\n", __FUNCTION__);
163 ctx->Driver.AllocTextureImageBuffer(ctx, image);
178 src_stride = image->Width;
192 0, 0, dst_x, dst_y, image->Width, image
133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument
235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument
338 __DRIimage *image; local
[all...]

Completed in 1528 milliseconds

<<11121314151617181920>>