Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java141 Bitmap bitmap2; in takeScreenshot() local
144 bitmap2 = bitmap1; in takeScreenshot()
148 !Arrays.equals(getBitmapPixels(bitmap2), getBitmapPixels(bitmap1))); in takeScreenshot()
174 protected void assertBitmapsAreSimilar(Bitmap bitmap1, Bitmap bitmap2, in assertBitmapsAreSimilar() argument
181 Allocation givenAllocation = Allocation.createFromBitmap(mRenderScript, bitmap2, in assertBitmapsAreSimilar()
187 bitmap2.getPixels(mHardwareArray, 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.java1093 Bitmap bitmap2 = view.getDrawingCache(); in testGetDrawingCache() local
1094 assertNotSame(bitmap1, bitmap2); in testGetDrawingCache()