HomeSort by relevance Sort by last modified time
    Searched refs:bmp (Results 26 - 50 of 99) sorted by null

12 3 4

  /cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
GLGameActivity.java 154 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); local
168 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bmp, 0);
176 bmp.recycle();
  /external/skia/gm/
shadertext2.cpp 94 static SkBitmap bmp; local
95 if (bmp.isNull()) {
96 makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 2, kPointSize / 2);
99 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp,
128 canvas->drawBitmap(bmp, 0, 0);
129 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f);
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);
  /external/chromium/chrome/browser/resources/shared/js/
media_common.js 14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
  /external/chromium_org/ui/webui/resources/js/
media_common.js 14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
RenderScript.java 230 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
231 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
233 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
236 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage);
237 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) {
239 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage);
243 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
244 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
246 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
248 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 196 private void assertColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
199 assertEquals(color, bmp.getPixel(i, j));
204 private void assertColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
207 assertTrue(color != bmp.getPixel(i, j));
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
Makefile 41 -rm -f result.bmp
  /external/mesa3d/src/gallium/tests/unit/
Makefile 41 -rm -f result.bmp
  /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/base/graphics/java/android/renderscript/
RenderScript.java 342 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
343 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
345 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
348 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage);
349 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) {
351 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage);
355 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
356 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
358 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
360 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 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/ui/gfx/image/
image_unittest_util.cc 175 const SkBitmap& bmp = *image.ToSkBitmap(); local
176 return bmp.isNull() ||
177 (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;

Completed in 689 milliseconds

12 3 4