/development/ndk/platforms/android-3/include/linux/raid/ |
md_k.h | 160 struct bitmap *bitmap; member in struct:mddev_s
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 21 import android.graphics.Bitmap; 128 private Bitmap mBitmap; 129 private Bitmap mWood; 356 Bitmap ball = BitmapFactory.decodeResource(getResources(), R.drawable.ball); 359 mBitmap = Bitmap.createScaledBitmap(ball, dstWidth, dstHeight, true); 363 opts.inPreferredConfig = Bitmap.Config.RGB_565; 370 // the bitmap 438 final Bitmap bitmap = mBitmap; local 449 canvas.drawBitmap(bitmap, x, y, null) [all...] |
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/ |
MainActivity.java | 24 import android.graphics.Bitmap; 102 private Bitmap mImageBitmap; 168 mImageBitmap = (Bitmap) extras.get("data"); 304 * Builds an {@link com.google.android.gms.wearable.Asset} from a bitmap. The image that we get 309 private static Asset toAsset(Bitmap bitmap) { 313 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
|
/external/curl/lib/ |
multi.c | 753 int bitmap; local 762 bitmap = multi_getsock(data, sockbunch, MAX_SOCKSPEREASYHANDLE); 767 if((bitmap & GETSOCK_READSOCK(i)) && VALID_SOCK((sockbunch[i]))) { 771 if((bitmap & GETSOCK_WRITESOCK(i)) && VALID_SOCK((sockbunch[i]))) { 801 int bitmap; local 821 bitmap = multi_getsock(data, sockbunch, MAX_SOCKSPEREASYHANDLE); 826 if(bitmap & GETSOCK_READSOCK(i)) { 830 if(bitmap & GETSOCK_WRITESOCK(i)) { 859 bitmap = multi_getsock(data, sockbunch, MAX_SOCKSPEREASYHANDLE); 864 if(bitmap & GETSOCK_READSOCK(i)) [all...] |
/external/opencv3/3rdparty/libtiff/ |
tif_fax3.c | 72 const unsigned char* bitmap; /* bit reversal table */ member in struct:__anon20985 116 const unsigned char* bitmap = sp->bitmap; /* input data bit reverser */ \ 163 sp->bitmap = [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_image.cpp | 900 CFX_DIBitmap& bitmap = *bitmap_device.GetBitmap(); local [all...] |
fpdf_render_text.cpp | 485 CFX_DIBitmap bitmap; local 486 if (!bitmap.Create((int)(rect.Width() * sa), (int)(rect.Height() * sd), 491 bitmap.Clear(0); 497 bitmap.TransferBitmap( 504 m_pDevice->SetBitMask(&bitmap, rect.left, rect.top, fill_argb);
|
/external/pdfium/third_party/libtiff/ |
tif_fax3.c | 72 const unsigned char* bitmap; /* bit reversal table */ member in struct:__anon22264 116 const unsigned char* bitmap = sp->bitmap; /* input data bit reverser */ \ 163 sp->bitmap = [all...] |
/external/skia/bench/ |
nanobench.cpp | 511 SkBitmap bitmap; local 512 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, brd->width(), brd->height()), [all...] |
/external/skia/dm/ |
DM.cpp | 651 SkBitmap bitmap; local 654 Error err = sink->draw(justOneRect, &bitmap, &stream, &log); 779 static bool dump_png(SkBitmap bitmap, const char* path, const char* md5) { 780 const int w = bitmap.width(), 781 h = bitmap.height(); 783 // First get the bitmap into N32 color format. The next step will work only there. 784 if (bitmap.colorType() != kN32_SkColorType) { 786 if (!bitmap.copyTo(&n32, kN32_SkColorType)) { 789 bitmap = n32; 792 // Convert our N32 bitmap into unpremul RGBA for libpng 887 SkBitmap bitmap; local [all...] |
DMSrcSink.cpp | 129 SkBitmap bitmap; local 130 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), 134 if (colorType != bitmap.colorType()) { 137 canvas->drawBitmap(bitmap, 0, 0); 185 SkBitmap bitmap; local 186 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft, 190 if (colorType != bitmap.colorType()) { 194 canvas->drawBitmapRect(bitmap, 281 void premultiply_if_necessary(SkBitmap& bitmap) { 282 if (kUnpremul_SkAlphaType != bitmap.alphaType()) 408 SkBitmap bitmap; local 696 SkBitmap bitmap; local [all...] |
/external/skia/samplecode/ |
SampleFilterFuzz.cpp | 245 static void rand_bitmap_for_canvas(SkBitmap* bitmap) { 250 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info)); 253 static void make_g_bitmap(SkBitmap& bitmap) { 254 rand_bitmap_for_canvas(&bitmap); 256 SkCanvas canvas(bitmap); 267 static void make_checkerboard_bitmap(SkBitmap& bitmap) { 268 rand_bitmap_for_canvas(&bitmap); 270 SkCanvas canvas(bitmap); 292 static SkBitmap bitmap[2]; local 295 make_g_bitmap(bitmap[0]) [all...] |
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 216 SkBitmap bitmap; local 217 bitmap.installMaskPixels(*mask); 219 SkCanvas canvas(bitmap); 234 SkBitmap bitmap; local 235 bitmap.installPixels(SkImageInfo::Make(mask->fBounds.width(), 241 SkCanvas canvas(bitmap); [all...] |
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 635 * over and over, we'd like to return exactly the same "bitmap" if possible, 636 * allowing the client to utilize a cache of our bitmap (e.g. with a GPU). 641 void SkGradientShaderBase::getGradientTableBitmap(SkBitmap* bitmap) const { 669 // each cache cost 1K of RAM, since each bitmap will be 1x256 at 32bpp 678 if (!gCache->find(storage.get(), size, bitmap)) { 681 bitmap->setInfo(SkImageInfo::MakeN32Premul(kCache32Count, 1)); 682 bitmap->setPixelRef(cache->getCache32PixelRef()); 684 gCache->add(storage.get(), size, *bitmap); 1110 SkBitmap bitmap; local [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 323 // draw lots faster if we can flag the bitmap has being opaque 362 // For an A8 bitmap, we assume there is an alpha for speed. It is 363 // possible the bitmap is opaque, but that is an unlikely use case 832 const SkBitmap* bitmap = &originalBitmap; local 844 bitmap = © 847 SkColorType ct = bitmap->colorType(); 849 const bool hasAlpha = !bitmap->isOpaque(); [all...] |
/external/skia/tests/ |
CanvasTest.cpp | 165 SkBitmap bitmap; local 166 createBitmap(&bitmap, 0x05060708); 167 return bitmap;
|
ImageFilterTest.cpp | 278 SkBitmap bitmap; local 279 bitmap.allocN32Pixels(100, 100); 280 bitmap.eraseARGB(0, 0, 0, 0); 325 filter->filterImageDeprecated(proxy, bitmap, ctx, 337 SkBitmap bitmap; local 341 bitmap.allocN32Pixels(width, height); 342 SkCanvas canvas(bitmap); 354 return bitmap; 421 // match the same filters drawn with a single full-canvas bitmap draw. 665 SkBitmap bitmap; local 871 SkBitmap bitmap; local 920 SkBitmap bitmap; local 933 SkBitmap bitmap; local 983 SkBitmap bitmap; local 1059 SkBitmap bitmap; local 1106 SkBitmap bitmap; local 1158 SkBitmap bitmap; local 1180 SkBitmap bitmap; local [all...] |
PictureTest.cpp | 76 // CreateBitmapShader is too smart for us; an empty (or 1x1) bitmap shader 77 // gets optimized into a non-bitmap form, so we create a 2x2 bitmap here. 78 SkBitmap bitmap; local 79 bitmap.allocPixels(SkImageInfo::MakeN32Premul(2, 2)); 80 bitmap.eraseColor(SK_ColorBLUE); 81 *(bitmap.getAddr32(0, 0)) = SK_ColorGREEN; 82 SkShader* shader = SkShader::CreateBitmapShader(bitmap, SkShader::kClamp_TileMode, 831 // This bitmap has a width and height but no pixels. As a result, attempting to record it will 845 static SkData* serialized_picture_from_bitmap(const SkBitmap& bitmap) { [all...] |
SkpSkGrTest.cpp | 53 {1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_ 371 static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) { 373 if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap, 376 bitmap.width(), bitmap.height()); 425 SkBitmap bitmap; local 430 bool success = bitmap.allocN32Pixels(dim.fX, dim.fY); 437 SkDebugf("unable to allocate bitmap for %s (w=%d h=%d) (sw=%d sh=%d)\n", 441 SkCanvas skCanvas(bitmap); 464 fPixelError = similarBits(grBitmap, bitmap); [all...] |
/external/skia/tools/debugger/ |
SkDrawCommand.h | 231 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 250 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 269 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 277 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand
|
/external/skia/tools/json/ |
SkJSONRenderer.cpp | 227 static SkBitmap* convert_colortype(SkBitmap* bitmap, SkColorType colorType) { 228 if (bitmap->colorType() == colorType ) { 229 return bitmap; 232 if (bitmap->copyTo(dst, colorType)) { 233 delete bitmap; 238 return bitmap; 244 SkDebugf("invalid bitmap\n"); 251 SkBitmap* bitmap = new SkBitmap(); local 252 SkImageDecoder::Result result = decoder->decode(&stream, bitmap, 261 bitmap = convert_colortype(bitmap, ct) 272 SkBitmap* bitmap = load_bitmap(jsonImage); local 921 SkBitmap* bitmap = load_bitmap(command[SKJSONCANVAS_ATTRIBUTE_BITMAP]); local [all...] |
/frameworks/base/core/java/android/provider/ |
DocumentsContract.java | 30 import android.graphics.Bitmap; 988 Bitmap bitmap = null; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 1 #define LOG_TAG "Bitmap" 2 #include "Bitmap.h" 37 WrappedPixelRef(Bitmap* wrapper, void* storage, 64 // to prevent things like a non-opaque RGB565 bitmap 118 Bitmap& mBitmap; 129 Bitmap::Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, 141 Bitmap::Bitmap(void* address, void* context, FreeFunc freeFunc, 153 Bitmap::Bitmap(void* address, int fd 722 SkBitmap bitmap; local 750 Bitmap* bitmap = allocator.getStorageObjAndReset(); local 762 Bitmap* bitmap = allocator.getStorageObjAndReset(); local 771 Bitmap* bitmap = Bitmap_copyAshmemImpl(env, src, dstCT); local 780 Bitmap* bitmap = Bitmap_copyAshmemImpl(env, src, dstCT); local 1084 SkBitmap bitmap; local 1191 SkBitmap bitmap; local 1212 SkBitmap bitmap; local 1240 SkBitmap bitmap; local 1260 SkBitmap bitmap; local 1268 SkBitmap bitmap; local 1283 SkBitmap bitmap; local [all...] |
/frameworks/base/core/jni/ |
android_view_ThreadedRenderer.cpp | 556 SkBitmap bitmap; local 557 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 558 return proxy->copyLayerInto(layer, bitmap); 672 SkBitmap bitmap; local 673 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 675 return RenderProxy::copySurfaceInto(surface, &bitmap); 745 { "nCopyLayerInto", "(JJLandroid/graphics/Bitmap;)Z", (void*) android_view_ThreadedRenderer_copyLayerInto }, 770 { "nCopySurfaceInto", "(Landroid/view/Surface;Landroid/graphics/Bitmap;)I",
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 25 import android.graphics.Bitmap; 55 * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a 57 * a {@link android.graphics.Bitmap} object. 58 * <p>It can be defined in an XML file with the <code><bitmap></code> element. For more 62 * Also see the {@link android.graphics.Bitmap} class, which handles the management and 63 * transformation of raw bitmap graphics, and should be used when drawing to a 108 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)} 109 * instead to specify a bitmap to draw with and ensure the correct density is set. 113 mBitmapState = new BitmapState((Bitmap) null); 120 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)} 214 final Bitmap bitmap = mBitmapState.mBitmap; local 496 final Bitmap bitmap = mBitmapState.mBitmap; local 769 final Bitmap bitmap = BitmapFactory.decodeResource(r, srcResId); local 888 final Bitmap bitmap = mBitmapState.mBitmap; local [all...] |