Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java140 Bitmap bitmap1 = takeScreenshotImpl(testOffset); in takeScreenshot() local
144 bitmap2 = bitmap1; in takeScreenshot()
145 bitmap1 = takeScreenshotImpl(testOffset); in takeScreenshot()
148 !Arrays.equals(getBitmapPixels(bitmap2), getBitmapPixels(bitmap1))); in takeScreenshot()
149 return bitmap1; in takeScreenshot()
174 protected void assertBitmapsAreSimilar(Bitmap bitmap1, Bitmap bitmap2, in assertBitmapsAreSimilar() argument
179 Allocation idealAllocation = Allocation.createFromBitmap(mRenderScript, bitmap1, in assertBitmapsAreSimilar()
186 bitmap1.getPixels(mSoftwareArray, 0, TEST_WIDTH, 0, 0, TEST_WIDTH, TEST_HEIGHT); in assertBitmapsAreSimilar()
193 BitmapDumper.dumpBitmaps(bitmap1, bitmap2, getName(), this.getClass().getSimpleName(), in assertBitmapsAreSimilar()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1083 Bitmap bitmap1 = view.getDrawingCache(); in testGetDrawingCache() local
1084 assertNotNull(bitmap1); in testGetDrawingCache()
1085 assertEquals(view.getWidth(), bitmap1.getWidth()); in testGetDrawingCache()
1086 assertEquals(view.getHeight(), bitmap1.getHeight()); in testGetDrawingCache()
1094 assertNotSame(bitmap1, bitmap2); in testGetDrawingCache()