/packages/apps/Mms/src/com/android/mms/model/ |
ImageModel.java | 165 Bitmap bm = mFullSizeBitmapCache.get(); local 166 if (bm == null) { 168 bm = createBitmap(Math.max(width, height), getUri()); 169 if (bm != null) { 170 mFullSizeBitmapCache = new SoftReference<Bitmap>(bm); 177 return bm;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
refactor.py | 30 from . import btm_matcher as bm namespace 215 self.BM = bm.BottomMatcher() 221 self.BM.add_fixer(fixer) 429 match_set = self.BM.run(tree.leaves()) 432 for fixer in self.BM.fixers: 473 new_matches = self.BM.run(new.leaves())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
refactor.py | 30 from . import btm_matcher as bm namespace 215 self.BM = bm.BottomMatcher() 221 self.BM.add_fixer(fixer) 429 match_set = self.BM.run(tree.leaves()) 432 for fixer in self.BM.fixers: 473 new_matches = self.BM.run(new.leaves())
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 297 Bitmap bm = BitmapFactory.decodeFileDescriptor( local 299 return generateBitmap(context, bm, width, height); 326 Bitmap bm = BitmapFactory.decodeStream(is, null, options); local 327 return generateBitmap(context, bm, width, height); 384 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true); local 385 if (bm != null) { 386 Drawable dr = new BitmapDrawable(mContext.getResources(), bm); 575 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false); local 576 if (bm != null) { 577 Drawable dr = new BitmapDrawable(mContext.getResources(), bm); 598 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true); local 613 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false); local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 149 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); local 152 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId)); 161 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); local 164 assertEquals("b2", Mailbox.getDisplayName(c, bm.mId)); 173 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); local 178 assertTrue(Mailbox.isRefreshable(c, bm.mId)); 195 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); local 200 assertTrue(bm.canHaveMessagesMoved());
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDumpCanvas.cpp | 170 SkBitmap bm; local 171 bm.setConfig(SkBitmap::kNo_Config, WIDE_OPEN, WIDE_OPEN); 172 return bm;
|
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 170 SkBitmap bm; local 171 bm.setConfig(SkBitmap::kNo_Config, WIDE_OPEN, WIDE_OPEN); 172 return bm;
|
/external/skia/tests/ |
PictureTest.cpp | 21 static void make_bm(SkBitmap* bm, int w, int h, SkColor color, bool immutable) { 22 bm->setConfig(SkBitmap::kARGB_8888_Config, w, h); 23 bm->allocPixels(); 24 bm->eraseColor(color); 26 bm->setImmutable(); 32 static void drawbitmap_proc(SkCanvas* canvas, const SkBitmap& bm, 34 canvas->drawBitmap(bm, pos.fX, pos.fY, NULL); 37 static void drawbitmaprect_proc(SkCanvas* canvas, const SkBitmap& bm, 40 0, 0, SkIntToScalar(bm.width()), SkIntToScalar(bm.height() 162 SkBitmap bm[N]; local 324 SkBitmap bm; local 407 SkBitmap bm; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BookmarkUtils.java | 83 Bitmap bm = Bitmap.createBitmap(iconDimension, iconDimension, Bitmap.Config.ARGB_8888); local 84 Canvas canvas = new Canvas(bm); 85 Rect iconBounds = new Rect(0, 0, bm.getWidth(), bm.getHeight()); 108 return bm;
|
XLargeUi.java | 123 MenuItem bm = menu.findItem(R.id.bookmarks_menu_id); local 124 if (bm != null) { 125 bm.setVisible(false);
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
AutoThumbnailDrawable.java | 205 Bitmap bm = mBitmap; local 206 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ?
|
/external/chromium_org/third_party/openssl/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;
|
/external/chromium_org/third_party/skia/src/core/ |
SkScalerContext.cpp | 564 SkBitmap bm; local 565 bm.setConfig(config, dstW, dstH, dstRB); 568 if (!bm.allocPixels()) { 573 bm.lockPixels(); 575 bm.setPixels(mask.fImage); 577 sk_bzero(bm.getPixels(), bm.getSafeSize()); 583 draw.fBitmap = &bm; 594 pack4xHToLCD16<true>(bm, mask, maskPreBlend); 596 pack4xHToLCD16<false>(bm, mask, maskPreBlend) [all...] |
/external/chromium_org/third_party/skia/src/views/mac/ |
SkOSWindow_Mac.cpp | 166 const SkBitmap& bm = this->getBitmap(); 167 CGImageRef img = SkCreateCGImageRef(bm); 170 CGRect r = CGRectMake(0, 0, bm.width(), bm.height()); 216 const SkBitmap& bm = this->getBitmap(); local 218 CGImageRef img = SkCreateCGImageRef(bm);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
code.c | 116 static void doGen(Go *g, State *s, unsigned char *bm, unsigned char m){ 121 for(; lb < b->ub; ++lb) bm[lb] |= m; 203 unsigned char *bm = malloc(sizeof(unsigned char)*n); local 208 memset(bm, 0, n); 211 doGen(b->go, b->on, bm-lb, m); 215 fprintf(o, "%3u, ", (unsigned int) bm[j]); 219 free(bm);
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
LetterQuad.java | 219 BitmapCharacter bm = charSet.getCharacter(c, style);
local 220 setBitmapChar(bm);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
ImageToAwt.java | 53 final int bpp, am, rm, gm, bm, as, rs, gs, bs, im, is; field in class:ImageToAwt.DecodeParams 55 public DecodeParams(int bpp, int am, int rm, int gm, int bm, int as, int rs, int gs, int bs, int im, int is) { 60 this.bm = bm; 84 this.bm = 0; 219 int reductionB = 8 - Integer.bitCount(p.bm); 260 b = (b << p.bs) & p.bm; 323 if (inParams.rm != 0 && inParams.gm == 0 && inParams.bm == 0) { 325 } else if (inParams.rm != 0 && inParams.gm != 0 && inParams.bm != 0) { 332 int expansionB = 8 - Integer.bitCount(inParams.bm); [all...] |
/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;
|
/external/skia/src/core/ |
SkScalerContext.cpp | 564 SkBitmap bm; local 565 bm.setConfig(config, dstW, dstH, dstRB); 568 if (!bm.allocPixels()) { 573 bm.lockPixels(); 575 bm.setPixels(mask.fImage); 577 sk_bzero(bm.getPixels(), bm.getSafeSize()); 583 draw.fBitmap = &bm; 594 pack4xHToLCD16<true>(bm, mask, maskPreBlend); 596 pack4xHToLCD16<false>(bm, mask, maskPreBlend) [all...] |
/external/skia/src/views/mac/ |
SkOSWindow_Mac.cpp | 166 const SkBitmap& bm = this->getBitmap(); 167 CGImageRef img = SkCreateCGImageRef(bm); 170 CGRect r = CGRectMake(0, 0, bm.width(), bm.height()); 216 const SkBitmap& bm = this->getBitmap(); local 218 CGImageRef img = SkCreateCGImageRef(bm);
|
/external/valgrind/main/drd/ |
drd_bitmap.c | 73 struct bitmap* bm; local 79 bm = VG_(malloc)("drd.bitmap.bn.1", sizeof(*bm)); 80 DRD_(bm_init)(bm); 82 return bm; 85 void DRD_(bm_delete)(struct bitmap* const bm) 87 tl_assert(bm); 89 DRD_(bm_cleanup)(bm); 90 VG_(free)(bm); 93 /** Initialize *bm. * [all...] |
/frameworks/base/core/java/android/text/ |
TextLine.java | 218 Bitmap bm = null; local 225 bm = Layout.EMOJI_FACTORY.getBitmapFromAndroidPua(codept); 233 if (j == runLimit || codept == '\t' || bm != null) { 239 } else if (bm != null) { 241 float bitmapHeight = bm.getHeight(); 243 float width = bm.getWidth() * scale; 250 c.drawBitmap(bm, null, emojiRect, mPaint); 313 Bitmap bm = null; local 320 bm = Layout.EMOJI_FACTORY.getBitmapFromAndroidPua(codept); 328 if (j == runLimit || codept == '\t' || bm != null) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 623 Bitmap bm = mBitmap; local 624 return (bm == null || bm.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ?
|
Drawable.java | 840 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); local 841 if (bm != null) { 842 byte[] np = bm.getNinePatchChunk(); 847 int[] layoutBounds = bm.getLayoutBounds(); 952 Bitmap bm = BitmapFactory.decodeFile(pathName); local [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 824 Bitmap bm = BitmapFactory.decodeFile(imagePath); local [all...] |