/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Bitmap_ConfigTest.java | 37 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); in testValueOf() 50 assertEquals(Config.RGB_565, config[1]); in testValues() 61 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
|
D | BitmapTest.java | 247 mBitmap.copy(Config.RGB_565, false); in testCopyRecycled() 260 Config.ALPHA_8, Config.RGB_565, Config.ARGB_8888, Config.RGBA_F16, in testCopyConfigs() 341 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() 348 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1() 442 Bitmap ret = Bitmap.createBitmap(100, 200, Config.RGB_565); in testCreateBitmap4() 447 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4() 497 Bitmap.createBitmap(colors, 0, 100, -1, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeWidthHeight() 505 Bitmap.createBitmap(colors, 10, 10, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsIllegalStride() 513 Bitmap.createBitmap(colors, -10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeOffset() 521 Bitmap.createBitmap(colors, 10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsOffsetTooLarge() [all …]
|
D | ShaderTest.java | 48 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testAccessLocalMatrix() 75 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.RGB_565); in testGetSetLocalMatrix()
|
D | BitmapFactory_OptionsTest.java | 86 options.inPreferredConfig = Bitmap.Config.RGB_565; in testExtractMetaData() 89 assertEquals(Bitmap.Config.RGB_565, options.outConfig); in testExtractMetaData()
|
D | PixelFormatTest.java | 55 PixelFormat.getPixelFormatInfo(PixelFormat.RGB_565, pixelFormat); in testGetPixelFormatInfo() 114 assertFalse(PixelFormat.formatHasAlpha(PixelFormat.RGB_565)); in testFormatHasAlpha()
|
D | Canvas_VertexModeTest.java | 55 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
|
D | BitmapRegionDecoderTest.java | 121 Config.RGB_565}; 222 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream() 254 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap() 282 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionByteArray() 307 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor() 316 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor() 583 opts.inPreferredConfig = Config.RGB_565; in testInColorSpace565() 606 Bitmap.Config.RGB_565}) { in testF16WithInBitmap()
|
D | BitmapColorSpaceTest.java | 78 Bitmap.Config.RGB_565, in createWithColorSpace() 150 Bitmap.Config.RGB_565, Bitmap.Config.ARGB_8888 in createDefaultColorSpace() 184 Bitmap.Config.RGB_565, in createFromSourceWithColorSpace() 208 case RGB_565: in createFromSourceWithColorSpace() 324 Bitmap.Config.RGB_565, in reconfigure() 603 opts.inPreferredConfig = Bitmap.Config.RGB_565; in p3rgb565() 857 opts.inPreferredConfig = Bitmap.Config.RGB_565; in inColorSpace565() 908 Bitmap.Config.RGB_565 }) { in copyF16() 924 Bitmap.Config.RGB_565 }) { in copyF16() 937 Bitmap.Config.RGB_565, in copyAlpha8()
|
D | AImageDecoderTest.java | 353 bm = decode(resId, Bitmap.Config.RGB_565); in testDecode10BitHeif() 390 bm = decode(resId, Bitmap.Config.RGB_565); in testDecode10BitAvif() 445 case RGB_565: in decode() 481 Bitmap bm = decode(src, Bitmap.Config.RGB_565); 483 if (bm.getConfig() != Bitmap.Config.RGB_565) { 498 Bitmap bm = decode(record.resId, Bitmap.Config.RGB_565); 500 if (bm.getConfig() != Bitmap.Config.RGB_565) {
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 40 HardwareBuffer.RGB_565, in testLayeredBuffersForVr()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_element.cpp | 103 passed &= (Element::RGB_565(mRS) != nullptr); in Java_android_cts_rscpp_RSElementTest_testPrebuiltElements() 190 sp<const Element> RGB_565 = Element::RGB_565(mRS); in Java_android_cts_rscpp_RSElementTest_testIsCompatible() local 206 RGBA_5551, RGB_565, SAMPLER, SCRIPT, TYPE, in Java_android_cts_rscpp_RSElementTest_testIsCompatible() 239 eb->add(Element::RGB_565(mRS), "RGB_565", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
|
D | rs_jni_type.cpp | 73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureCtsActivity.java | 47 optionsRGB.inPreferredConfig = Bitmap.Config.RGB_565; in onCreate()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaMetadataRetrieverTest.java | 974 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFrameAtIndex() 976 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFrameAtIndex() 982 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFrameAtIndex() 998 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFramesAtIndex() 1000 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFramesAtIndex() 1004 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFramesAtIndex() 1164 testGetScaledFrameAtTime(320, 120, 160, 120, Bitmap.Config.RGB_565); in testGetScaledFrameAtTime() 1167 testGetScaledFrameAtTime(160, 240, 160, 120, Bitmap.Config.RGB_565); in testGetScaledFrameAtTime()
|
D | FaceView.java | 59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 21 import static android.graphics.Bitmap.Config.RGB_565; 94 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() 126 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 71 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate() 73 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | IconMarginSpanTest.java | 45 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
|
D | ImageSpanTest.java | 57 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testConstructor()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ElementTest.java | 68 assertTrue(Element.RGB_565(mRS) != null); in testPrebuiltElements() 222 Element[] RGB_565 = { Element.RGB_565(mRS), in testIsCompatible() local 253 RGBA_5551, RGB_565, SAMPLER, SCRIPT, TYPE, in testIsCompatible() 281 eb.add(Element.RGB_565(mRS), "RGB_565", arraySize); in testElementBuilder() 351 assertFalse(Element.RGB_565(mRS).isComplex()); in testIsComplex()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 139 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicHeight() 154 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); in testGetIntrinsicWidth() 239 new BitmapDrawable(Bitmap.createBitmap(100, 50, Config.RGB_565)); in testIsStateful()
|
D | BitmapDrawableTest.java | 386 Bitmap bitmap = Bitmap.createBitmap(200, 300, Config.RGB_565); in testGetIntrinsicSize() 410 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity() 425 bitmap = Bitmap.createBitmap(sourceWidth, sourceHeight, Config.RGB_565); in testSetTargetDensity()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | NewUserRequestTest.java | 109 final Bitmap icon = Bitmap.createBitmap(32, 32, Bitmap.Config.RGB_565); in testSetUserIcon()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricPromptLogoTests.java | 55 Bitmap.createBitmap(400, 400, Bitmap.Config.RGB_565);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 183 mPreviewFormatNames.append(ImageFormat.RGB_565, "RGB_565"); in onCreate() 567 case ImageFormat.RGB_565: in startPreview() 619 case ImageFormat.RGB_565: in doInBackground()
|