/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();
|
/external/chromium_org/ui/base/clipboard/ |
clipboard_android.cc | 304 SkBitmap bmp; local 309 bmp.setConfig(SkBitmap::kARGB_8888_Config, size->width(), size->height()); 310 bmp.allocPixels(); 312 DCHECK_EQ(sizeof(gfx::Size) + bmp.getSize(), input.size()); 314 memcpy(bmp.getPixels(), input.data() + sizeof(gfx::Size), bmp.getSize()); 316 return bmp;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
BasicBitmapDrawable.java | 231 protected void setBitmap(ReusableBitmap bmp) { 235 mBitmap = bmp; 354 return mBitmap != null && mBitmap.bmp != null; 363 canvas.drawBitmap(mBitmap.bmp, src, dst, mPaint); 384 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ?
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactDrawable.java | 126 if (mBitmap != null && mBitmap.bmp != null) { 128 drawBitmap(mBitmap.bmp, mBitmap.getLogicalWidth(), mBitmap.getLogicalHeight(), canvas); 271 private void setBitmap(final ReusableBitmap bmp) { 272 if (mBitmap != null && mBitmap != bmp) { 275 mBitmap = bmp;
|
/frameworks/base/rs/java/android/renderscript/ |
RenderScript.java | 365 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); 366 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { 368 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 371 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage); 372 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) { 374 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 377 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); 378 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { 380 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 382 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScript.java | 311 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 312 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 314 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 317 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage); 318 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) { 320 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 324 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 325 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 327 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 329 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 38 void MakeTestSkBitmap(int w, int h, SkBitmap* bmp) { 39 bmp->setConfig(SkBitmap::kARGB_8888_Config, w, h); 40 bmp->allocPixels(); 42 uint32_t* src_data = bmp->getAddr32(0, 0);
|
/external/chromium_org/third_party/skia/gm/ |
convexpolyclip.cpp | 16 SkBitmap bmp; local 17 bmp.allocN32Pixels(w, h, true); 19 SkCanvas canvas(bmp); 67 return bmp;
|
/external/skia/gm/ |
convexpolyclip.cpp | 16 SkBitmap bmp; local 17 bmp.allocN32Pixels(w, h, true); 19 SkCanvas canvas(bmp); 67 return bmp;
|
/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 | 209 SkBitmap bmp; local 210 bitmap.extractSubset(&bmp, scrollbarless_rect); 213 bmp, desired_size.width(), desired_size.height(), clip_result);
|
/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/pdfium/core/src/fxge/win32/ |
fx_win32_dib.cpp | 117 BITMAP bmp;
local 118 GetObject(hBitmap, sizeof bmp, &bmp);
119 w = bmp.bmWidth;
120 h = bmp.bmHeight;
|
/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/e2fsprogs/lib/quota/ |
quotaio_tree.c | 539 #define set_bit(bmp, ind) ((bmp)[(ind) >> 3] |= (1 << ((ind) & 7))) 540 #define get_bit(bmp, ind) ((bmp)[(ind) >> 3] & (1 << ((ind) & 7))) 622 static uint find_set_bits(char *bmp, int blocks) 627 if (get_bit(bmp, i))
|
/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 | 159 * @param bmp The bitmap that represents the view being dragged 167 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 174 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2); 176 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2); 178 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null,
|
/frameworks/support/v4/java/android/support/v4/media/ |
MediaMetadataCompat.java | 309 Bitmap bmp = null; local 311 bmp = mBundle.getParcelable(key); 316 return bmp;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTableColorFilter.cpp | 206 SkBitmap* bmp = SkNEW(SkBitmap); local 207 bmp->allocPixels(SkImageInfo::MakeA8(256, 4)); 208 uint8_t* bitmapPixels = bmp->getAddr8(0, 0); 221 fBitmap = bmp;
|
/external/skia/src/effects/ |
SkTableColorFilter.cpp | 206 SkBitmap* bmp = SkNEW(SkBitmap); local 207 bmp->allocPixels(SkImageInfo::MakeA8(256, 4)); 208 uint8_t* bitmapPixels = bmp->getAddr8(0, 0); 221 fBitmap = bmp;
|
/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 | 103 const SkBitmap* bmp = image.ToSkBitmap(); local 104 EXPECT_CALL(*downloader(), GetProfilePicture()).WillOnce(Return(*bmp));
|
/external/chromium_org/third_party/skia/tests/ |
DeferredCanvasTest.cpp | 332 SkBitmap bmp; local 333 create(&bmp, 0xFFFFFFFF); 334 bmp.setAlphaType(kOpaque_SkAlphaType); 335 SkShader* shader = SkShader::CreateBitmapShader(bmp, 370 SkBitmap bmp; local 371 create(&bmp, 0xFFFFFFFF); 372 bmp.setAlphaType(kPremul_SkAlphaType); 373 SkShader* shader = SkShader::CreateBitmapShader(bmp, [all...] |
/external/chromium_org/tools/perf/metrics/ |
speedindex.py | 144 histograms = [(time, bmp.ColorHistogram(ignore_color=bitmap.WHITE, 146 for time, bmp in video_capture.GetVideoFrameIter()]
|