HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 376 - 400 of 1117) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/skia/tests/
CanvasStateTest.cpp 262 SkBitmap bitmap; local
263 bitmap.allocN32Pixels(10, 10);
264 SkCanvas canvas(bitmap);
286 SkBitmap bitmap; local
287 bitmap.allocN32Pixels(10, 10);
288 SkCanvas canvas(bitmap);
311 SkBitmap bitmap; local
312 bitmap.allocN32Pixels(WIDTH, HEIGHT);
313 SkCanvas canvas(bitmap);
  /external/chromium_org/tools/telemetry/telemetry/core/
tab_unittest.py 9 from telemetry.core import bitmap namespace
112 self._tab.Highlight(bitmap.WEB_PAGE_TEST_ORANGE)
113 self._tab.ClearHighlight(bitmap.WEB_PAGE_TEST_ORANGE)
  /external/chromium_org/ui/app_list/test/
app_list_test_model.cc 17 SkBitmap bitmap; local
18 bitmap.allocN32Pixels(width, height);
19 bitmap.eraseARGB(255, 0, 255, 0);
20 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
  /external/chromium_org/ui/gfx/
color_analysis_unittest.cc 96 SkBitmap bitmap; local
97 bitmap.allocN32Pixels(colors.size(), 1);
99 SkAutoLockPixels lock(bitmap);
101 bitmap.eraseArea(SkIRect::MakeXYWH(i, 0, 1, 1), colors[i]);
103 return gfx::Image::CreateFrom1xBitmap(bitmap).As1xPNGBytes();
145 // Compute minimal and maximal graylevel (or alphalevel) of the input |bitmap|.
146 // |bitmap| has to be allocated and configured to kA8_Config.
147 void Calculate8bitBitmapMinMax(const SkBitmap& bitmap,
150 SkAutoLockPixels bitmap_lock(bitmap);
151 DCHECK(bitmap.getPixels())
280 SkBitmap bitmap; local
302 SkBitmap bitmap; local
325 SkBitmap bitmap; local
346 SkBitmap bitmap = local
    [all...]
icon_util_unittest.cc 54 SkBitmap bitmap; local
55 bitmap.allocN32Pixels(width, height);
57 memset(bitmap.getPixels(), 0, width * height * 4);
58 return bitmap;
134 SkBitmap bitmap = image.AsBitmap(); local
135 EXPECT_EQ(256, bitmap.width());
136 EXPECT_EQ(256, bitmap.height());
161 scoped_ptr<SkBitmap> bitmap; local
162 bitmap.reset(IconUtil::CreateSkBitmapFromHICON(icon, icon_size));
163 EXPECT_NE(bitmap.get(), static_cast<SkBitmap*>(NULL))
171 scoped_ptr<SkBitmap> bitmap; local
199 scoped_ptr<SkBitmap> bitmap; local
272 scoped_ptr<SkBitmap> bitmap; local
306 SkBitmap bitmap = CreateBlackSkBitmap(kSmallIconWidth, kSmallIconHeight); local
    [all...]
  /external/chromium_org/ui/gfx/image/
image_unittest.cc 375 const SkBitmap* bitmap = image.ToSkBitmap(); local
376 EXPECT_FALSE(bitmap->isNull());
395 const SkBitmap* bitmap = image.ToSkBitmap(); local
396 EXPECT_TRUE(bitmap);
397 EXPECT_FALSE(bitmap->isNull());
436 const SkBitmap* bitmap = NULL; local
439 bitmap = image.CopySkBitmap();
442 EXPECT_TRUE(bitmap);
443 EXPECT_FALSE(bitmap->isNull());
444 delete bitmap;
476 const SkBitmap* bitmap = image.ToSkBitmap(); local
484 SkBitmap bitmap; local
526 SkBitmap bitmap; local
    [all...]
image_unittest_util.cc 56 SkBitmap bitmap; local
57 bitmap.allocN32Pixels(width, height);
58 bitmap.eraseARGB(255, 0, 255, 0);
59 return bitmap;
67 SkBitmap bitmap = CreateBitmap(edge_size, edge_size); local
69 PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bytes->data());
127 const SkBitmap& bitmap) {
131 return bitmap.isNull();
134 return IsEqual(bitmap, decoded);
138 SkBitmap bitmap = image.AsBitmap() local
232 SkBitmap bitmap = *image.bitmap(); local
    [all...]
  /external/chromium_org/ui/message_center/views/
message_view.cc 35 SkBitmap bitmap; local
36 bitmap.allocN32Pixels(width, height);
37 bitmap.eraseColor(color);
38 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
notification_view_unittest.cc 56 SkBitmap bitmap; local
57 bitmap.allocN32Pixels(width, height);
58 bitmap.eraseRGB(0, 255, 0);
59 return bitmap;
113 SkBitmap bitmap; local
  /external/chromium_org/ui/snapshot/
snapshot_aura_unittest.cc 61 const SkBitmap* bitmap = image.ToSkBitmap(); local
63 bitmap->pixelRef()->pixels());
65 for (int y = 0; y < bitmap->height(); y += scale_factor) {
66 for (int x = 0; x < bitmap->width(); x += scale_factor) {
67 if (static_cast<SkColor>(bitmap_data[x + y * bitmap->width()]) !=
  /external/chromium_org/ui/views/controls/
image_view.cc 19 // Returns the pixels for the bitmap in |image| at scale |image_scale|.
22 const SkBitmap& bitmap = img.GetRepresentation(image_scale).sk_bitmap(); local
23 SkAutoLockPixels pixel_lock(bitmap);
24 return bitmap.getPixels();
  /external/freetype/include/
ftglyph.h 63 /* bitmap, a vector outline, or even images in other formats. */
80 /* bitmap or pointer. */
124 /* A handle to an object used to model a bitmap glyph image. This is */
136 /* A structure used for bitmap glyph images. This really is a */
144 /* glyph bitmap. */
148 /* bitmap. This distance is positive for upwards~y! */
150 /* bitmap :: A descriptor for the bitmap. */
155 /* the bitmap's contents easily. */
165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_
    [all...]
  /external/freetype/src/cache/
ftcsbits.c 44 FT_Bitmap* bitmap,
48 FT_Int pitch = bitmap->pitch;
55 size = (FT_ULong)( pitch * bitmap->rows );
58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
92 * This function tries to load a small bitmap within a given FTC_SNode.
134 FT_Bitmap* bitmap = &slot->bitmap; local
141 " glyph loaded didn't return a bitmap\n" ));
146 /* If this is not the case, our bitmap is too large */
156 if ( !CHECK_BYTE( bitmap->rows ) |
    [all...]
  /external/freetype/src/smooth/
ftsmooth.c 97 /* convert a slot's glyph image into a bitmap */
112 FT_Bitmap* bitmap = &slot->bitmap; local
185 /* release old bitmap buffer */
188 FT_FREE( bitmap->buffer );
247 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
248 bitmap->num_grays = 256;
249 bitmap->width = width;
250 bitmap->rows = height;
251 bitmap->pitch = pitch
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
RecyclableBufferedInputStream.java 1 package com.bumptech.glide.load.resource.bitmap;
  /external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
SizeStrategyTest.java 3 import android.graphics.Bitmap;
16 assertNull(strategy.get(100, 100, Bitmap.Config.ARGB_8888));
20 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); local
21 strategy.put(bitmap);
22 assertEquals(bitmap, strategy.get(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888))
    [all...]
  /external/ltrace/sysdeps/linux-gnu/ia64/
trace.c 56 } bitmap; member in union:bundle_t
101 unsigned long bot = 0UL | bundle.bitmap.word0.bot_slot1;
102 unsigned long top = 0UL | bundle.bitmap.word1.top_slot1;
108 insn = bundle.bitmap.word1.slot2;
111 insn = bundle.bitmap.word0.slot0;
  /external/opencv/otherlibs/highgui/
grfmt_imageio.cpp 136 CGContextRef context = NULL; // The bitmap context
138 uchar* bitmap = NULL; local
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
159 if( !bitmap )
165 context = CGBitmapContextCreate( (void *)bitmap,
176 free( bitmap );
180 // Copy the image data into the bitmap region
187 free( bitmap);
192 // Move the bitmap (in RGB) into data (in BGR)
220 memcpy (data + y * step, bitmap + y * m_width, m_width)
    [all...]
  /external/pdfium/core/include/thirdparties/freetype/freetype/
ftglyph.h 63 /* bitmap, a vector outline, or even images in other formats. */
80 /* bitmap or pointer. */
124 /* A handle to an object used to model a bitmap glyph image. This is */
136 /* A structure used for bitmap glyph images. This really is a */
144 /* glyph bitmap. */
148 /* bitmap. This distance is positive for upwards~y! */
150 /* bitmap :: A descriptor for the bitmap. */
155 /* the bitmap's contents easily. */
165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_
    [all...]
  /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
ftglyph.h 63 /* bitmap, a vector outline, or even images in other formats. */
80 /* bitmap or pointer. */
124 /* A handle to an object used to model a bitmap glyph image. This is */
136 /* A structure used for bitmap glyph images. This really is a */
144 /* glyph bitmap. */
148 /* bitmap. This distance is positive for upwards~y! */
150 /* bitmap :: A descriptor for the bitmap. */
155 /* the bitmap's contents easily. */
165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_
    [all...]