/external/e2fsprogs/e2fsck/ |
pass5.c | 112 int actual, bitmap; local 181 bitmap = 0; 183 bitmap = 1; 187 bitmap = 1; 190 bitmap = 1; 192 bitmap = 1; 194 bitmap = 1; 198 bitmap = 1; 201 bitmap = ext2fs_fast_test_block_bitmap(fs->block_map, i); 203 if (actual == bitmap) 337 int actual, bitmap; local [all...] |
/external/freetype/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...] |
/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; local 166 bitmap = &slot->bitmap; 174 /* release old bitmap buffer */ 177 FT_FREE( bitmap->buffer ); 235 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; 236 bitmap->num_grays = 256; 237 bitmap->width = width; 238 bitmap->rows = height [all...] |
/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/qemu/block/ |
cow.c | 94 * We should just read the whole bitmap we'll need in one go instead. 99 uint8_t bitmap; local 102 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap)); 107 bitmap |= (1 << (bitnum % 8)); 109 ret = bdrv_pwrite_sync(bs->file, offset, &bitmap, sizeof(bitmap)); 119 uint8_t bitmap; local 122 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap)); [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
HudSystem.java | 300 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local 301 if (bitmap != null) { 302 bitmap.resize(barWidth, mFuelDrawable.getHeight()); 303 bitmap.setTexture(mFuelDrawable.getTexture()); 304 render.scheduleForDraw(bitmap, location, SortConstants.HUD + 1, false); 314 DrawableBitmap bitmap = mFlyButtonEnabledDrawable; local 316 bitmap = mFlyButtonDepressedDrawable; 318 bitmap = mFlyButtonDisabledDrawable; 321 if (bitmap.getWidth() == 0) { 323 Texture tex = bitmap.getTexture() 334 DrawableBitmap bitmap = mStompButtonEnabledDrawable; local 371 DrawableBitmap bitmap = mMovementSliderButtonDrawable; local 452 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapDrawable.java | 6 import android.graphics.Bitmap; 20 private Bitmap bitmap; field in class:ShadowBitmapDrawable 29 public void __constructor__(Bitmap bitmap) { 30 this.bitmap = bitmap; 33 public void __constructor__(Resources resources, Bitmap bitmap) { 34 this.bitmap = bitmap [all...] |
/external/skia/bench/ |
PictureRecordBench.cpp | 104 // create a simple bitmap 105 SkBitmap bitmap; local 106 bitmap.setConfig(SkBitmap::kRGB_565_Config, 10, 10); 107 bitmap.allocPixels(); 109 // draw a single color into the bitmap 110 SkCanvas bitmapCanvas(bitmap); 113 // draw the bitmap onto the canvas 114 canvas->drawBitmapMatrix(bitmap, matrix);
|
/external/skia/gm/ |
bitmaprect.cpp | 16 static void make_bitmap(SkBitmap* bitmap) { 17 bitmap->setConfig(SkBitmap::kARGB_8888_Config, 64, 64); 18 bitmap->allocPixels(); 20 SkCanvas canvas(*bitmap); 62 SkBitmap bitmap; variable 63 make_bitmap(&bitmap); variable 72 canvas->drawBitmap(bitmap, 0, 0, &paint); 74 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint); 76 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint); 91 static void make_3x3_bitmap(SkBitmap* bitmap) { 140 SkBitmap bitmap; variable 141 make_3x3_bitmap(&bitmap); variable 206 SkBitmap bitmap; variable 207 make_big_bitmap(&bitmap); variable [all...] |
/external/skia/legacy/src/core/ |
SkBitmapProcShader.cpp | 107 const SkBitmap& bitmap = *fState.fBitmap; local 108 bool bitmapIsOpaque = bitmap.isOpaque(); 116 switch (bitmap.config()) { 132 if (paint.isDither() && bitmap.config() != SkBitmap::kRGB_565_Config) { 139 if (1 == bitmap.height() && 244 // returns true and set color if the bitmap can be drawn as a single color
|
SkBitmapSampler.cpp | 57 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) *bitmap.getAddr32(x, y) 63 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) SkPixel16ToPixel32(*bitmap.getAddr16(x, y)) 67 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) bitmap.getIndex8Color(x, y) 94 const SkBitmap* bitmap = &fBitmap; local 105 p00 = bitmap->getAddr32(tmpx, tmpy); 108 p01 = bitmap->getAddr32(tmpx1, tmpy); 111 p10 = bitmap->getAddr32(tmpx, tmpy1) 142 const SkBitmap* bitmap = &fBitmap; local 188 const SkBitmap* bitmap = &fBitmap; local 256 const SkBitmap* bitmap = &fBitmap; local [all...] |
/external/skia/legacy/src/ports/ |
SkImageDecoder_WIC.cpp | 83 //Get the size of the bitmap. 90 //Exit early if we're only looking for the bitmap bounds. 109 piBitmapSourceOriginal.get() //Input bitmap to convert 126 //Copy the pixels into the bitmap. 184 const SkBitmap* bitmap; local 187 bitmap = &bitmapOrig; 192 bitmap = &bitmapCopy; 259 const UINT width = bitmap->width(); 260 const UINT height = bitmap->height(); 278 SkAutoLockPixels alp(*bitmap); [all...] |
/external/skia/legacy/src/utils/unix/ |
SkOSWindow_Unix.cpp | 240 static bool convertBitmapToXImage(XImage& image, const SkBitmap& bitmap) 244 int bitsPerPixel = bitmap.bytesPerPixel() * 8; 245 image.width = bitmap.width(); 246 image.height = bitmap.height(); 248 image.data = (char*) bitmap.getPixels(); 254 image.bytes_per_line = bitmap.rowBytes() - bitmap.width() * bitmap.bytesPerPixel(); 261 // Draw the bitmap to the screen. 262 const SkBitmap& bitmap = getBitmap() local [all...] |
/external/skia/src/core/ |
SkBitmapProcShader.cpp | 99 const SkBitmap& bitmap = *fState.fBitmap; local 100 bool bitmapIsOpaque = bitmap.isOpaque(); 108 switch (bitmap.config()) { 124 if (paint.isDither() && bitmap.config() != SkBitmap::kRGB_565_Config) { 131 if (1 == bitmap.height() && 249 // returns true and set color if the bitmap can be drawn as a single color 280 // SkBitmapProcShader stores bitmap coordinates in a 16bit buffer, as it 359 SkDebugf("Couldn't convert bitmap to texture.\n");
|
SkBitmapSampler.cpp | 57 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) *bitmap.getAddr32(x, y) 63 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) SkPixel16ToPixel32(*bitmap.getAddr16(x, y)) 67 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) bitmap.getIndex8Color(x, y) 94 const SkBitmap* bitmap = &fBitmap; local 105 p00 = bitmap->getAddr32(tmpx, tmpy); 108 p01 = bitmap->getAddr32(tmpx1, tmpy); 111 p10 = bitmap->getAddr32(tmpx, tmpy1) 142 const SkBitmap* bitmap = &fBitmap; local 188 const SkBitmap* bitmap = &fBitmap; local 257 const SkBitmap* bitmap = &fBitmap; local [all...] |
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 122 SkBitmap bitmap; local 123 bitmap.setConfig(SkBitmap::kA8_Config, 126 bitmap.setPixels(mask->fImage); 128 SkCanvas canvas(bitmap);
|
/external/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 93 //Get the size of the bitmap. 100 //Exit early if we're only looking for the bitmap bounds. 119 piBitmapSourceOriginal.get() //Input bitmap to convert 136 //Copy the pixels into the bitmap. 197 const SkBitmap* bitmap; local 200 bitmap = &bitmapOrig; 205 bitmap = &bitmapCopy; 209 if (!bitmap->isOpaque()) { 210 SkAutoLockPixels alp(*bitmap); 212 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()) [all...] |
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 13 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local 14 delete bitmap; 118 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local 119 if (NULL == bitmap) { 123 const int w = bitmap->width(); 124 const int h = bitmap->height(); 125 const size_t s = bitmap->getSize(); 127 // our provider "owns" the bitmap*, and will take care of deleting it 128 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release 130 bitmap->lockPixels() 218 SkBitmap bitmap; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
ImageAndroid.cpp | 94 m_size = IntSize(ref->bitmap().width(), ref->bitmap().height()); 98 m_frames[0].m_hasAlpha = !ref->bitmap().isOpaque(); 123 const SkBitmap& bm = ref->bitmap(); 185 // in case we get called with an incomplete bitmap 186 const SkBitmap& bitmap = image->bitmap(); local 187 if (bitmap.getPixels() == NULL && bitmap.pixelRef() == NULL) { 190 bitmap.width(), bitmap.height() 258 SkBitmap bitmap; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCGWin.cpp | 42 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); local 44 DIBPixelData pixelData(bitmap); 46 // FIXME: We can get here because we asked for a bitmap that is too big 101 OwnPtr<HBITMAP> bitmap = adoptPtr(static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP))); 103 DIBPixelData pixelData(bitmap.get());
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
DecodeHandler.java | 74 BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); local 76 rawResult = multiFormatReader.decodeWithState(bitmap);
|
/frameworks/av/media/libmedia/ |
IMediaMetadataRetriever.cpp | 229 sp<IMemory> bitmap = getFrameAtTime(timeUs, option); local 230 if (bitmap != 0) { // Don't send NULL across the binder interface 232 reply->writeStrongBinder(bitmap->asBinder());
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
ObjectBrowser.java | 23 import android.graphics.Bitmap; 96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local 97 if (bitmap != null) { 99 thumbView.setImageBitmap(bitmap);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 29 import android.graphics.Bitmap; 102 // create an Android bitmap around the BufferedImage 103 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, local 106 // create a Canvas around the Android bitmap 107 Canvas canvas = new Canvas(bitmap);
|