Home
last modified time | relevance | path

Searched refs:testBitmap (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/effect/src/android/effect/cts/
DEffectTest.java119 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/media/src/android/media/cts/
DMediaMetadataTest.java52 Bitmap testBitmap = Bitmap.createBitmap( in builder_setBitmapDimensionLimit_bitmapsAreScaledDown() local
58 .putBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART, testBitmap) in builder_setBitmapDimensionLimit_bitmapsAreScaledDown()
74 Bitmap testBitmap = Bitmap.createBitmap( in builder_setBitmapDimensionLimit_bitmapsAreNotScaledDown() local
81 .putBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART, testBitmap) in builder_setBitmapDimensionLimit_bitmapsAreNotScaledDown()
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java251 private void compressRects(Bitmap testBitmap, YuvImage image, in compressRects() argument
261 expected = Bitmap.createBitmap(testBitmap, expectedRect.left, expectedRect.top, in compressRects()
269 private void compressOddRect(Bitmap testBitmap, YuvImage image, in compressOddRect() argument
276 expected = Bitmap.createBitmap(testBitmap, newRect.left, newRect.top, in compressOddRect()
/cts/tests/tests/widget/src/android/widget/cts/
DSimpleAdapterTest.java371 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetViewImage() local
373 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
DSimpleCursorAdapterTest.java248 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetViewImage() local
250 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java1645 final boolean testBitmap = false; in explicitlySaveButtonTest()
1672 final Bitmap screenshotBefore = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest()
1683 final Bitmap screenshotAfter = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest()
1690 if (testBitmap) { in explicitlySaveButtonTest()