/external/skia/src/utils/ |
SkMeshUtils.cpp | 81 void SkMeshUtils::Draw(SkCanvas* canvas, const SkBitmap& bitmap, 86 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { 88 p.setShader(SkShader::CreateBitmapShader(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/image-decoders/haiku/ |
ImageDecoderHaiku.cpp | 30 #include <Bitmap.h> 37 OwnPtr<BBitmap> bitmap(new BBitmap(BRect(0, 0, width() - 1, height() - 1), 0, B_RGBA32, bytesPerRow)); 40 uint8* destination = reinterpret_cast<uint8*>(bitmap->Bits()); 70 return bitmap.release();
|
/external/webkit/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 94 static bool anp_lock(JNIEnv* env, jobject surfaceView, ANPBitmap* bitmap, ANPRectI* dirtyRect) { 95 if (!bitmap || !surfaceView) { 101 if (!bitmap || !Surface::isValid(surface)) { 133 bitmap->format = convertPixelFormat(info.format); 134 bitmap->width = info.w; 135 bitmap->height = info.h; 136 bitmap->rowBytes = bpr; 139 bitmap->baseAddr = info.bits; 141 bitmap->baseAddr = NULL;
|
/frameworks/base/core/jni/android/graphics/ |
GraphicsJNI.h | 38 static SkBitmap* getNativeBitmap(JNIEnv*, jobject bitmap); 47 /** Create a java Bitmap object given the native bitmap (required) and optional 49 locked, and its native address set as the bitmap's pixels. If storage is null, 50 then the bitmap must be an owner of its natively allocated pixels (via allocPixels). 52 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, 57 /** Set a pixelref for the bitmap (needs setConfig to already be called) 64 /** Copy the colors in colors[] to the bitmap, convert to the correct 76 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCacheTest.java | 26 import android.graphics.Bitmap; 71 private Bitmap createCacheForView(final View view) { 72 final Bitmap[] cache = new Bitmap[1];
|
ZeroSizedTest.java | 25 import android.graphics.Bitmap; 89 private Bitmap createCacheForView(final View view) { 90 final Bitmap[] cache = new Bitmap[1];
|
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
constructors_index_all.html | 60 <nobr><A HREF="android.graphics.drawable.BitmapDrawable.html#android.graphics.drawable.BitmapDrawable.ctor_added(android.content.res.Resources, android.graphics.Bitmap)" class="hiddenlink" target="rightframe"><b>BitmapDrawable</b> 61 (<code>Resources, Bitmap</code>)</A></nobr> constructor<br> 64 <nobr><A HREF="android.graphics.drawable.BitmapDrawable.html#android.graphics.drawable.BitmapDrawable.ctor_changed(android.graphics.Bitmap)" class="hiddenlink" target="rightframe">BitmapDrawable 65 (<code>Bitmap</code>)</A></nobr> constructor<br> 74 <nobr><A HREF="android.text.style.ImageSpan.html#android.text.style.ImageSpan.ctor_added(android.content.Context, android.graphics.Bitmap)" class="hiddenlink" target="rightframe"><b>ImageSpan</b> 75 (<code>Context, Bitmap</code>)</A></nobr> constructor<br> 76 <nobr><A HREF="android.text.style.ImageSpan.html#android.text.style.ImageSpan.ctor_added(android.content.Context, android.graphics.Bitmap, int)" class="hiddenlink" target="rightframe"><b>ImageSpan</b> 77 (<code>Context, Bitmap, int</code>)</A></nobr> constructor<br> 78 <nobr><A HREF="android.text.style.ImageSpan.html#android.text.style.ImageSpan.ctor_changed(android.graphics.Bitmap)" class="hiddenlink" target="rightframe">ImageSpan 79 (<code>Bitmap</code>)</A></nobr> constructor<br [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.aidl | 19 parcelable Bitmap;
|
/frameworks/base/native/graphics/jni/ |
Android.mk | 19 bitmap.cpp
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
IconLoader.java | 21 import android.graphics.Bitmap; 41 private Bitmap mCurrentIcon = null; 49 private Bitmap[] mIcons = null; 50 private HashMap<Integer, Bitmap> mIconsCache = null; 75 mIconsCache = new HashMap<Integer, Bitmap>(50); 96 mIcons = new Bitmap[recordNumbers.length]; 231 * Convert a TS 131.102 image instance of code scheme '11' into Bitmap 234 * @return The bitmap 236 public static Bitmap parseToBnW(byte[] data, int length){ 259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888) [all...] |
/packages/apps/Camera/src/com/android/camera/gallery/ |
BaseImage.java | 23 import android.graphics.Bitmap; 29 * Represents a particular image and provides access to the underlying bitmap 74 public Bitmap miniThumbBitmap() { 75 Bitmap b = null;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
VideoObject.java | 22 import android.graphics.Bitmap; 65 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, 104 public Bitmap thumbBitmap(boolean rotateAsNeeded) { 109 public Bitmap miniThumbBitmap() {
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MediaItemTexture.java | 25 import android.graphics.Bitmap; 97 protected Bitmap load(RenderView view) { 119 Bitmap retVal = null; 168 Log.i(TAG, "Bitmap creation fail, outofmemory"); 190 Bitmap retVal = UriTexture.createFromUri(mContext, item.mThumbnailUri, 256, 256, 0, null); 216 options.inPreferredConfig = Bitmap.Config.RGB_565; 217 final Bitmap bitmap = BitmapFactory.decodeByteArray(data, CACHE_HEADER_SIZE, data.length - CACHE_HEADER_SIZE, local 219 return bitmap;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MmsThumbnailPresenter.java | 29 import android.graphics.Bitmap; 84 Bitmap bitmap = BitmapFactory.decodeResource( local 86 view.setImage(name, bitmap);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
ResourceHelper.java | 28 import android.graphics.Bitmap; 102 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable, 168 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, local 171 if (bitmap == null) { 172 bitmap = new Bitmap(bmpFile); 174 bitmap.setDensity(Density.MEDIUM.getValue()); 180 Bridge.setCachedBitmap(stringValue, bitmap, 188 // create a copy of the bitmap [all...] |
/external/e2fsprogs/lib/ext2fs/ |
rw_bitmaps.c | 34 * of each word. Thus a bitmap with only bit 0 set would be, as 36 * To cope with this, we byte-reverse each word of a bitmap if 44 static void ext2fs_swap_bitmap(ext2_filsys fs, char *bitmap, int nbytes) 46 __u32 *p = (__u32 *) bitmap; 76 block_bitmap = fs->block_map->bitmap; 84 inode_bitmap = fs->inode_map->bitmap; 103 /* Force bitmap padding for the last group */ 189 sprintf(buf, "block bitmap for %s", fs->device_name); 193 block_bitmap = fs->block_map->bitmap; 198 sprintf(buf, "inode bitmap for %s", fs->device_name) [all...] |
check_desc.c | 45 * Check to make sure block bitmap for group is 52 * Check to make sure inode bitmap for group is
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
sbitmap.h | 24 /* It's not clear yet whether using bitmap.[ch] will be a win. 53 #define SBITMAP_SIZE_BYTES(BITMAP) ((BITMAP)->size * sizeof (SBITMAP_ELT_TYPE)) 55 /* Test if bit number bitno in the bitmap is set. */ 56 #define TEST_BIT(BITMAP, BITNO) \ 57 ((BITMAP)->elms [(BITNO) / SBITMAP_ELT_BITS] >> (BITNO) % SBITMAP_ELT_BITS & 1) 60 if this bitmap has one. */ 79 count if this bitmap has one. */ 97 /* The pointer to the first word of the bitmap. */ 100 /* The size of the bitmap. * [all...] |
/external/e2fsprogs/e2fsck/ |
pass5.c | 120 int actual, bitmap; local 181 bitmap = 1; 183 bitmap = 1; 185 bitmap = 1; 189 bitmap = 1; 191 bitmap = 0; 194 bitmap = ext2fs_fast_test_block_bitmap(fs->block_map, i); 196 if (actual == bitmap) 199 if (!actual && bitmap) { 201 * Block not used, but marked in use in the bitmap 320 int actual, bitmap; local [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
ImageSpanTest.java | 28 import android.graphics.Bitmap; 44 args = {android.graphics.Bitmap.class} 50 args = {android.graphics.Bitmap.class, int.class} 106 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); 131 new ImageSpan((Bitmap) null); 135 new ImageSpan((Bitmap) null, -1);
|
/external/e2fsprogs/tests/f_lpf/ |
expect.1 | 27 Block bitmap differences: +(22--23) +49 +(57--58) 36 Inode bitmap differences: +13
|
/external/skia/include/utils/ |
SkNinePatch.h | 30 const SkBitmap& bitmap, const SkIRect& margins, 34 const SkBitmap& bitmap,
|
/external/skia/src/images/ |
SkImageRef_GlobalPool.cpp | 25 SkBitmap* bitmap, SkBitmap::Config config, 27 if (!this->INHERITED::onDecode(codec, stream, bitmap, config, mode)) {
|
SkScaledBitmapSampler.h | 27 // Given a dst bitmap (with pixels already allocated) and a src-config, 51 char* fDstRow; // points into bitmap's pixels
|