HomeSort by relevance Sort by last modified time
    Searched defs:bmp (Results 1 - 25 of 43) sorted by null

1 2

  /packages/apps/UnifiedEmail/src/com/android/bitmap/
ReusableBitmap.java 27 public final Bitmap bmp; field in class:ReusableBitmap
40 bmp = bitmap;
74 return bmp.getByteCount();
103 sb.append(" bmp=");
104 sb.append(bmp);
109 if (bmp != null) {
111 sb.append(bmp.getByteCount() >> 10);
  /external/skia/tests/
PremulAlphaRoundTripTest.cpp 23 SkBitmap bmp; local
24 bmp.setConfig(SkBitmap::kARGB_8888_Config, 256, 256);
25 bmp.allocPixels();
26 SkAutoLockPixels alp(bmp);
27 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels());
34 canvas->writePixels(bmp, 0, 0, unpremulConfig);
ShaderOpacityTest.cpp 14 SkBitmap bmp; local
15 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
18 SkShader* shader = SkShader::CreateBitmapShader(bmp,
25 bmp.allocPixels();
28 shader = SkShader::CreateBitmapShader(bmp,
35 bmp.setIsOpaque(true);
36 shader = SkShader::CreateBitmapShader(bmp,
43 bmp.setIsOpaque(false);
44 shader = SkShader::CreateBitmapShader(bmp,
PathUtilsTest.cpp 47 static void print_bmp( SkBitmap* bmp, int w, int h){
51 int d = *bmp->getAddr32(x,y);
101 // make bmp
102 SkBitmap bmp; local
103 bmp.setConfig(SkBitmap::kARGB_8888_Config, w, h);
104 bmp.allocPixels();
105 SkCanvas canvas(bmp);
109 // test bmp
110 test_bmp(reporter, truth, &bmp, w, h);
  /external/skia/gm/
bigmatrix.cpp 61 SkBitmap bmp; local
62 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
63 bmp.allocPixels();
64 bmp.lockPixels();
65 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels());
70 bmp.unlockPixels();
74 bmp,
modecolorfilters.cpp 40 SkBitmap bmp; local
41 bmp.setConfig(SkBitmap::kARGB_8888_Config, 2 * checkSize, 2 * checkSize);
42 bmp.allocPixels();
43 SkCanvas canvas(bmp);
53 return SkNEW_ARGS(SkBitmapProcShader, (bmp, SkShader::kRepeat_TileMode,
shadertext3.cpp 70 static SkBitmap bmp; local
71 if (bmp.isNull()) {
72 makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 4, kPointSize / 4);
79 canvas->drawBitmap(bmp, 5.f, 5.f, &bmpPaint);
104 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp,
xfermodes3.cpp 205 SkBitmap bmp; variable
206 bmp.setConfig(SkBitmap::kARGB_8888_Config, kSize, kSize);
207 bmp.allocPixels();
208 SkCanvas bmpCanvas(bmp);
215 fBmpShader.reset(SkShader::CreateBitmapShader(bmp,
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);
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);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 68 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0); local
71 new NinePatchDrawable(bmp, chunk, r, name);
73 new NinePatchDrawable(new NinePatch(bmp, chunk, name));
78 new NinePatchDrawable(bmp, chunk, r, name);
86 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888); local
87 Canvas c = new Canvas(bmp);
93 assertColorFillRect(bmp, 0, 0, 4, 4, Color.RED);
94 assertColorFillRect(bmp, 5, 0, 4, 4, Color.BLUE);
95 assertColorFillRect(bmp, 0, 5, 4, 4, ocean);
96 assertColorFillRect(bmp, 5, 5, 4, 4, Color.YELLOW)
199 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
210 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
221 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
232 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0); local
    [all...]
  /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();
  /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/chrome/browser/profiles/
gaia_info_update_service_unittest.cc 78 const SkBitmap* bmp = image.ToSkBitmap(); local
79 EXPECT_CALL(downloader, GetProfilePicture()).WillOnce(Return(*bmp));
profile_info_util.cc 24 SkBitmap bmp = skia::ImageOperations::Resize( local
31 canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), x, y);
53 SkBitmap bmp = skia::ImageOperations::Resize( local
61 canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), x, y);
75 SkBitmap bmp = skia::ImageOperations::Resize( local
85 canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), x1, y1);
  /cts/suite/pts/deviceTests/opengl/src/com/android/pts/opengl/reference/
GLGameActivity.java 156 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); local
170 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bmp, 0);
178 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);
  /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);
  /external/qemu/distrib/sdl-1.2.15/test/
testvidinfo.c 46 int RunBlitTests(SDL_Surface *screen, SDL_Surface *bmp, int blitcount)
53 maxx = (int)screen->w - bmp->w + 1;
54 maxy = (int)screen->h - bmp->h + 1;
67 dst.w = bmp->w;
68 dst.h = bmp->h;
69 SDL_BlitSurface(bmp, NULL, screen, &dst);
84 SDL_Surface *bmp, *bmpcc, *tmp; local
138 bmp = SDL_LoadBMP("sample.bmp");
139 if ( ! 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);
  /external/chromium_org/chrome/browser/ui/web_applications/
web_app_ui.cc 349 SkBitmap bmp = skia::ImageOperations::Resize( local
352 gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bmp);
  /external/chromium_org/chrome/browser/ui/webui/ntp/
ntp_login_handler.cc 60 SkBitmap bmp = skia::ImageOperations::Resize(*image.ToSkBitmap(), local
65 canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), 0, 0);
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
MultiTouchView.java 156 final Bitmap bmp = Bitmap.createBitmap(colors, 0, w, w, h, Bitmap.Config.ARGB_8888); local
161 mCanvas.drawBitmap(bmp, mDrawMatrix, mPaint);
177 final Bitmap bmp = BitmapFactory.decodeStream(jpeg); local
182 mCanvas.drawBitmap(bmp, mDrawMatrix, mPaint);
  /external/chromium_org/third_party/skia/src/core/
SkDevice.cpp 195 SkBitmap* bmp; local
202 bmp = &tmp;
204 bmp = bitmap;
210 bmp->extractSubset(&bmpSubset, subrect);
216 if (result && bmp == &tmp) {
  /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 1485 milliseconds

1 2