Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaMetadataRetrieverTest.java33 private final Bitmap bitmap2 = Bitmap.createBitmap(11, 11, Bitmap.Config.ARGB_8888); field in ShadowMediaMetadataRetrieverTest
51 addFrame(path2, 1, bitmap2); in getFrameAtTime_shouldDependOnDataSource()
55 assertThat(retriever.getFrameAtTime(1)).isNotEqualTo(bitmap2); in getFrameAtTime_shouldDependOnDataSource()
56 assertThat(retriever2.getFrameAtTime(1)).isEqualTo(bitmap2); in getFrameAtTime_shouldDependOnDataSource()
63 addFrame(fd, 0, 0, 1, bitmap2); in setDataSource_usersSameDataSourceForFileDescriptors()
65 assertThat(retriever.getFrameAtTime(1)).isEqualTo(bitmap2); in setDataSource_usersSameDataSourceForFileDescriptors()
71 addFrame(fd, 1, 0, 1, bitmap2); in setDataSource_fdsWithDifferentOffsetsAreDifferentDataSources()
75 assertThat(retriever.getFrameAtTime(1)).isNotEqualTo(bitmap2); in setDataSource_fdsWithDifferentOffsetsAreDifferentDataSources()
76 assertThat(retriever2.getFrameAtTime(1)).isEqualTo(bitmap2); in setDataSource_fdsWithDifferentOffsetsAreDifferentDataSources()
85 addFrame(context, uri, 13, bitmap2); in getFrameAtTime_shouldDependOnTime()
[all …]
DShadowBitmapTest.java153 Bitmap bitmap2 = create("Bitmap Two"); in shouldReceiveDescriptionWhenDrawingToCanvas() local
156 canvas.drawBitmap(bitmap2, 0, 0, null); in shouldReceiveDescriptionWhenDrawingToCanvas()
164 Bitmap bitmap2 = create("Bitmap Two"); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint() local
167 canvas.drawBitmap(bitmap2, new Matrix(), null); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint()
176 Bitmap bitmap2 = create("Bitmap Two"); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect() local
181 canvas.drawBitmap(bitmap2, new Matrix(), paint); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect()
/external/skia/docs/examples/
DBitmap_refColorSpace.cpp7 SkBitmap bitmap1, bitmap2; in draw() local
10 bitmap2.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
12 SkColorSpace* colorSpace = bitmap2.colorSpace(); in draw()
/external/pdfium/fpdfsdk/
Dfpdf_formfill_embeddertest.cpp927 ScopedFPDFBitmap bitmap2 = RenderLoadedPage(page); in TEST_F() local
928 CompareBitmap(bitmap2.get(), 300, 300, md5_2); in TEST_F()
1005 ScopedFPDFBitmap bitmap2 = RenderLoadedPage(page); in TEST_F() local
1006 CompareBitmap(bitmap2.get(), 300, 300, kMd5NoHighlight); in TEST_F()
/external/skqp/docs/
DSkBitmap_Reference.bmh517 SkBitmap bitmap1, bitmap2;
520 bitmap2.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType,
522 SkColorSpace* colorSpace = bitmap2.colorSpace();