Searched refs:scaledBitmap (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBitmap.java | 40 Bitmap scaledBitmap = Robolectric.newInstanceOf(Bitmap.class); in createBitmap() local 41 ShadowBitmap shadowBitmap = shadowOf(scaledBitmap); in createBitmap() 46 return scaledBitmap; in createBitmap() 58 Bitmap scaledBitmap = Robolectric.newInstanceOf(Bitmap.class); in createScaledBitmap() local 59 ShadowBitmap shadowBitmap = shadowOf(scaledBitmap); in createScaledBitmap() 67 return scaledBitmap; in createScaledBitmap()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | DeferredImageDecoderTest.cpp | 183 SkBitmap scaledBitmap = image->resizedBitmap(SkISize::Make(50, 51), SkIRect::MakeWH(50, 51)); in TEST_F() local 184 EXPECT_FALSE(scaledBitmap.isNull()); in TEST_F() 185 EXPECT_TRUE(scaledBitmap.isImmutable()); in TEST_F() 186 EXPECT_EQ(50, scaledBitmap.width()); in TEST_F() 187 EXPECT_EQ(51, scaledBitmap.height()); in TEST_F() 191 tempCanvas->drawBitmap(scaledBitmap, 0, 0); in TEST_F()
|
D | ImageFrameGenerator.cpp | 164 …SkBitmap scaledBitmap = skia::ImageOperations::Resize(fullSizeImage->bitmap(), resizeMethod(), sca… in tryToScale() local 168 …caledImage = ScaledImageFragment::createComplete(scaledSize, fullSizeImage->index(), scaledBitmap); in tryToScale() 170 …ImageFragment::createPartial(scaledSize, fullSizeImage->index(), nextGenerationId(), scaledBitmap); in tryToScale()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapTest.java | 26 Bitmap scaledBitmap = Bitmap.createScaledBitmap(originalBitmap, 100, 200, false); in shouldCreateScaledBitmap() local 27 … assertEquals("Original bitmap scaled to 100 x 200", shadowOf(scaledBitmap).getDescription()); in shouldCreateScaledBitmap() 28 assertEquals(100, scaledBitmap.getWidth()); in shouldCreateScaledBitmap() 29 assertEquals(200, scaledBitmap.getHeight()); in shouldCreateScaledBitmap()
|