Home
last modified time | relevance | path

Searched refs:bm0 (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp1034 SkBitmap bm0; in Bitmap_sameAs() local
1047 bitmap0->bitmap().getSkBitmap(&bm0); in Bitmap_sameAs()
1049 if (bm0.width() != bm1.width() in Bitmap_sameAs()
1050 || bm0.height() != bm1.height() in Bitmap_sameAs()
1051 || bm0.colorType() != bm1.colorType() in Bitmap_sameAs()
1052 || bm0.alphaType() != bm1.alphaType() in Bitmap_sameAs()
1053 || !SkColorSpace::Equals(bm0.colorSpace(), bm1.colorSpace())) { in Bitmap_sameAs()
1058 if (NULL == bm0.getPixels() || NULL == bm1.getPixels()) { in Bitmap_sameAs()
1065 const int h = bm0.height(); in Bitmap_sameAs()
1066 const size_t size = bm0.width() * bm0.bytesPerPixel(); in Bitmap_sameAs()
[all …]