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.java140 mBitmap.copy(Config.RGB_565, false); in testCopyRecycled()
153 Config.ALPHA_8, Config.RGB_565, Config.ARGB_8888, Config.RGBA_F16, in testCopyConfigs()
234 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1()
241 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1()
335 Bitmap ret = Bitmap.createBitmap(100, 200, Config.RGB_565); in testCreateBitmap4()
340 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4()
390 Bitmap.createBitmap(colors, 0, 100, -1, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeWidthHeight()
398 Bitmap.createBitmap(colors, 10, 10, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsIllegalStride()
406 Bitmap.createBitmap(colors, -10, 100, 100, 100, Config.RGB_565); in testCreateBitmapFromColorsNegativeOffset()
414 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()
DVulkanSurfaceSupportTest.java51 ImageReader reader = ImageReader.newInstance(640, 480, ImageFormat.RGB_565, 3); in testVulkanSupportedFormat()
DBitmapRegionDecoderTest.java116 Config.RGB_565};
221 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream()
253 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap()
281 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()
319 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionStringAndFileDescriptor()
558 opts.inPreferredConfig = Config.RGB_565; in testInColorSpace565()
581 Bitmap.Config.RGB_565}) { in testF16WithInBitmap()
DCanvas_VertexModeTest.java55 Bitmap bitmap = Bitmap.createBitmap(10, 27, Config.RGB_565); in testValues()
DBitmapColorSpaceTest.java76 Bitmap.Config.RGB_565, in createWithColorSpace()
147 Bitmap.Config.RGB_565, Bitmap.Config.ARGB_8888 in createDefaultColorSpace()
181 Bitmap.Config.RGB_565, in createFromSourceWithColorSpace()
204 case RGB_565: in createFromSourceWithColorSpace()
320 Bitmap.Config.RGB_565, in reconfigure()
599 opts.inPreferredConfig = Bitmap.Config.RGB_565; in p3rgb565()
853 opts.inPreferredConfig = Bitmap.Config.RGB_565; in inColorSpace565()
904 Bitmap.Config.RGB_565 }) { in copyF16()
920 Bitmap.Config.RGB_565 }) { in copyF16()
933 Bitmap.Config.RGB_565, in copyAlpha8()
/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/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java389 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFrameAtIndex()
391 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFrameAtIndex()
397 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFrameAtIndex()
412 params.setPreferredConfig(Bitmap.Config.RGB_565); in testGetFramesAtIndex()
414 Bitmap.Config.RGB_565, params.getPreferredConfig()); in testGetFramesAtIndex()
418 assertEquals(Bitmap.Config.RGB_565, params.getActualConfig()); in testGetFramesAtIndex()
DFaceView.java59 bfo.inPreferredConfig = Bitmap.Config.RGB_565; in FaceView()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java40 HardwareBuffer.RGB_565, in testLayeredBuffersForVr()
/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.java79 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