/art/test/079-phantom/src/ |
Main.java | 18 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4; 66 Bitmap.shutDown(); 79 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10); 80 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20); 81 mBitmap1 = new Bitmap("one", 10, 10, dataA); 82 mBitmap2 = new Bitmap("two", 20, 20, dataB); 83 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB);
|
Bitmap.java | 21 public class Bitmap { 24 Bitmap.NativeWrapper mNativeWrapper; 35 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { 45 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" + 60 System.out.println("Bitmap has shut down"); 67 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { 70 synchronized (Bitmap.class) { 74 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData) [all...] |
/dalvik/tests/079-phantom/src/ |
Main.java | 18 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4; 66 Bitmap.shutDown(); 79 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10); 80 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20); 81 mBitmap1 = new Bitmap("one", 10, 10, dataA); 82 mBitmap2 = new Bitmap("two", 20, 20, dataB); 83 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB);
|
Bitmap.java | 21 public class Bitmap { 24 Bitmap.NativeWrapper mNativeWrapper; 35 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { 45 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" + 60 System.out.println("Bitmap has shut down"); 67 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { 70 synchronized (Bitmap.class) { 74 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData) [all...] |
/external/chromium/net/disk_cache/ |
bitmap.h | 14 class Bitmap { 16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} 19 // false, the bitmap bits will not be initialized. 20 Bitmap(int num_bits, bool clear_bits); 22 // Constructs a Bitmap with the actual storage provided by the caller. |map| 24 // bits in the bitmap, and |num_words| is the size of |map| in 32-bit words. 25 Bitmap(uint32* map, int num_bits, int num_words); 27 ~Bitmap(); 29 // Resizes the bitmap. 36 // Returns the number of bits in the bitmap [all...] |
bitmap.cc | 5 #include "net/disk_cache/bitmap.h" 43 Bitmap::Bitmap(int num_bits, bool clear_bits) 54 Bitmap::Bitmap(uint32* map, int num_bits, int num_words) 63 Bitmap::~Bitmap() { 68 void Bitmap::Resize(int num_bits, bool clear_bits) { 92 void Bitmap::Set(int index, bool value) { 103 bool Bitmap::Get(int index) const [all...] |
/external/chromium_org/net/disk_cache/ |
bitmap.h | 14 class NET_EXPORT_PRIVATE Bitmap { 16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} 19 // false, the bitmap bits will not be initialized. 20 Bitmap(int num_bits, bool clear_bits); 22 // Constructs a Bitmap with the actual storage provided by the caller. |map| 24 // bits in the bitmap, and |num_words| is the size of |map| in 32-bit words. 25 Bitmap(uint32* map, int num_bits, int num_words); 27 ~Bitmap(); 29 // Resizes the bitmap. 36 // Returns the number of bits in the bitmap [all...] |
bitmap.cc | 5 #include "net/disk_cache/bitmap.h" 43 Bitmap::Bitmap(int num_bits, bool clear_bits) 54 Bitmap::Bitmap(uint32* map, int num_bits, int num_words) 63 Bitmap::~Bitmap() { 68 void Bitmap::Resize(int num_bits, bool clear_bits) { 92 void Bitmap::Set(int index, bool value) { 103 bool Bitmap::Get(int index) const [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
bitmap.py | 14 """Encapsulates an RGBA color retreived from a Bitmap""" 39 class Bitmap(object): 40 """Utilities for parsing and inspecting a bitmap.""" 62 """Width of the bitmap.""" 67 """Height of the bitmap.""" 72 """Flat pixel array of the bitmap.""" 100 return Bitmap(4 if meta['alpha'] else 3, width, height, pixels, meta) 105 return Bitmap.FromPng(f.read()) 109 return Bitmap.FromPng(base64.b64decode(base64_png)) 132 """Returns a new Bitmap that represents the difference between this imag [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbriva.c | 77 RivaBitmap *Bitmap = (RivaBitmap *)(mapped_io + BITMAP_OFFSET); 96 RIVA_FIFO_FREE(Bitmap, 1); 97 Bitmap->Color1A = color; 99 RIVA_FIFO_FREE(Bitmap, 2); 100 Bitmap->UnclippedRectangle[0].TopLeft = (dstX << 16) | dstY; 101 Bitmap->UnclippedRectangle[0].WidthHeight = (dstW << 16) | dstH;
|
riva_mmio.h | 401 RivaBitmap *Bitmap;
|
/external/chromium_org/skia/ext/ |
vector_canvas_unittest.cc | 49 class Bitmap { 51 Bitmap(const Context& context, int x, int y) { 55 hdr.biHeight = -y; // Minus means top-down bitmap. 70 ~Bitmap() { 79 DISALLOW_COPY_AND_ASSIGN(Bitmap); 82 // Lightweight raw-bitmap management. The image, once initialized, is immuable. 92 SkBitmap bitmap; local 95 compressed.size(), &bitmap)); local 96 SetSkBitmap(bitmap); 101 // Use a different way to access the bitmap. The normal way would be t 105 HGDIOBJ bitmap = GetCurrentObject(context, OBJ_BITMAP); local 343 compressed.size(), bitmap)); local 803 SkBitmap bitmap; local 811 SkBitmap bitmap; local 820 SkBitmap bitmap; local 837 SkBitmap bitmap; local 851 SkBitmap bitmap; local 873 SkBitmap bitmap; local 895 SkBitmap bitmap; local 923 SkBitmap bitmap; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
BitmapFactory.java | 32 * Creates Bitmap objects from various sources, including files, streams, 51 * reuse this bitmap when loading content. If the decode operation 52 * cannot use this bitmap, the decode method will return 54 * current implementation necessitates that the reused bitmap be 55 * mutable, and the resulting reused bitmap will continue to remain 57 * an immutable bitmap.</p> 59 * <p>You should still always use the returned Bitmap of the decode 60 * method and not assume that reusing the bitmap worked, due to the 63 * set in the Options structure will indicate if the bitmap was reused, 64 * but in all cases you should use the Bitmap returned by the decodin [all...] |
Bitmap.java | 29 public final class Bitmap implements Parcelable { 31 * Indicates that the bitmap was created for an unknown pixel density. 33 * @see Bitmap#getDensity() 34 * @see Bitmap#setDensity(int) 47 * Backing buffer for the Bitmap. 62 * Represents whether the Bitmap's content is expected to be pre-multiplied. 64 * isPremultiplied() may never return true for a 565 Bitmap. 103 * Private constructor that must received an already allocated native bitmap 107 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, 111 throw new RuntimeException("internal error: native bitmap is 0") 681 Bitmap bitmap; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 93 class Bitmap(CanvasItem): 95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Canvas.py | 93 class Bitmap(CanvasItem): 95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 22 import android.graphics.Bitmap; 28 import android.graphics.Bitmap.CompressFormat; 29 import android.graphics.Bitmap.Config; 43 private Bitmap mBitmap; 64 //abnormal case: the bitmap has been recycled 101 //abnormal case: the bitmap has been recycled 109 mBitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); 110 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); local 111 WidgetTestUtils.assertEquals(mBitmap, bitmap); 164 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), local 183 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); local 706 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); local 724 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); local 744 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); local 770 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); local 782 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); local [all...] |
BitmapFactoryTest.java | 23 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.CompressFormat; 28 import android.graphics.Bitmap.Config; 112 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start, 115 // Test the bitmap size 118 // Test if no bitmap 123 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start); 125 // Test the bitmap size 134 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1); 136 // Test the bitmap siz 453 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, opt); local [all...] |
/external/chromium_org/third_party/re2/re2/ |
prog.h | 17 // Simple fixed-size bitmap. 19 class Bitmap { 21 Bitmap() { Reset(); } 45 DISALLOW_EVIL_CONSTRUCTORS(Bitmap); 207 const Bitmap<256>& byterange() { return byterange_; } 363 Bitmap<256> byterange_; // byterange.Get(x) true if x ends a
|
/external/regex-re2/re2/ |
prog.h | 17 // Simple fixed-size bitmap. 19 class Bitmap { 21 Bitmap() { Reset(); } 45 DISALLOW_EVIL_CONSTRUCTORS(Bitmap); 207 const Bitmap<256>& byterange() { return byterange_; } 363 Bitmap<256> byterange_; // byterange.Get(x) true if x ends a
|
/external/chromium_org/cc/resources/ |
resource_provider.h | 66 Bitmap, 377 SharedBitmap* bitmap,
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
dd.h | 179 void (*Bitmap)( struct gl_context *ctx, 182 const GLubyte *bitmap ); [all...] |
/external/mesa3d/src/mesa/main/ |
dd.h | 179 void (*Bitmap)( struct gl_context *ctx, 182 const GLubyte *bitmap ); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
meta.c | 341 struct bitmap_state Bitmap; /**< For _mesa_meta_Bitmap() */ 2625 struct bitmap_state *bitmap = &ctx->Meta->Bitmap; local [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.c | 341 struct bitmap_state Bitmap; /**< For _mesa_meta_Bitmap() */ 2625 struct bitmap_state *bitmap = &ctx->Meta->Bitmap; local [all...] |