Home
last modified time | relevance | path

Searched refs:RGB_565 (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmap_ConfigTest.java37 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); in testValueOf()
49 assertEquals(Config.RGB_565, config[1]); in testValues()
59 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
DBitmapTest.java244 mBitmap.copy(Config.RGB_565, false); in testCopyRecycled()
257 Config.ALPHA_8, Config.RGB_565, Config.ARGB_8888, Config.RGBA_F16, in testCopyConfigs()
338 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1()
345 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1()
439 Bitmap ret = Bitmap.createBitmap(100, 200, Config.RGB_565); in testCreateBitmap4()
444 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4()
494 Bitmap.createBitmap(colors, 0, 100, -1, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeWidthHeight()
502 Bitmap.createBitmap(colors, 10, 10, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsIllegalStride()
510 Bitmap.createBitmap(colors, -10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeOffset()
518 Bitmap.createBitmap(colors, 10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsOffsetTooLarge()
[all …]
DShaderTest.java48 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()
DBitmapFactory_OptionsTest.java86 options.inPreferredConfig = Bitmap.Config.RGB_565; in testExtractMetaData()
89 assertEquals(Bitmap.Config.RGB_565, options.outConfig); in testExtractMetaData()
DPixelFormatTest.java55 PixelFormat.getPixelFormatInfo(PixelFormat.RGB_565, pixelFormat); in testGetPixelFormatInfo()
114 assertFalse(PixelFormat.formatHasAlpha(PixelFormat.RGB_565)); in testFormatHasAlpha()
DBitmapRegionDecoderTest.java121 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()
556 opts.inPreferredConfig = Config.RGB_565; in testInColorSpace565()
579 Bitmap.Config.RGB_565}) { in testF16WithInBitmap()
DCanvas_VertexModeTest.java55 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
DBitmapColorSpaceTest.java78 Bitmap.Config.RGB_565, in createWithColorSpace()
149 Bitmap.Config.RGB_565, Bitmap.Config.ARGB_8888 in createDefaultColorSpace()
183 Bitmap.Config.RGB_565, in createFromSourceWithColorSpace()
206 case RGB_565: in createFromSourceWithColorSpace()
322 Bitmap.Config.RGB_565, in reconfigure()
601 opts.inPreferredConfig = Bitmap.Config.RGB_565; in p3rgb565()
855 opts.inPreferredConfig = Bitmap.Config.RGB_565; in inColorSpace565()
906 Bitmap.Config.RGB_565 }) { in copyF16()
922 Bitmap.Config.RGB_565 }) { in copyF16()
935 Bitmap.Config.RGB_565, in copyAlpha8()
DAImageDecoderTest.java349 case RGB_565: in decode()
385 Bitmap bm = decode(src, Bitmap.Config.RGB_565);
387 if (bm.getConfig() != Bitmap.Config.RGB_565) {
402 Bitmap bm = decode(record.resId, Bitmap.Config.RGB_565);
404 if (bm.getConfig() != Bitmap.Config.RGB_565) {
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java21 import static android.graphics.Bitmap.Config.RGB_565;
81 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565()
113 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java62 buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_565, 1, in testCreate()
64 assertEquals(HardwareBuffer.RGB_565, buffer.getFormat()); in testCreate()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_element.cpp103 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()
Drs_jni_type.cpp73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java40 HardwareBuffer.RGB_565, in testLayeredBuffersForVr()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java866 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFrameAtIndex()
868 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFrameAtIndex()
874 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFrameAtIndex()
889 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFramesAtIndex()
891 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFramesAtIndex()
895 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFramesAtIndex()
1052 testGetScaledFrameAtTime(320, 120, 160, 120, Bitmap.Config.RGB_565); in testGetScaledFrameAtTime()
1055 testGetScaledFrameAtTime(160, 240, 160, 120, Bitmap.Config.RGB_565); in testGetScaledFrameAtTime()
DFaceView.java59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureCtsActivity.java47 optionsRGB.inPreferredConfig = Bitmap.Config.RGB_565; in onCreate()
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java93 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565); in testSetWallpaper()
DNoWallpaperPermissionsTest.java75 Bitmap b = Bitmap.createBitmap(160, 120, Bitmap.Config.RGB_565); in testSetBitmap()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DElementTest.java68 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/
DClipDrawableTest.java139 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()
DBitmapDrawableTest.java386 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/text/src/android/text/style/cts/
DIconMarginSpanTest.java45 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
DImageSpanTest.java57 Bitmap b = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); in testConstructor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java183 mPreviewFormatNames.append(ImageFormat.RGB_565, "RGB_565"); in onCreate()
553 case ImageFormat.RGB_565: in startPreview()
605 case ImageFormat.RGB_565: in doInBackground()

12