HomeSort by relevance Sort by last modified time
    Searched defs:bm (Results 51 - 75 of 176) sorted by null

1 23 4 5 6 7 8

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Patterns.java 34 Bitmap bm = Bitmap.createBitmap(40, 40, Bitmap.Config.RGB_565); local
35 Canvas c = new Canvas(bm);
40 return bm;
44 Bitmap bm = Bitmap.createBitmap(64, 64, Bitmap.Config.ARGB_8888); local
45 Canvas c = new Canvas(bm);
50 return bm;
ShapeDrawable1.java 52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, local
55 return new BitmapShader(bm, Shader.TileMode.REPEAT,
Vertices.java 52 Bitmap bm = BitmapFactory.decodeResource(getResources(), local
54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP,
58 float w = bm.getWidth();
59 float h = bm.getHeight();
Xfermodes.java 38 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); local
39 Canvas c = new Canvas(bm);
44 return bm;
49 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); local
50 Canvas c = new Canvas(bm);
55 return bm;
106 Bitmap bm = Bitmap.createBitmap(new int[] { 0xFFFFFFFF, 0xFFCCCCCC, local
109 mBG = new BitmapShader(bm,
BitmapDecode.java 72 Bitmap bm; local
75 bm = BitmapFactory.decodeStream(is, null, opts);
78 // bitmap, even though bm is null
80 opts.inJustDecodeBounds = false; // this will request the bm
82 bm = BitmapFactory.decodeStream(is, null, opts);
84 mBitmap = bm;
  /external/chromium_org/sync/syncable/
parent_child_index_unittest.cc 78 EntryKernel* bm = new EntryKernel(); local
79 bm->put(META_HANDLE, n);
80 bm->put(BASE_VERSION, 10);
81 bm->put(SERVER_VERSION, 10);
82 bm->put(IS_DIR, is_dir);
83 bm->put(ID, GetBookmarkId(n));
84 bm->put(PARENT_ID, GetBookmarkRootId());
85 bm->put(SERVER_PARENT_ID, GetBookmarkRootId());
87 bm->put(UNIQUE_BOOKMARK_TAG,
89 bm->ref(ID).GetServerId()))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_rgb9e5.h 105 int rm, gm, bm; local
132 bm = (int) floor(bc / denom + 0.5);
136 assert(bm <= MAX_RGB9E5_MANTISSA);
139 assert(bm >= 0);
143 retval.field.b = bm;
  /external/chromium_org/third_party/skia/src/core/
SkPicture.cpp 206 SkBitmap bm; local
207 bm.setConfig(SkBitmap::kNo_Config, width, height);
208 SkAutoTUnref<SkDevice> dev(SkNEW_ARGS(SkDevice, (bm)));
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_rgb9e5.h 105 int rm, gm, bm; local
132 bm = (int) floor(bc / denom + 0.5);
136 assert(bm <= MAX_RGB9E5_MANTISSA);
139 assert(bm >= 0);
143 retval.field.b = bm;
  /external/skia/gm/
aarectmodes.cpp 110 SkBitmap bm; local
111 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
112 bm.allocPixels();
113 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF;
114 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC,
117 SkShader* s = SkShader::CreateBitmapShader(bm,
arithmode.cpp 19 SkBitmap bm; local
20 bm.setConfig(SkBitmap::kARGB_8888_Config, WW, HH);
21 bm.allocPixels();
22 bm.eraseColor(SK_ColorTRANSPARENT);
23 return bm;
27 SkBitmap bm = make_bm(); local
28 SkCanvas canvas(bm);
39 return bm;
43 SkBitmap bm = make_bm(); local
44 SkCanvas canvas(bm);
    [all...]
colormatrix.cpp 65 SkBitmap bm; local
66 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height);
67 bm.allocPixels();
68 SkCanvas canvas(bm);
78 return bm;
83 SkBitmap bm; local
84 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height);
85 bm.allocPixels();
86 SkCanvas canvas(bm);
95 return bm;
    [all...]
drawbitmaprect.cpp 20 SkBitmap bm; local
21 bm.setConfig(SkBitmap::kARGB_8888_Config , w, h);
22 bm.allocPixels();
24 for (int y = 0; y < bm.height(); y++) {
25 uint32_t* p = bm.getAddr32(0, y);
26 for (int x = 0; x < bm.width(); x++) {
30 bm.unlockPixels();
31 return bm;
34 static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) {
35 bm->setConfig(config, w, h)
165 SkBitmap bm; local
    [all...]
simpleaaclip.cpp 18 SkBitmap bm; local
24 bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(),
26 bm.setPixels(mask.fImage);
31 bm.deepCopyTo(&bm2, SkBitmap::kA8_Config);
tablecolorfilter.cpp 13 static void make_bm0(SkBitmap* bm) {
16 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H);
17 bm->allocPixels();
18 bm->eraseColor(SK_ColorTRANSPARENT);
20 SkCanvas canvas(*bm);
32 static void make_bm1(SkBitmap* bm) {
35 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H);
36 bm->allocPixels();
37 bm->eraseColor(SK_ColorTRANSPARENT);
39 SkCanvas canvas(*bm);
113 SkBitmap bm; local
    [all...]
  /external/skia/src/core/
SkPicture.cpp 206 SkBitmap bm; local
207 bm.setConfig(SkBitmap::kNo_Config, width, height);
208 SkAutoTUnref<SkDevice> dev(SkNEW_ARGS(SkDevice, (bm)));
  /external/skia/tests/
BitmapFactoryTest.cpp 26 SkBitmap* bm = SkNEW(SkBitmap); local
29 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H);
30 bm->allocPixels();
31 bm->eraseColor(SK_ColorBLACK);
32 SkCanvas canvas(*bm);
36 return bm;
39 static SkData* create_data_from_bitmap(const SkBitmap& bm) {
41 if (SkImageEncoder::EncodeStream(&stream, bm, SkImageEncoder::kPNG_Type, 100)) {
EmptyPathTest.cpp 27 SkBitmap bm; local
29 bm.setConfig(SkBitmap::kARGB_8888_Config, DIMENSION, DIMENSION, DIMENSION*4);
30 bm.allocPixels();
31 bm.eraseColor(SK_ColorTRANSPARENT);
33 SkCanvas canvas(bm);
40 const SkPMColor* ptr = bm.getAddr32(0, 0);
ImageDecodingTest.cpp 198 SkBitmap bm; local
200 bm.setConfig(SkBitmap::kARGB_8888_Config, size, size);
201 bm.allocPixels();
202 SkCanvas canvas(bm);
215 SkAutoTUnref<SkData> data(SkImageEncoder::EncodeData(bm, type, 100));
253 SkBitmap bm; local
254 decoder->decodeSubset(&bm, SkIRect::MakeWH(width, height),
  /external/valgrind/main/drd/tests/
unit_bitmap.c 131 struct bitmap* bm; local
135 bm = DRD_(bm_new)();
139 DRD_(bm_access_range)(bm,
151 tl_assert(DRD_(bm_has_1)(bm,
158 DRD_(bm_merge2)(bm2, bm);
159 DRD_(bm_merge2)(bm2, bm);
160 assert(bm_equal_print_diffs(bm2, bm));
163 VG_(printf)("Deleting bitmap bm\n");
164 DRD_(bm_delete)(bm);
346 fprintf(stderr, "Start of DRD BM unit test.\n")
    [all...]
  /external/robolectric/lib/main/
commons-codec-1.6.jar 
  /build/tools/droiddoc/templates-pdk/assets/
jquery-1.6.2.min.js 16 (function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bZ(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bY(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bC.test(a)?d(a,e):bY(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)bY(a+"["+e+"]",b[e],c,d);else d(a,b)}function bX(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bR,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bX(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bX(a,c,d,e,"*",g));return l}function bW(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bN),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bA(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bv:bw;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.i (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
BitmapImage.cpp 300 RefPtr<NativeImageSkia> bm = nativeImageForCurrentFrame(); local
301 if (!bm)
306 normSrcRect.intersect(FloatRect(0, 0, bm->bitmap().width(), bm->bitmap().height()));
332 bm->draw(ctxt, normSrcRect, normDstRect, WebCoreCompositeToSkiaComposite(compositeOp, blendMode));
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 222 GLubyte *bm; local
244 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte));
245 if (!bm) {
342 memset(bm, '\0', bm_width * bm_height);
343 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm);
345 glBitmap(width, height, x0, y0, dx, dy, bm);
350 dump_bitmap(bm_width, bm_height, bm);
360 FREE(bm);
  /external/chromium_org/third_party/mesa/src/src/glx/
xfont.c 229 GLubyte *bm; local
248 bm = (GLubyte *) Xmalloc((max_bm_width * max_bm_height) * sizeof(GLubyte));
249 if (!bm) {
344 memset(bm, '\0', bm_width * bm_height);
345 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm);
347 glBitmap(width, height, x0, y0, dx, dy, bm);
352 dump_bitmap(bm_width, bm_height, bm);
362 Xfree(bm);

Completed in 1978 milliseconds

1 23 4 5 6 7 8