Searched refs:goldenBitmap (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | GoldenImageVerifier.java | 30 public GoldenImageVerifier(Bitmap goldenBitmap, BitmapComparer bitmapComparer) { in GoldenImageVerifier() argument 31 mWidth = goldenBitmap.getWidth(); in GoldenImageVerifier() 32 mHeight = goldenBitmap.getHeight(); in GoldenImageVerifier() 34 goldenBitmap.getPixels(mGoldenBitmapArray, 0, mWidth, 0, 0, mWidth, mHeight); in GoldenImageVerifier()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | AutofillHighlightTests.java | 41 Bitmap goldenBitmap = Bitmap.createBitmap(ActivityTestBase.TEST_WIDTH, in testHighlightedFrameLayout() local 43 goldenBitmap.eraseColor(Color.WHITE); in testHighlightedFrameLayout() 44 Canvas canvas = new Canvas(goldenBitmap); in testHighlightedFrameLayout() 60 .runWithVerifier(new GoldenImageVerifier(goldenBitmap, new MSSIMComparer(0.99))); in testHighlightedFrameLayout()
|
D | FontRenderingTests.java | 49 Bitmap goldenBitmap = BitmapFactory.decodeResource(getActivity().getResources(), id); in fontTestBody() local 68 .runWithVerifier(new GoldenImageVerifier(goldenBitmap, comparer)); in fontTestBody()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | DrawingUtils.java | 53 final Bitmap goldenBitmap = Bitmap.createBitmap(viewWidth, viewHeight, in assertAllPixelsOfColor() local 56 final Canvas goldenCanvas = new Canvas(goldenBitmap); in assertAllPixelsOfColor() 75 goldenBitmap.getPixels(rowGoldenPixels, 0, viewWidth, 0, row, viewWidth, 1); in assertAllPixelsOfColor() 97 goldenBitmap.recycle(); in assertAllPixelsOfColor()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 519 Bitmap goldenBitmap = mBitmapFactory.decodeFile(goldenPath); in getThumbnail() local 522 goldenHeight = goldenBitmap.getHeight(); in getThumbnail() 523 goldenWidth = goldenBitmap.getWidth(); in getThumbnail() 532 if (goldenBitmap.getPixel(x, j) != outThumbnail.getPixel(x, j)) { in getThumbnail() 533 Log.v(TAG, "pixel = " + goldenBitmap.getPixel(x, j)); in getThumbnail()
|