/external/e2fsprogs/tests/f_illbbitmap/ |
name | 1 illegal block bitmap
|
/external/e2fsprogs/tests/f_illibitmap/ |
name | 1 illegal inode bitmap
|
/external/e2fsprogs/tests/f_miss_blk_bmap/ |
name | 1 missing block bitmap
|
/external/e2fsprogs/tests/f_end-bitmap/ |
name | 1 corruption at end of block bitmap
|
/external/e2fsprogs/lib/ext2fs/ |
gen_bitmap.c | 2 * gen_bitmap.c --- Generic bitmap routines that used to be inlined. 30 int ext2fs_mark_generic_bitmap(ext2fs_generic_bitmap bitmap, 33 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { 34 ext2fs_warn_bitmap2(bitmap, EXT2FS_MARK_ERROR, bitno); 37 return ext2fs_set_bit(bitno - bitmap->start, bitmap->bitmap); 40 int ext2fs_unmark_generic_bitmap(ext2fs_generic_bitmap bitmap, 43 if ((bitno < bitmap->start) || (bitno > bitmap->end)) [all...] |
bitmaps.c | 34 ext2fs_generic_bitmap bitmap; local 39 &bitmap); 43 bitmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; 44 bitmap->fs = NULL; 45 bitmap->start = start; 46 bitmap->end = end; 47 bitmap->real_end = real_end; 48 bitmap->base_error_code = EXT2_ET_BAD_GENERIC_MARK; 50 retval = ext2fs_get_mem(strlen(descr)+1, &bitmap->description); 52 ext2fs_free_mem(&bitmap); 118 ext2fs_inode_bitmap bitmap; local 147 ext2fs_block_bitmap bitmap; local [all...] |
freefs.c | 61 void ext2fs_free_generic_bitmap(ext2fs_inode_bitmap bitmap) 63 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_GENERIC_BITMAP)) 66 bitmap->magic = 0; 67 if (bitmap->description) { 68 ext2fs_free_mem(&bitmap->description); 69 bitmap->description = 0; 71 if (bitmap->bitmap) { 72 ext2fs_free_mem(&bitmap->bitmap) [all...] |
bitops.h | 2 * bitops.h --- Bitmap frobbing code. The byte swapping routines are 51 * EXT2FS bitmap manipulation routines. 62 extern void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, 65 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block); 66 extern int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap, 68 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block); 70 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode); 71 extern int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, 73 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode); 75 extern void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap, [all...] |
/dalvik/tests/079-phantom/ |
expected.txt | 2 Created Bitmap one: 10x10 (100) 3 Created Bitmap two: 20x20 (101) 4 Created Bitmap three/four: 20x20 (101) 5 Drawing Bitmap two: 20x20 (101) 13 Bitmap has shut down
|
/frameworks/base/opengl/java/android/opengl/ |
GLUtils.java | 20 import android.graphics.Bitmap; 42 * return the internal format as defined by OpenGL ES of the supplied bitmap. 43 * @param bitmap 44 * @return the internal format of the bitmap. 46 public static int getInternalFormat(Bitmap bitmap) { 47 if (bitmap == null) { 48 throw new NullPointerException("getInternalFormat can't be used with a null Bitmap"); 50 int result = native_getInternalFormat(bitmap); 58 * Return the type as defined by OpenGL ES of the supplied bitmap, if ther [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
GraphicsPerformanceTests.java | 22 import android.graphics.Bitmap; 46 // odd-sized bitmap drawing tests 55 // even-sized bitmap drawing tests 71 /** Target "screen" (bitmap) width and height */ 79 /** Bitmap we allocate and draw to */ 80 protected Bitmap mDestBitmap; 91 // Create drawable bitmap for rendering into 92 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT, 93 Bitmap.Config.RGB_565); 124 /** Used to access package bitmap images * [all...] |
BitmapTest.java | 19 import android.graphics.Bitmap; 29 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 30 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); 31 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444) [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
CanvasTexture.java | 19 import android.graphics.Bitmap; 31 protected Bitmap getBitmap() { 32 Bitmap bitmap = generateGLCompatibleBitmap(mWidth, mHeight); local 33 mCanvas = new Canvas(bitmap); 34 onDraw(mCanvas, bitmap); 35 return bitmap; 39 protected void freeBitmap(Bitmap bitmap) { 40 bitmap.recycle() [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
BitmapTexture.java | 19 import android.graphics.Bitmap; 22 // A simple flexible texture class that enables a Texture from a bitmap. 23 final Bitmap mBitmap; 25 BitmapTexture(Bitmap bitmap) { 26 mBitmap = bitmap; 30 protected Bitmap load(RenderView view) {
|
RotateBitmap.java | 19 import android.graphics.Bitmap; 24 private Bitmap mBitmap; 27 public RotateBitmap(Bitmap bitmap) { 28 mBitmap = bitmap; 32 public RotateBitmap(Bitmap bitmap, int rotation) { 33 mBitmap = bitmap; 45 public Bitmap getBitmap() { 49 public void setBitmap(Bitmap bitmap) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
BitmapShader.java | 22 private Bitmap mBitmap; 25 * Call this to create a new shader that will draw with a bitmap. 27 * @param bitmap The bitmap to use inside the shader 28 * @param tileX The tiling mode for x to draw the bitmap in. 29 * @param tileY The tiling mode for y to draw the bitmap in. 31 public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY) { 32 mBitmap = bitmap; 33 native_instance = nativeCreate(bitmap.ni() [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader.java | 24 private final Bitmap mBitmap; 27 * Call this to create a new shader that will draw with a bitmap. 29 * @param bitmap The bitmap to use inside the shader 30 * @param tileX The tiling mode for x to draw the bitmap in. 31 * @param tileY The tiling mode for y to draw the bitmap in. 33 public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY) { 34 mBitmap = bitmap; 39 public Bitmap getBitmap() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 57 private Bitmap[] mBitmaps; 58 private Bitmap[] mJPEG; 59 private Bitmap[] mPNG; 63 private static Bitmap codec(Bitmap src, Bitmap.CompressFormat format, 79 mBitmaps = new Bitmap[6]; 81 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 82 Bitmap.Config.ARGB_8888); 83 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT [all...] |
/external/e2fsprogs/tests/r_move_itable/ |
expect | 51 Block bitmap at 130 (+129), Inode bitmap at 131 (+130) 59 Block bitmap at 386 (+129), Inode bitmap at 387 (+130) 65 Block bitmap at 513 (+0), Inode bitmap at 514 (+1) 73 Block bitmap at 898 (+129), Inode bitmap at 899 (+130) 79 Block bitmap at 1025 (+0), Inode bitmap at 1026 (+1 [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
RotateBitmap.java | 19 import android.graphics.Bitmap; 24 private Bitmap mBitmap; 27 public RotateBitmap(Bitmap bitmap) { 28 mBitmap = bitmap; 32 public RotateBitmap(Bitmap bitmap, int rotation) { 33 mBitmap = bitmap; 45 public Bitmap getBitmap() { 49 public void setBitmap(Bitmap bitmap) [all...] |
/external/e2fsprogs/tests/m_meta_bg/ |
expect.1 | 47 Block bitmap differences: -(39--49) 103 Block bitmap at 3 (+2), Inode bitmap at 4 (+3) 110 Block bitmap at 1027 (+2), Inode bitmap at 1028 (+3) 116 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1) 123 Block bitmap at 3074 (+1), Inode bitmap at 3075 (+2) 129 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1 [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 25 import android.graphics.Bitmap; 30 import android.graphics.Bitmap.CompressFormat; 31 import android.graphics.Bitmap.Config; 43 @TestTargetClass(Bitmap.class) 47 private Bitmap mBitmap; 63 args = {android.graphics.Bitmap.CompressFormat.class, int.class, java.io.OutputStream.class} 68 //abnormal case: the bitmap has been recycled 105 args = {android.graphics.Bitmap.Config.class, boolean.class} 110 //abnormal case: the bitmap has been recycled 118 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888) 119 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); local 183 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), local 212 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); local [all...] |
NinePatchTest.java | 27 import android.graphics.Bitmap; 44 private Bitmap mBitmap; 68 args = {android.graphics.Bitmap.class, byte[].class, java.lang.String.class} 87 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); local 88 assertFalse(NinePatch.isNinePatchChunk(bitmap.getNinePatchChunk())); 116 Bitmap expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled1, mOptNoScale); 118 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight() local 182 Bitmap bitmap = local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 22 import android.graphics.Bitmap; 72 static Bitmap centerToFit(Bitmap bitmap, int width, int height, Context context) { 73 final int bitmapWidth = bitmap.getWidth(); 74 final int bitmapHeight = bitmap.getHeight(); 79 Bitmap centered = Bitmap.createBitmap(bitmapWidth < width ? width : bitmapWidth, 80 bitmapHeight < height ? height : bitmapHeight, Bitmap.Config.RGB_565); 81 centered.setDensity(bitmap.getDensity()) 116 Bitmap bitmap = bitmapDrawable.getBitmap(); local 145 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, local [all...] |
/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...] |