Home
last modified time | relevance | path

Searched refs:androidBitmapFormat (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp476 static bool bitmapsEqual(JNIEnv* env, jobject jbitmap, int32_t androidBitmapFormat, in bitmapsEqual() argument
483 EXPECT_EQ("Wrong format", jInfo.format, androidBitmapFormat); in bitmapsEqual()
513 jint androidBitmapFormat, jboolean unpremul, jobject jbitmap) { in testDecode() argument
522 if (androidBitmapFormat == ANDROID_BITMAP_FORMAT_NONE) { in testDecode()
523 androidBitmapFormat = AImageDecoderHeaderInfo_getAndroidBitmapFormat(info); in testDecode()
525 result = AImageDecoder_setAndroidBitmapFormat(decoder, androidBitmapFormat); in testDecode()
526 if (androidBitmapFormat == ANDROID_BITMAP_FORMAT_RGB_565) { in testDecode()
574 ASSERT_TRUE(bitmapsEqual(env, jbitmap, (AndroidBitmapFormat) androidBitmapFormat, in testDecode()
617 if (androidBitmapFormat == ANDROID_BITMAP_FORMAT_A_8) { in testDecode()
Dandroid_graphics_cts_BitmapTest.cpp141 static void testInfo(JNIEnv* env, jclass, jobject jbitmap, jint androidBitmapFormat, in testInfo() argument
148 ASSERT_EQ(androidBitmapFormat, info.format); in testInfo()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java2890 private static native void nTestInfo(Bitmap bm, int androidBitmapFormat, int width, int height, in nTestInfo() argument