/frameworks/base/core/jni/ |
android_view_ViewRoot.cpp | 42 const SkBitmap& bm = canvas->getDevice()->accessBitmap(false); local 43 int height = bm.height();
|
Time.cpp | 59 int64_t bm = b.toMillis(false /* use isDst */); local 60 int64_t diff = am-bm;
|
/bionic/libc/private/isc/ |
eventlib.h | 66 #define EV_BYTEMASK_SET(bm, b) \ 67 ((bm).mask[EV_BYTEMASK_BYTE(b)] |= EV_BYTEMASK_MASK(b)) 68 #define EV_BYTEMASK_CLR(bm, b) \ 69 ((bm).mask[EV_BYTEMASK_BYTE(b)] &= ~EV_BYTEMASK_MASK(b)) 70 #define EV_BYTEMASK_TST(bm, b) \ 71 ((bm).mask[EV_BYTEMASK_BYTE(b)] & EV_BYTEMASK_MASK(b))
|
/external/skia/src/views/ |
SkWindow.cpp | 14 test_bounder(const SkBitmap& bm) : fCanvas(bm) {} 124 SkBitmap bm = this->getBitmap(); local 134 bm.setPixels(buffer); 137 SkCanvas canvas(bm); 148 test_bounder b(bm);
|
/external/webkit/WebKit/android/plugins/ |
ANPCanvasInterface.cpp | 31 SkBitmap bm; local 32 return new ANPCanvas(*SkANP::SetBitmap(&bm, *bitmap)); 146 SkBitmap bm; local 147 canvas->skcanvas->drawBitmap(*SkANP::SetBitmap(&bm, *bitmap), 155 SkBitmap bm; local 162 canvas->skcanvas->drawBitmapRect(*SkANP::SetBitmap(&bm, *bitmap), srcPtr,
|
/packages/apps/Mms/src/com/android/mms/model/ |
ImageModel.java | 143 Bitmap bm = mBitmapCache.get(); local 144 if (bm == null) { 146 bm = createThumbnailBitmap(THUMBNAIL_BOUNDS_LIMIT, uri); 147 if (bm != null) { 148 mBitmapCache = new SoftReference<Bitmap>(bm); 155 return bm;
|
/external/skia/src/core/ |
SkPicture.cpp | 166 SkBitmap bm; local 167 bm.setConfig(SkBitmap::kNo_Config, width, height); 168 fRecord->setBitmapDevice(bm);
|
SkGraphics.cpp | 120 SkBitmap bm; local 122 bm.setConfig(config, 320, 240); 123 bm.allocPixels(); 125 SkCanvas canvas(bm);
|
SkBitmap.cpp | 614 static size_t getSubOffset(const SkBitmap& bm, int x, int y) { 615 SkASSERT((unsigned)x < (unsigned)bm.width()); 616 SkASSERT((unsigned)y < (unsigned)bm.height()); 618 switch (bm.getConfig()) { 638 return y * bm.rowBytes() + x; 661 SkBitmap bm; local 663 bm.setConfig(kIndex8_Config, r.width(), r.height()); 664 bm.allocPixels(this->getColorTable()); 665 if (NULL == bm.getPixels()) { 670 uint8_t* dst = bm.getAddr8(0, 0) [all...] |
SkScalerContext.cpp | 422 SkBitmap bm; local 441 bm.setConfig(config, glyph->fWidth, glyph->fHeight, 443 bm.setPixels(glyph->fImage); 444 sk_bzero(glyph->fImage, bm.height() * bm.rowBytes()); 448 draw.fBitmap = &bm;
|
/external/skia/src/ports/ |
SkImageRef_ashmem.cpp | 63 virtual bool allocPixelRef(SkBitmap* bm, SkColorTable* ct) { 64 const size_t size = roundToPageSize(bm->getSize()); 107 bm->setPixels(addr, ct);
|
/external/webkit/WebKit/android/jni/ |
WebIconDatabase.cpp | 54 SkBitmap bm; 57 &bm, SkBitmap::kNo_Config, 61 return GraphicsJNI::createBitmap(env, new SkBitmap(bm), false, NULL);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 83 IBackupManager bm = IBackupManager.Stub.asInterface( local 85 if (bm != null) { 86 bm.setAutoRestore(enabled);
|
/external/tcpdump/ |
print-atalk.c | 350 atp_bitmap_print(register u_char bm) 360 if ((bm + 1) & (bm & 0xff)) { 362 for (i = 0; bm; ++i) { 363 if (bm & 1) { 367 bm >>= 1; 371 for (i = 0; bm; ++i) 372 bm >>= 1;
|
/development/apps/GraphicsLab/src/com/android/graphicslab/ |
GraphicsLab.java | 74 Bitmap bm = BitmapFactory.decodeResource(getResources(), local 78 mPatch.setTexture(bm); 213 Bitmap bm = BitmapFactory.decodeResource(getResources(), local 217 mPatch.setTexture(bm);
|
/external/skia/src/images/ |
SkMovie_gif.cpp | 117 bool SkGIFMovie::onGetBitmap(SkBitmap* bm) 146 bm->setConfig(config, width, height, 0); 147 if (!bm->allocPixels(colorTable)) { 179 unsigned char* out = bm->getAddr8(0, 0);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
tiwlan_profile.c | 77 int tiwlan_profile (tiwlan_net_dev_t *drv, unsigned bm, unsigned par) 79 if (drv && bm < MAX_PROFILE_BM && drv->fpro [bm]) 81 (*drv->fpro [bm]) (drv, par);
|
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 477 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true); local 478 bm.eraseColor(0); // start with black/transparent pixels 479 return bm; 975 Bitmap bm = nativeExtractAlpha(mNativeBitmap, nativePaint, offsetXY); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 56 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, local 59 return new BitmapShader(bm, Shader.TileMode.REPEAT,
|
/packages/apps/Music/src/com/android/music/ |
MusicUtils.java | 1000 Bitmap bm = getArtworkFromFile(context, song_id, -1); local 1021 Bitmap bm = getArtworkFromFile(context, song_id, album_id); local 1049 Bitmap bm = null; local [all...] |
/external/skia/include/core/ |
SkBitmap.h | 596 explicit SkAutoLockColors(const SkBitmap& bm) { 597 fCTable = bm.getColorTable(); 629 const SkPMColor* lockColors(const SkBitmap& bm) { 630 return this->lockColors(bm.getColorTable());
|
/frameworks/base/media/tests/omxjpegdecoder/ |
jpeg_decoder_bench.cpp | 35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
|
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 200 private static byte[] bitmapToBytes(Bitmap bm) { 201 if (bm == null) { 206 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
|
/external/openssl/crypto/rand/ |
rand_win.c | 745 BITMAP bm; /* bitmap properties */ local 771 GetObject(hBitmap, sizeof(BITMAP), (LPSTR)&bm); 772 size = (unsigned int)bm.bmWidthBytes * bm.bmHeight * bm.bmPlanes;
|
/frameworks/base/core/java/android/text/ |
Layout.java | 1421 Bitmap bm = EMOJI_FACTORY. local 1498 Bitmap bm = null; local 1638 Bitmap bm = null; local [all...] |