/packages/apps/Camera/src/com/android/camera/ui/ |
NinePatchTexture.java | 20 import android.graphics.Bitmap; 32 protected Bitmap getBitmap() { 36 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 37 Bitmap bitmap = BitmapFactory.decodeResource( local 39 mBitmap = bitmap; 40 setSize(bitmap.getWidth(), bitmap.getHeight()); 41 mChunk = NinePatchChunk.deserialize(bitmap.getNinePatchChunk()); 45 return bitmap; [all...] |
CanvasTexture.java | 19 import android.graphics.Bitmap; 21 import android.graphics.Bitmap.Config; 32 protected Bitmap getBitmap() { 33 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, Config.ARGB_8888); local 34 mCanvas = new Canvas(bitmap); 35 onDraw(mCanvas, bitmap); 36 return bitmap; 40 protected void freeBitmap(Bitmap bitmap) [all...] |
/dalvik/vm/alloc/ |
MarkSweep.h | 41 HeapBitmap *bitmap; member in struct:__anon687
|
Verify.c | 60 HeapBitmap *bitmap = dvmHeapSourceGetLiveBits(); local 63 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); 107 * Helper function to call dvmVerifyObject from a bitmap walker. 115 * Verifies the object references in a heap bitmap. Assumes the VM is 118 void dvmVerifyBitmap(const HeapBitmap *bitmap) 120 dvmHeapBitmapWalk(bitmap, verifyBitmapCallback, NULL);
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
SDL_pgvideo.h | 45 pghandle bitmap; member in struct:SDL_PrivateVideoData
|
/external/webkit/WebCore/platform/graphics/ |
GeneratedImage.cpp | 67 Image* bitmap = imageBuffer->image(); local 70 bitmap->drawPattern(context, adjustedSrcRect, patternTransform, phase, styleColorSpace, compositeOp, destRect);
|
/external/webkit/WebCore/platform/image-decoders/wx/ |
ImageDecoderWx.cpp | 31 #include <wx/bitmap.h> 74 } // ensure that WxPixelData is destroyed as it unlocks the bitmap data in 81 wxGraphicsBitmap* bitmap = new wxGraphicsBitmap(wxGraphicsRenderer::GetDefaultRenderer()->CreateBitmap(*bmp)); local 83 return bitmap;
|
/external/webkit/WebKitTools/DumpRenderTree/win/ |
PixelDumpSupportWin.cpp | 62 HBITMAP bitmap = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, 0, 0); local 65 SelectObject(memoryDC, bitmap); 69 BITMAP info = {0}; 70 GetObject(bitmap, sizeof(info), &info); 84 return BitmapContext::createByAdoptingBitmapAndContext(bitmap, context);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
ImageRecord.java | 23 import android.graphics.Bitmap; 40 private final Bitmap mBitmap; 42 private ImageRecord(Bitmap bitmap) { 43 mBitmap = Preconditions.checkNotNull(bitmap); 59 Bitmap bitmap = BitmapFactory.decodeByteArray(content, 0, content.length); local 60 if (bitmap == null) { 63 return new ImageRecord(bitmap); 75 public static NdefRecord newImageRecord(Bitmap bitmap) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SumPathEffectTest.java | 23 import android.graphics.Bitmap; 32 import android.graphics.Bitmap.Config; 49 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); local 50 bitmap.eraseColor(Color.BLACK); 51 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 72 canvas = new Canvas(bitmap); 77 assertEquals(expected.getPixel(i, j), bitmap.getPixel(i, j)) [all...] |
Canvas_VertexModeTest.java | 18 import android.graphics.Bitmap; 21 import android.graphics.Bitmap.Config; 62 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); local 63 Canvas c = new Canvas(bitmap);
|
ShaderTest.java | 19 import android.graphics.Bitmap; 56 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); local 58 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
|
/bionic/linker/ |
ba.h | 48 /* the bitmap for the region indicating which entries are allocated 50 struct ba_bits *bitmap; member in struct:ba
|
/external/freetype/src/raster/ |
ftrend1.c | 97 /* convert a slot's glyph image into a bitmap */ 108 FT_Bitmap* bitmap; local 171 bitmap = &slot->bitmap; 174 /* release old bitmap buffer */ 177 FT_FREE( bitmap->buffer ); 186 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; 187 bitmap->num_grays = 256; 192 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; 195 bitmap->width = width [all...] |
/external/oprofile/libdb/ |
db_debug.c | 21 unsigned char * bitmap = malloc(data->descr->current_size); local 22 memset(bitmap, '\0', data->descr->current_size); 29 if (bitmap[index]) 32 bitmap[index] = 1; 41 memset(bitmap, '\0', data->descr->current_size); 46 if (bitmap[index]) 49 bitmap[index] = 1; 59 bitmap[index] = 1; 64 free(bitmap); 73 unsigned char * bitmap = malloc(max + 1) local [all...] |
/external/skia/src/gl/ |
SkGLDevice_SWLayer.cpp | 4 SkGLDevice_SWLayer::SkGLDevice_SWLayer(const SkBitmap& bitmap) 5 : SkGLDevice(bitmap, true) { 8 SkASSERT(bitmap.getPixels()); 18 const SkBitmap& bitmap = this->accessBitmap(false); local 21 fTextureID = SkGL::BindNewTexture(bitmap, NULL); 49 void SkGLDevice_SWLayer::drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 51 draw.drawBitmap(bitmap, matrix, paint); 54 void SkGLDevice_SWLayer::drawSprite(const SkDraw& draw, const SkBitmap& bitmap, 56 draw.drawSprite(bitmap, x, y, paint);
|
/external/skia/src/images/ |
SkMovie.cpp | 62 const SkBitmap& SkMovie::bitmap() function in class:SkMovie
|
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 8 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local 9 delete bitmap; 80 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local 81 if (NULL == bitmap) { 85 const int w = bitmap->width(); 86 const int h = bitmap->height(); 87 const size_t s = bitmap->getSize(); 89 // our provider "owns" the bitmap*, and will take care of deleting it 90 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release 92 bitmap->lockPixels() [all...] |
/external/skia/xcode/hostapp/ |
test.cpp | 33 SkBitmap bitmap; local 34 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 640, 480); 35 bitmap.allocPixels(); 37 SkCanvas canvas(bitmap); 40 gImage = SkCreateCGImageRef(bitmap);
|
/external/webkit/WebCore/platform/brew/ |
ScreenBrew.cpp | 51 IBitmap* bitmap = IDisplay_GetDestination(display); local 52 ASSERT(bitmap); 55 IBitmap_GetInfo(bitmap, &bitmapInfo, sizeof(AEEBitmapInfo)); 61 IBitmap_Release(bitmap);
|
/external/webkit/WebCore/platform/graphics/android/ |
SkBitmapRef.h | 41 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkBitmapRef 42 SkBitmap& bitmap() { return fBitmap; } function in class:SkBitmapRef
|
/external/webkit/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 46 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); local 48 BITMAP info; 49 if (!GetObject(bitmap, sizeof(info), &info)) 97 HBITMAP bitmap = static_cast<HBITMAP>(GetCurrentObject(hdc, OBJ_BITMAP)); 99 BITMAP info; 100 GetObject(bitmap, sizeof(info), &info); 103 // Need to make a cairo_surface_t out of the bitmap's pixel buffer and then draw 126 ::DeleteObject(bitmap);
|
/frameworks/base/core/jni/ |
com_android_internal_graphics_NativeUtils.cpp | 49 const SkBitmap& bitmap = c->getDevice()->accessBitmap(true); local 50 return bitmap.scrollRect(srcPtr, dx, dy, NULL);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ResourceTexture.java | 22 import android.graphics.Bitmap; 40 protected Bitmap load(RenderView view) { 41 // Load a bitmap from the resource. 42 Bitmap bitmap = null; local 45 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 46 bitmap = BitmapFactory.decodeResource(view.getResources(), mResourceId, options); 52 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 53 bitmap = BitmapFactory.decodeStream(inputStream, null, options); 63 return bitmap; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaMetadataRetrieverTest.java | 21 import android.graphics.Bitmap; 94 Bitmap bitmap = retriever.getFrameAtTime(-1); local 95 assertTrue(bitmap != null); 98 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); 101 Log.e(TAG, "Fails to convert the bitmap to a JPEG file for " + MediaNames.THUMBNAIL_CAPTURE_TEST_FILES[i]); 151 Bitmap bitmap = retriever.getFrameAtTime(-1); local 152 assertTrue(bitmap != null) [all...] |