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

1 2 3

  /cts/tests/tests/text/src/android/text/cts/
BoringLayout_MetricsTest.java 42 BoringLayout.Metrics bm = new BoringLayout.Metrics(); local
43 assertNotNull(bm.toString());
  /frameworks/base/native/graphics/jni/
bitmap.cpp 26 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap); local
27 if (NULL == bm) {
32 info->width = bm->width();
33 info->height = bm->height();
34 info->stride = bm->rowBytes();
37 switch (bm->config()) {
63 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap); local
64 if (NULL == bm) {
68 bm->lockPixels();
69 void* addr = bm->getPixels()
86 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap); local
    [all...]
  /external/skia/bench/
DecodeBench.cpp 37 SkBitmap bm; local
38 SkImageDecoder::DecodeFile(fFilename, &bm, fPrefConfig,
RepeatTileBench.cpp 13 static void drawIntoBitmap(const SkBitmap& bm) {
14 const int w = bm.width();
15 const int h = bm.height();
17 SkCanvas canvas(bm);
87 SkBitmap bm; local
90 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h);
92 bm.setConfig(c, w, h);
94 bm.allocPixels();
95 bm.eraseColor(0);
97 drawIntoBitmap(bm);
    [all...]
  /external/skia/src/views/
SkProgressView.cpp 103 SkBitmap bm; local
105 return SkImageDecoder::DecodeFile(file, &bm) ?
106 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) :
SkWindow.cpp 14 test_bounder(const SkBitmap& bm) : fCanvas(bm) {}
124 SkBitmap bm = this->getBitmap(); local
134 bm.setPixels(buffer);
137 SkCanvas canvas(bm);
148 test_bounder b(bm);
  /frameworks/base/core/jni/
android_view_ViewRoot.cpp 42 const SkBitmap& bm = canvas->getDevice()->accessBitmap(false); local
43 int height = bm.height();
Time.cpp 59 int64_t bm = b.toMillis(false /* use isDst */); local
60 int64_t diff = am-bm;
  /external/openssl/crypto/bio/
bss_mem.c 148 BUF_MEM *bm; local
150 bm=(BUF_MEM *)b->ptr;
152 ret=(outl >=0 && (size_t)outl > bm->length)?(int)bm->length:outl;
154 memcpy(out,bm->data,ret);
155 bm->length-=ret;
156 if(b->flags & BIO_FLAGS_MEM_RDONLY) bm->data += ret;
158 memmove(&(bm->data[0]),&(bm->data[ret]),bm->length)
173 BUF_MEM *bm; local
202 BUF_MEM *bm=(BUF_MEM *)b->ptr; local
279 BUF_MEM *bm=(BUF_MEM *)bp->ptr; local
    [all...]
  /development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java 51 IBackupManager bm = IBackupManager.Stub.asInterface( local
53 if (bm != null) {
55 bm.setBackupProvisioned(true);
  /development/ide/xcode/ports/
SkBitmap_Mac.cpp 13 static void convertGL32_to_Mac32(uint32_t dst[], const SkBitmap& bm) {
14 memcpy(dst, bm.getPixels(), bm.getSize());
17 uint32_t* stop = dst + (bm.getSize() >> 2);
18 const uint8_t* src = (const uint8_t*)bm.getPixels();
25 static void convert565_to_32(uint32_t dst[], const SkBitmap& bm) {
26 for (int y = 0; y < bm.height(); y++) {
27 const uint16_t* src = bm.getAddr16(0, y);
28 const uint16_t* stop = src + bm.width();
67 static CGImageRef bitmap2imageref(const SkBitmap& bm) {
118 SkBitmap bm; local
    [all...]
  /external/iptables/extensions/
libipt_NETMAP.c 35 u_int32_t netmask, bm; local
39 for (netmask = 0, bm = 0x80000000; bits; bits--, bm >>= 1)
40 netmask |= bm;
47 u_int32_t bm; local
51 for (bits = 0, bm = 0x80000000; netmask & bm; netmask <<= 1)
  /external/skia/src/core/
SkPicture.cpp 166 SkBitmap bm; local
167 bm.setConfig(SkBitmap::kNo_Config, width, height);
168 fRecord->setBitmapDevice(bm);
  /external/skia/src/utils/mac/
SkBitmap_Mac.cpp 13 static void convertGL32_to_Mac32(uint32_t dst[], const SkBitmap& bm) {
14 memcpy(dst, bm.getPixels(), bm.getSize());
17 uint32_t* stop = dst + (bm.getSize() >> 2);
18 const uint8_t* src = (const uint8_t*)bm.getPixels();
25 static void convert565_to_32(uint32_t dst[], const SkBitmap& bm) {
26 for (int y = 0; y < bm.height(); y++) {
27 const uint16_t* src = bm.getAddr16(0, y);
28 const uint16_t* stop = src + bm.width();
67 static CGImageRef bitmap2imageref(const SkBitmap& bm) {
118 SkBitmap bm; local
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 84 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, local
88 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
90 int p = bm.getPixel(i % 10, i / 10);
95 int p = bm.getPixel(i % 10, i / 10);
110 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565); local
113 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
115 int p = bm.getPixel(i % 10, i / 10);
  /packages/apps/Browser/src/com/android/browser/
MeshTracker.java 74 public void setBitmap(Bitmap bm) {
75 mPatch.setTexture(bm);
76 setSize(bm.getWidth(), bm.getHeight());
173 @Override public void onBitmapChange(Bitmap bm) {
174 mBitmap = bm;
175 mMesh.setBitmap(bm);
Bookmarks.java 200 private static byte[] bitmapToBytes(Bitmap bm) {
201 if (bm == null) {
206 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
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;
Patterns.java 36 Bitmap bm = Bitmap.createBitmap(40, 40, Bitmap.Config.RGB_565); local
37 Canvas c = new Canvas(bm);
42 return bm;
46 Bitmap bm = Bitmap.createBitmap(64, 64, Bitmap.Config.ARGB_8888); local
47 Canvas c = new Canvas(bm);
52 return bm;
ShapeDrawable1.java 56 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, local
59 return new BitmapShader(bm, Shader.TileMode.REPEAT,
Vertices.java 59 Bitmap bm = BitmapFactory.decodeResource(getResources(), local
61 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP,
65 float w = bm.getWidth();
66 float h = bm.getHeight();
Xfermodes.java 39 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); local
40 Canvas c = new Canvas(bm);
45 return bm;
50 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); local
51 Canvas c = new Canvas(bm);
56 return bm;
107 Bitmap bm = Bitmap.createBitmap(new int[] { 0xFFFFFFFF, 0xFFCCCCCC, local
110 mBG = new BitmapShader(bm,
  /external/skia/gm/
gmmain.cpp 80 const SkBitmap* bm = &target; local
83 bm = &copy;
86 force_all_opaque(*bm);
88 const int w = bm->width();
89 const int h = bm->height();
96 SkAutoLockPixels bmLock(*bm);
102 SkPMColor c1 = *bm->getAddr32(x, y);
  /external/webkit/WebCore/platform/graphics/android/
ImageAndroid.cpp 124 const SkBitmap& bm = ref->bitmap(); local
125 if (bm.width() != 1 || bm.height() != 1) {
129 SkAutoLockPixels alp(bm);
130 if (!bm.readyToDraw()) {
135 switch (bm.getConfig()) {
137 color = *bm.getAddr32(0, 0);
140 color = SkPixel16ToPixel32(*bm.getAddr16(0, 0));
143 SkColorTable* ctable = bm.getColorTable();
147 color = (*ctable)[*bm.getAddr8(0, 0)]
359 SkBitmap bm; local
    [all...]
  /external/webkit/WebKit/android/plugins/
ANPCanvasInterface.cpp 31 SkBitmap bm; local
32 return new ANPCanvas(*SkANP::SetBitmap(&bm, *bitmap));
146 SkBitmap bm; local
147 canvas->skcanvas->drawBitmap(*SkANP::SetBitmap(&bm, *bitmap),
155 SkBitmap bm; local
162 canvas->skcanvas->drawBitmapRect(*SkANP::SetBitmap(&bm, *bitmap), srcPtr,

Completed in 591 milliseconds

1 2 3