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

1 2 3 4 5 6 7 8 91011>>

  /external/skia/tests/
ImageFrom565Bitmap.cpp 14 SkBitmap bm; local
15 bm.allocPixels(SkImageInfo::Make(
17 bm.eraseColor(SK_ColorBLACK);
18 REPORTER_ASSERT(r, SkImage::MakeFromBitmap(bm) != nullptr);
BadIcoTest.cpp 43 SkBitmap bm; local
44 bm.allocPixels(codec->getInfo());
45 codec->getPixels(codec->getInfo(), bm.getPixels(),
46 bm.rowBytes());
CodecRecommendedTypeTest.cpp 26 SkBitmap bm; local
27 bm.allocPixels(SkImageInfo::Make(10, 10, kRGBA_F16_SkColorType,
30 bm.eraseColor(SK_ColorBLUE);
33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100));
EncodedInfoTest.cpp 23 SkBitmap bm; local
24 bm.allocPixels(codec->getInfo().makeColorType(kAlpha_8_SkColorType).makeColorSpace(nullptr));
25 auto result = codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes());
28 auto data = SkEncodeBitmap(bm, SkEncodedImageFormat::kPNG, 100);
41 REPORTER_ASSERT(r, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap()));
FlattenableFactoryToName.cpp 36 SkBitmap bm; local
37 bm.allocN32Pixels(8, 8);
38 bm.eraseColor(SK_ColorCYAN);
39 sk_sp<SkImage> image(SkImage::MakeFromBitmap(bm));
image-bitmap.cpp 18 SkBitmap bm, a, b; local
19 bm.allocN32Pixels(32, 64);
20 bm.eraseColor(SK_ColorBLACK);
21 bm.setImmutable();
22 (void)bm.extractSubset(&a, SkIRect::MakeXYWH(0, 0, 32, 32));
23 (void)bm.extractSubset(&b, SkIRect::MakeXYWH(0, 32, 32, 32));
25 auto img = SkImage::MakeFromBitmap(bm);
28 REPORTER_ASSERT(r, img->uniqueID() == bm.getGenerationID());
  /external/skqp/tests/
ImageFrom565Bitmap.cpp 14 SkBitmap bm; local
15 bm.allocPixels(SkImageInfo::Make(
17 bm.eraseColor(SK_ColorBLACK);
18 REPORTER_ASSERT(r, SkImage::MakeFromBitmap(bm) != nullptr);
BadIcoTest.cpp 43 SkBitmap bm; local
44 bm.allocPixels(codec->getInfo());
45 codec->getPixels(codec->getInfo(), bm.getPixels(),
46 bm.rowBytes());
CodecRecommendedTypeTest.cpp 26 SkBitmap bm; local
27 bm.allocPixels(SkImageInfo::Make(10, 10, kRGBA_F16_SkColorType,
30 bm.eraseColor(SK_ColorBLUE);
33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100));
  /external/testng/src/test/java/test/tmp/
Base.java 7 public void bm() { method in class:Base
  /cts/tests/tests/text/src/android/text/cts/
BoringLayout_MetricsTest.java 34 BoringLayout.Metrics bm = new BoringLayout.Metrics(); local
35 assertNotNull(bm.toString());
  /external/skia/gm/
unpremul.cpp 15 SkBitmap bm;
16 bm.allocPixels(SkImageInfo::Make(1,1,
20 if (!canvas->readPixels(bm, x,y)) {
27 memcpy(&pixel, bm.getAddr(0,0), sizeof(pixel));
60 SkBitmap bm; local
61 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
62 bm.eraseColor(color);
64 canvas->drawBitmap(bm, 0,0, &paint);
alpha_image.cpp 16 SkBitmap bm; local
17 bm.allocPixels(SkImageInfo::MakeA8(w, h));
18 bm.eraseARGB(10, 0, 0 , 0);
19 for (int y = 0; y < bm.height(); ++y) {
20 for (int x = y; x < bm.width(); ++x) {
21 *bm.getAddr8(x, y) = 0xFF;
24 bm.setImmutable();
25 return bm;
bitmaprecttest.cpp 12 static void make_bm(SkBitmap* bm) {
13 bm->allocN32Pixels(60, 60);
14 bm->eraseColor(0);
16 SkCanvas canvas(*bm);
38 SkBitmap bm; local
39 make_bm(&bm);
41 canvas->drawBitmap(bm, 150, 45, nullptr);
46 canvas->drawBitmapRect(bm, SkRect::MakeXYWH(100, 100, 128, 128), nullptr);
50 canvas->drawBitmap(bm, -310, 45, nullptr);
emboss.cpp 17 SkBitmap bm; local
18 bm.allocN32Pixels(100, 100);
20 SkCanvas canvas(bm);
25 return bm;
44 SkBitmap bm = make_bm(); variable
45 canvas->drawBitmap(bm, 10, 10, &paint);
46 canvas->translate(bm.width() + SkIntToScalar(10), 0);
51 canvas->drawBitmap(bm, 10, 10, &paint);
52 canvas->translate(bm.width() + SkIntToScalar(10), 0);
57 canvas->drawBitmap(bm, 10, 10, &paint)
    [all...]
  /external/skqp/gm/
unpremul.cpp 15 SkBitmap bm;
16 bm.allocPixels(SkImageInfo::Make(1,1,
20 if (!canvas->readPixels(bm, x,y)) {
27 memcpy(&pixel, bm.getAddr(0,0), sizeof(pixel));
60 SkBitmap bm; local
61 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
62 bm.eraseColor(color);
64 canvas->drawBitmap(bm, 0,0, &paint);
alpha_image.cpp 16 SkBitmap bm; local
17 bm.allocPixels(SkImageInfo::MakeA8(w, h));
18 bm.eraseARGB(10, 0, 0 , 0);
19 for (int y = 0; y < bm.height(); ++y) {
20 for (int x = y; x < bm.width(); ++x) {
21 *bm.getAddr8(x, y) = 0xFF;
24 bm.setImmutable();
25 return bm;
bitmaprecttest.cpp 12 static void make_bm(SkBitmap* bm) {
13 bm->allocN32Pixels(60, 60);
14 bm->eraseColor(0);
16 SkCanvas canvas(*bm);
38 SkBitmap bm; local
39 make_bm(&bm);
41 canvas->drawBitmap(bm, 150, 45, nullptr);
46 canvas->drawBitmapRect(bm, SkRect::MakeXYWH(100, 100, 128, 128), nullptr);
50 canvas->drawBitmap(bm, -310, 45, nullptr);
emboss.cpp 17 SkBitmap bm; local
18 bm.allocN32Pixels(100, 100);
20 SkCanvas canvas(bm);
25 return bm;
44 SkBitmap bm = make_bm(); variable
45 canvas->drawBitmap(bm, 10, 10, &paint);
46 canvas->translate(bm.width() + SkIntToScalar(10), 0);
51 canvas->drawBitmap(bm, 10, 10, &paint);
52 canvas->translate(bm.width() + SkIntToScalar(10), 0);
57 canvas->drawBitmap(bm, 10, 10, &paint)
    [all...]
  /external/u-boot/arch/mips/lib/
ashldi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
16 w.s.high = (unsigned int) uu.s.low << -bm;
18 const unsigned int carries = (unsigned int) uu.s.low >> bm;
ashrdi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
18 w.s.low = uu.s.high >> -bm;
20 const unsigned int carries = (unsigned int) uu.s.high << bm;
lshrdi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
16 w.s.low = (unsigned int) uu.s.high >> -bm;
18 const unsigned int carries = (unsigned int) uu.s.high << bm;
  /external/u-boot/arch/sh/lib/
ashldi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
16 w.s.high = (unsigned int) uu.s.low << -bm;
18 const unsigned int carries = (unsigned int) uu.s.low >> bm;
ashrdi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
18 w.s.low = uu.s.high >> -bm;
20 const unsigned int carries = (unsigned int) uu.s.high << bm;
lshrdi3.c 6 word_type bm; local
12 bm = 32 - b;
14 if (bm <= 0) {
16 w.s.low = (unsigned int) uu.s.high >> -bm;
18 const unsigned int carries = (unsigned int) uu.s.high << bm;

Completed in 7940 milliseconds

1 2 3 4 5 6 7 8 91011>>