Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java164 Color bitmapResult = transformViaBitmap(Color.pack(Color.WHITE), bt2020_hlg); in testHlgWhitePoint() local
165 Assert.assertEquals(.75f, bitmapResult.red(), 0.001f); in testHlgWhitePoint()
166 Assert.assertEquals(.75f, bitmapResult.green(), 0.001f); in testHlgWhitePoint()
167 Assert.assertEquals(.75f, bitmapResult.blue(), 0.001f); in testHlgWhitePoint()
180 Color bitmapResult = transformViaBitmap(Color.pack(Color.WHITE), bt2020_pq); in testPqWhitePoint() local
181 Assert.assertEquals(.58f, bitmapResult.red(), 0.001f); in testPqWhitePoint()
182 Assert.assertEquals(.58f, bitmapResult.green(), 0.001f); in testPqWhitePoint()
183 Assert.assertEquals(.58f, bitmapResult.blue(), 0.001f); in testPqWhitePoint()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp480 int bitmapResult = AndroidBitmap_getInfo(env, jbitmap, &jInfo); in bitmapsEqual() local
481 EXPECT_EQ("Failed to getInfo on Bitmap", ANDROID_BITMAP_RESULT_SUCCESS, bitmapResult); in bitmapsEqual()
501 bitmapResult = AndroidBitmap_lockPixels(env, jbitmap, &jPixels); in bitmapsEqual()
502 EXPECT_EQ("Failed to lockPixels", ANDROID_BITMAP_RESULT_SUCCESS, bitmapResult); in bitmapsEqual()
506 bitmapResult = AndroidBitmap_unlockPixels(env, jbitmap); in bitmapsEqual()
507 EXPECT_EQ("Failed to unlockPixels", ANDROID_BITMAP_RESULT_SUCCESS, bitmapResult); in bitmapsEqual()
814 int bitmapResult = AndroidBitmap_getInfo(env, jbitmap, &jInfo); in testComputeSampledSize() local
815 ASSERT_EQ(ANDROID_BITMAP_RESULT_SUCCESS, bitmapResult); in testComputeSampledSize()
858 int bitmapResult = AndroidBitmap_getInfo(env, jbitmap, &jInfo); in testDecodeScaled() local
859 ASSERT_EQ(ANDROID_BITMAP_RESULT_SUCCESS, bitmapResult); in testDecodeScaled()
[all …]