/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRGBAF16Test.java | 63 assertFalse(mOpaqueBitmap.hasAlpha()); in testDecode() 67 assertTrue(mTransparentBitmap.hasAlpha()); in testDecode() 76 assertFalse(scaled.hasAlpha()); in testScaling() 82 assertTrue(scaled.hasAlpha()); in testScaling() 90 assertFalse(copy.hasAlpha()); in testCopy() 95 assertTrue(copy.hasAlpha()); in testCopy() 103 assertFalse(b.hasAlpha()); in testCreate() 108 assertTrue(b.hasAlpha()); in testCreate()
|
D | NinePatchTest.java | 182 assertFalse(mNinePatch.hasAlpha()); in testHasAlpha() 183 assertEquals(mNinePatch.hasAlpha(), mBitmap.hasAlpha()); in testHasAlpha() 189 assertTrue(ninePatch.hasAlpha()); in testHasAlpha() 190 assertEquals(ninePatch.hasAlpha(), bitmap.hasAlpha()); in testHasAlpha()
|
D | ImageDecoderTest.java | 94 public final boolean hasAlpha; field in ImageDecoderTest.Record 99 boolean hasAlpha, ColorSpace colorSpace) { in Record() argument 105 this.hasAlpha = hasAlpha; in Record() 596 boolean[] hasAlpha = new boolean[] { false, true }; in testUnpremul() 606 assertEquals(normal.hasAlpha(), hasAlpha[i]); in testUnpremul() local 607 assertEquals(normal.isPremultiplied(), hasAlpha[i]); in testUnpremul() local 616 assertEquals(unpremul.hasAlpha(), hasAlpha[i]); in testUnpremul() local 767 assertFalse(bm.hasAlpha()); in testPostProcessorAndMadeOpaque() 799 assertTrue(bm.hasAlpha()); in testPostProcessorAndAddedTransparency() 1427 assertTrue(bm.hasAlpha()); in testResizeWebp() [all …]
|
D | BitmapFactoryTest.java | 259 assertFalse(bitmap.hasAlpha()); in decodeOpaqueImage() 308 assertTrue(bPng.hasAlpha()); in testDecodeStream5() 316 assertTrue(bWebP1.hasAlpha()); in testDecodeStream5() 328 assertTrue(bWebP2.hasAlpha()); in testDecodeStream5() 503 private void decodeResourceWithReuse(Bitmap reuse, int resId, boolean hasAlpha) { in decodeResourceWithReuse() argument 511 assertEquals(output.hasAlpha(), hasAlpha); in decodeResourceWithReuse() local 942 private void decodeConfigs(int id, int width, int height, boolean hasAlpha, boolean isGray) { in decodeConfigs() argument 966 if (!hasAlpha) { in decodeConfigs()
|
D | BitmapTest.java | 1251 assertFalse(mBitmap.hasAlpha()); in testHasAlpha() 1253 assertTrue(mBitmap.hasAlpha()); in testHasAlpha() 1304 for (boolean hasAlpha : falseTrue) { in testAlphaAndPremul() 1316 bitmap.setHasAlpha(hasAlpha); in testAlphaAndPremul() 1319 verifyAlphaAndPremul(bitmap, hasAlpha, isPremul, false); in testAlphaAndPremul() 1332 … verifyAlphaAndPremul(bitmap, hasAlpha, isPremul, fromConfig == Config.RGB_565); in testAlphaAndPremul() 1361 assertFalse(bitmap.hasAlpha()); in verifyAlphaAndPremul() 1370 assertTrue(bitmap.hasAlpha()); in verifyAlphaAndPremul() 1372 assertEquals(bitmap.hasAlpha(), expectedAlpha); in verifyAlphaAndPremul() 1375 if (bitmap.hasAlpha()) { in verifyAlphaAndPremul() [all …]
|
D | AImageDecoderTest.java | 274 nTestSetUnpremul(aimagedecoder, record.hasAlpha); in testSetUnpremul() 284 nTestSetUnpremul(aimagedecoder, record.hasAlpha); in testSetUnpremulResources() 1287 private static native void nTestSetUnpremul(long aimagedecoder, boolean hasAlpha);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ShapeTest.java | 105 assertTrue(shape.hasAlpha()); in testHasAlpha()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BitmapTest.cpp | 142 jint width, jint height, jboolean hasAlpha, jboolean premultiplied, in testInfo() argument 154 if (!hasAlpha) { in testInfo()
|
D | android_graphics_cts_AImageDecoderTest.cpp | 363 static void testSetUnpremul(JNIEnv* env, jclass, jlong imageDecoderPtr, jboolean hasAlpha) { in testSetUnpremul() argument 373 if (hasAlpha) { in testSetUnpremul()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 515 expected.hasAlpha(), expected.getColorSpace()); in testExif()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 15505 method public boolean hasAlpha(); 16449 method public final boolean hasAlpha(); 17938 method public boolean hasAlpha();
|