Searched refs:testBitmap (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/effect/src/android/effect/cts/ |
D | EffectTest.java | 119 Bitmap testBitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888); in createTestBitmap() local 120 testBitmap.setPixel(0, 0, 0xFF000000); in createTestBitmap() 121 testBitmap.setPixel(0, 1, 0xFF0000FF); in createTestBitmap() 122 testBitmap.setPixel(1, 0, 0xFF00FF00); in createTestBitmap() 123 testBitmap.setPixel(1, 1, 0xFFFF0000); in createTestBitmap() 124 return testBitmap; in createTestBitmap()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | YuvImageTest.java | 250 private void compressRects(Bitmap testBitmap, YuvImage image, in compressRects() argument 260 expected = Bitmap.createBitmap(testBitmap, expectedRect.left, expectedRect.top, in compressRects() 268 private void compressOddRect(Bitmap testBitmap, YuvImage image, in compressOddRect() argument 275 expected = Bitmap.createBitmap(testBitmap, newRect.left, newRect.top, in compressOddRect()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SimpleAdapterTest.java | 371 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetViewImage() local 373 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
|
D | SimpleCursorAdapterTest.java | 248 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetViewImage() local 250 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | SimpleSaveActivityTest.java | 1378 final boolean testBitmap = false; in explicitlySaveButtonTest() 1405 final Bitmap screenshotBefore = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest() 1416 final Bitmap screenshotAfter = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest() 1423 if (testBitmap) { in explicitlySaveButtonTest()
|