/external/freetype/src/base/ |
H A D | ftglyph.c | 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); 117 FT_Bitmap_Done( library, &glyph->bitmap ); 129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); 131 cbox->yMin = cbox->yMax - ( glyph->bitmap 512 FT_BitmapGlyph bitmap = NULL; local [all...] |
/external/freetype/src/cache/ |
H A D | 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 43 ftc_sbit_copy_bitmap( FTC_SBit sbit, FT_Bitmap* bitmap, FT_Memory memory ) argument [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
H A D | AttributeStrategy.java | 7 * A strategy for reusing bitmaps that requires any returned bitmap's dimensions to exactly match those request. 13 public void put(Bitmap bitmap) { argument 14 final Key key = keyPool.get(bitmap.getWidth(), bitmap.getHeight(), bitmap.getConfig()); 16 groupedMap.put(key, bitmap); 32 public String logBitmap(Bitmap bitmap) { argument 33 return getBitmapString(bitmap); 42 public int getSize(Bitmap bitmap) { argument 43 return Util.getSize(bitmap); 51 getBitmapString(Bitmap bitmap) argument [all...] |
H A D | LruBitmapPool.java | 46 public synchronized boolean put(Bitmap bitmap) { argument 47 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) { 51 final int size = strategy.getSize(bitmap); 52 strategy.put(bitmap); 58 Log.d(TAG, "Put bitmap in pool=" + strategy.logBitmap(bitmap)); 75 Log.d(TAG, "Missing bitmap=" + strategy.logBitmap(width, height, config)); 83 Log.d(TAG, "Get bitmap=" + strategy.logBitmap(width, height, config)); 111 Log.d(TAG, "Evicting bitmap [all...] |
H A D | SizeStrategy.java | 20 public void put(Bitmap bitmap) { argument 21 final Key key = keyPool.get(bitmap.getAllocationByteCount()); 23 groupedMap.put(key, bitmap); 40 // Do a get even if we know we don't have a bitmap so that the key moves to the front in the lru pool 70 public String logBitmap(Bitmap bitmap) { argument 71 return getBitmapString(bitmap); 80 public int getSize(Bitmap bitmap) { argument 81 return bitmap.getAllocationByteCount(); 98 private static String getBitmapString(Bitmap bitmap) { argument 99 return getBitmapString(bitmap [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | Downsampler.java | 1 package com.bumptech.glide.load.resource.bitmap; 75 return "AT_LEAST.com.bumptech.glide.load.data.bitmap"; 92 return "AT_MOST.com.bumptech.glide.load.data.bitmap"; 108 return "NONE.com.bumptech.glide.load.data.bitmap"; 128 * @return A new bitmap containing the image from the given InputStream, or recycle if recycle is not null 185 // Prior to KitKat, the inBitmap size must exactly match the size of the bitmap we're decoding. 198 // On KitKat+, any bitmap can be used to decode any other bitmap.
|
H A D | RecyclableBufferedInputStream.java | 1 package com.bumptech.glide.load.resource.bitmap;
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 4 /* Maximum bitmap bit count is 2^LG_BITMAP_MAXBITS. */ 32 /* Logical number of bits in bitmap (stored at bottom level). */ 52 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo); 59 bool bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo); 60 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 61 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 62 size_t bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo); 63 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 68 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 71 bitmap_t rg = bitmap[rgof 77 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 89 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 123 bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 145 bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument [all...] |
/external/ltrace/sysdeps/linux-gnu/ia64/ |
H A D | 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/ |
H A D | 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 [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | 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/ |
H A D | 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/src/base/ |
H A D | fxft_ftglyph.c | 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); 117 FT_Bitmap_Done( library, &glyph->bitmap ); 129 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); 131 cbox->yMin = cbox->yMax - ( glyph->bitmap 516 FT_BitmapGlyph bitmap = NULL; local [all...] |
/external/qemu/distrib/ext4_utils/src/ |
H A D | ext2simg.c | 109 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument 111 if (bitmap[bit / 8] & 1 << (bit % 8)) 127 critical_error("failed to allocate block bitmap"); 140 critical_error_errno("failed to seek to block group bitmap %d", i); 144 critical_error_errno("failed to read block group bitmap %d", i); 146 critical_error("failed to read all of block group bitmap %d", i);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowBitmapDrawable.java | 20 private Bitmap bitmap; field in class:ShadowBitmapDrawable 29 public void __constructor__(Bitmap bitmap) { argument 30 this.bitmap = bitmap; 33 public void __constructor__(Resources resources, Bitmap bitmap) { argument 34 this.bitmap = bitmap; 38 * Draws the contained bitmap onto the canvas at 0,0 with a default {@code Paint} 56 return bitmap; 61 * your tests assert that the bitmap i [all...] |
H A D | ShadowRemoteViews.java | 92 public void setImageViewBitmap(int viewId, final Bitmap bitmap) { argument 96 ((ImageView) view).setImageBitmap(bitmap);
|
/external/skia/dm/ |
H A D | DMUtil.cpp | 33 void AllocatePixels(SkColorType ct, int width, int height, SkBitmap* bitmap) { argument 34 bitmap->allocPixels(SkImageInfo::Make(width, height, ct, kPremul_SkAlphaType)); 35 bitmap->eraseColor(0x00000000); 38 void AllocatePixels(const SkBitmap& reference, SkBitmap* bitmap) { argument 39 AllocatePixels(reference.colorType(), reference.width(), reference.height(), bitmap); 42 void DrawPicture(SkPicture* picture, SkBitmap* bitmap) { argument 44 SkASSERT(bitmap != NULL); 45 SkCanvas canvas(*bitmap);
|
H A D | DMWriteTask.cpp | 12 DEFINE_bool(writePngOnly, false, "If true, don't encode raw bitmap after .png data. " 38 WriteTask::WriteTask(const Task& parent, SkBitmap bitmap) argument 41 , fBitmap(bitmap) 62 static bool Encode(SkBitmap bitmap, const char* path) { argument 70 if (!SkImageEncoder::EncodeStream(&stream, bitmap, SkImageEncoder::kPNG_Type, 100)) { 84 SkAutoLockPixels lock(bitmap); 85 return stream.write(bitmap.getPixels(), bitmap.getSize()); 88 // This assumes bitmap already has allocated pixels of the correct size. 89 static bool Decode(const char* path, SkImageInfo info, SkBitmap* bitmap) { argument [all...] |
/external/skia/experimental/Intersection/ |
H A D | EdgeWalkerPolygons_Mismatches.cpp | 1589 SkBitmap bitmap; local 1620 testSimplify(path, true, out, bitmap);
|
/external/skia/experimental/PdfViewer/ |
H A D | SkTracker.h | 140 void before(const SkBitmap& bitmap) { argument 146 fBeforeTouched[i] = pickColor(bitmap, fExpectedTouched[i].x(), fExpectedTouched[i].y()); 149 fBeforeUntouched[i] = pickColor(bitmap, fExpectedUntouched[i].x(), 156 void after(const SkBitmap& bitmap) { argument 165 doBreak = doBreak || fBeforeTouched[i] != pickColor(bitmap, fExpectedTouched[i].x(), 171 doBreak = doBreak && fBeforeTouched[i] != pickColor(bitmap, fExpectedTouched[i].x(), 177 doBreak = doBreak && fBeforeUntouched[i] == pickColor(bitmap, fExpectedUntouched[i].x(), 190 inline SkColor pickColor(const SkBitmap& bitmap, int x, int y) { argument 191 return bitmap.getColor(x, y);
|
H A D | chop_transparency_main.cpp | 60 static void setup_bitmap(SkBitmap* bitmap, int width, int height) { argument 61 bitmap->allocN32Pixels(width, height); 96 SkBitmap bitmap; local 111 if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) { 115 write_bitmap(srcPath, bitmap);
|
H A D | pdf_viewer_main.cpp | 112 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color) { argument 113 bitmap->allocN32Pixels(width, height); 114 bitmap->eraseColor(color); 141 SkBitmap bitmap; local 142 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 149 SkBitmap bitmap; 158 setup_bitmap(&bitmap, 3 * (int)SkScalarToDouble(width), 3 * (int)SkScalarToDouble(height), 161 setup_bitmap(&bitmap, (int)SkScalarToDouble(width), (int)SkScalarToDouble(height), 166 device.reset(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 197 gDumpBitmap = &bitmap; [all...] |
/external/skia/gm/ |
H A D | bitmaprect.cpp | 16 static void make_bitmap(SkBitmap* bitmap) { argument 17 bitmap->allocN32Pixels(64, 64); 19 SkCanvas canvas(*bitmap); 61 SkBitmap bitmap; variable 62 make_bitmap(&bitmap); variable 71 canvas->drawBitmap(bitmap, 0, 0, &paint); 73 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint); 75 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint); 90 static void make_3x3_bitmap(SkBitmap* bitmap) { argument 102 bitmap 136 SkBitmap bitmap; variable 137 make_3x3_bitmap(&bitmap); variable 150 make_big_bitmap(SkBitmap* bitmap) argument [all...] |
H A D | imagefilterscropexpand.cpp | 39 void make_checkerboard(SkBitmap* bitmap) { argument 40 bitmap->allocN32Pixels(64, 64); 41 SkCanvas canvas(*bitmap); 60 void make_gradient_circle(int width, int height, SkBitmap* bitmap) { argument 64 bitmap->allocN32Pixels(width, height); 65 SkCanvas canvas(*bitmap); 79 static void draw(SkCanvas* canvas, const SkBitmap& bitmap, const SkRect& rect, SkImageFilter* filter) { argument 83 canvas->drawBitmap(bitmap, 0, 0);
|
H A D | mixedxfermodes.cpp | 86 SkBitmap bitmap; variable 87 bitmap.allocN32Pixels(2, 2); 88 memcpy(bitmap.getPixels(), kCheckerPixelData, sizeof(kCheckerPixelData)); 91 fBG.reset(SkShader::CreateBitmapShader(bitmap,
|