/external/skia/gm/ |
shadertext.cpp | 41 static SkBitmap bmp; local 42 if (bmp.isNull()) { 43 makebm(&bmp, SkBitmap::kARGB_8888_Config, w/2, h/4); 45 return SkShader::CreateBitmapShader(bmp, tx, ty);
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
GenImage.java | 256 Bitmap bmp = Bitmap.createBitmap(512, 512, Bitmap.Config.ARGB_8888); local 257 bmp.setPixels(ib.array(), 0, 512, 0, 0, 512, 512); 263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); 268 bmp.recycle();
|
/frameworks/base/graphics/java/android/renderscript/ |
RenderScript.java | 314 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 315 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 317 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 320 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage); 321 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) { 323 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 327 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 328 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 330 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 332 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); [all...] |
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator.cc | 92 const SkBitmap& bmp = temp_canvas.getTopPlatformDevice().accessBitmap(false); local 97 bmp, desired_width, desired_height, clip_result); 107 bmp, desired_width, desired_height); 115 if (bmp.width() == result.width() && 116 bmp.height() == result.height()) 117 bmp.copyTo(&result, SkBitmap::kARGB_8888_Config);
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AttachmentDrawable.java | 226 canvas.drawBitmap(mBitmap.bmp, mSrcRect, rotatedBounds, mPaint); 258 return (mBitmap != null && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? 334 private void setBitmap(ReusableBitmap bmp) { 335 if (mBitmap != null && mBitmap != bmp) { 338 mBitmap = bmp; 339 setLoadState((bmp != null) ? LOAD_STATE_LOADED : LOAD_STATE_FAILED);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 32 void MakeTestSkBitmap(int w, int h, SkBitmap* bmp) { 33 bmp->setConfig(SkBitmap::kARGB_8888_Config, w, h); 34 bmp->allocPixels(); 36 uint32_t* src_data = bmp->getAddr32(0, 0);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 40 void MakeTestSkBitmap(int w, int h, SkBitmap* bmp) { 41 bmp->setConfig(SkBitmap::kARGB_8888_Config, w, h); 42 bmp->allocPixels(); 44 uint32_t* src_data = bmp->getAddr32(0, 0);
|
/external/chromium_org/ui/gfx/image/ |
image_unittest_util.cc | 178 const SkBitmap& bmp = *image.ToSkBitmap(); local 179 return bmp.isNull() || 180 (bmp.width() == 0 && bmp.height() == 0);
|
/cts/tests/tests/media/src/android/media/cts/ |
TextureRender.java | 288 Bitmap bmp = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); local 289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); 290 bmp.recycle();
|
/external/chromium_org/chrome/browser/thumbnails/ |
simple_thumbnail_crop.cc | 210 SkBitmap bmp; local 211 bitmap.extractSubset(&bmp, scrollbarless_rect); 214 bmp, desired_size.width(), desired_size.height(), clip_result);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
sbitmap.h | 109 /* Initialize the iterator I with sbitmap BMP and the initial index 113 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 117 i->size = bmp->size; 118 i->ptr = bmp->elms;
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
sbitmap.h | 109 /* Initialize the iterator I with sbitmap BMP and the initial index 113 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 117 i->size = bmp->size; 118 i->ptr = bmp->elms;
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
sbitmap.h | 109 /* Initialize the iterator I with sbitmap BMP and the initial index 113 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 117 i->size = bmp->size; 118 i->ptr = bmp->elms;
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
sbitmap.h | 109 /* Initialize the iterator I with sbitmap BMP and the initial index 113 sbitmap_iter_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min) 117 i->size = bmp->size; 118 i->ptr = bmp->elms;
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 449 Bitmap bmp = BitmapFactory.decodeResource(res, bmpResId, opts);
451 if (bmp == null && isInEditMode()) {
458 bmp = Bitmap.createBitmap(w, h, Config.ARGB_8888);
459 Canvas c = new Canvas(bmp);
464 return bmp;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTableColorFilter.cpp | 204 SkBitmap* bmp = SkNEW(SkBitmap); local 205 bmp->setConfig(SkBitmap::kA8_Config, 256, 4, 256); 206 bmp->allocPixels(); 207 uint8_t* bitmapPixels = bmp->getAddr8(0, 0); 220 fBitmap = bmp;
|
/external/chromium_org/ui/base/clipboard/ |
clipboard_android.cc | 291 SkBitmap bmp; local 296 bmp.setConfig( 298 bmp.allocPixels(); 303 memcpy(bmp.getPixels(), input.data() + sizeof(gfx::Size), bm_size); 305 return bmp;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testblitspeed.c | 190 SDL_Surface *bmp = NULL; local 272 bmp = SDL_LoadBMP("sample.bmp"); 273 if (bmp == NULL) 348 blitCentered(src, bmp); 349 SDL_FreeSurface(bmp);
|
/external/skia/src/effects/ |
SkTableColorFilter.cpp | 204 SkBitmap* bmp = SkNEW(SkBitmap); local 205 bmp->setConfig(SkBitmap::kA8_Config, 256, 4, 256); 206 bmp->allocPixels(); 207 uint8_t* bitmapPixels = bmp->getAddr8(0, 0); 220 fBitmap = bmp;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragController.java | 169 * @param bmp The bitmap that represents the view being dragged 177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 184 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2); 186 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2); 188 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DragController.java | 165 * @param bmp The bitmap that represents the view being dragged 173 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 180 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2); 182 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2); 184 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null,
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardViewManager.java | 87 public void onSetBackground(Bitmap bmp) { 88 mKeyguardHost.setCustomBackground(bmp != null ? 89 new BitmapDrawable(mContext.getResources(), bmp) : null); 90 updateShowWallpaper(bmp == null);
|
/cts/tools/signature-tools/ |
sig-check | 98 javax.imageio.plugins.bmp \
|
sig-create | 95 javax.imageio.plugins.bmp \
|
/external/chromium_org/chrome/browser/profiles/ |
gaia_info_update_service_unittest.cc | 78 const SkBitmap* bmp = image.ToSkBitmap(); local 79 EXPECT_CALL(downloader, GetProfilePicture()).WillOnce(Return(*bmp));
|