Home
last modified time | relevance | path

Searched refs:RGBA_8888 (Results 1 – 25 of 63) sorted by relevance

123

/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java56 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate()
61 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreate()
148 HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreateFromNativeObject()
153 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreateFromNativeObject()
160 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
162 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
178 final boolean supported = HardwareBuffer.isSupported(dimen, dimen, HardwareBuffer.RGBA_8888, in testInvalidUsage()
182 HardwareBuffer buffer = HardwareBuffer.create(dimen, dimen, HardwareBuffer.RGBA_8888, in testInvalidUsage()
198 HardwareBuffer buffer1 = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testGetId()
201 HardwareBuffer buffer2 = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testGetId()
[all …]
DHardwareBufferAidlTest.java71 HardwareBuffer.RGBA_8888, 1, HardwareBuffer.USAGE_CPU_READ_RARELY)) { in testRemoteGetId() argument
DHardwareBufferTestService.java82 return HardwareBuffer.create(width, height, HardwareBuffer.RGBA_8888, 1, in makeJavaService()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java54 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0()
61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0()
85 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1()
92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1()
119 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix2()
126 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix2()
151 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix3()
158 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix3()
182 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix4()
189 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix4()
DRS3DLUTTest.java51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
58 Type.Builder buildCube = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
DRSLUTTest.java43 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
DRSBlendTest.java51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSBlend()
59 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); in testRSBlend()
DRSBlurTest.java72 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels()
78 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareRendererTests.kt71 TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in <lambda>()
149 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testBasicDrawCpuConsumer()
198 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testBasicDrawGpuConsumer()
257 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testSetStopped()
282 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testNoSurface()
308 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testClearContent()
351 val reader = ImageReader.newInstance(TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, 1, in testDestroy()
421 TEST_WIDTH, TEST_HEIGHT, PixelFormat.RGBA_8888, testColors.size, in testLotsOfBuffers()
DHardwareBufferRendererTests.kt163 format: Int = PixelFormat.RGBA_8888, in <lambda>()
208 format: Int = PixelFormat.RGBA_8888, in <lambda>()
677 format: Int = PixelFormat.RGBA_8888, in <lambda>()
681 if (format != PixelFormat.RGBA_8888 && in <lambda>()
/cts/tests/tests/car/src/android/car/cts/utils/
DDisplayUtils.java62 mReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createDisplay()
100 PixelFormat.RGBA_8888, 1 /* maxImages */); in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPixelFormatTest.java43 PixelFormat.getPixelFormatInfo(PixelFormat.RGBA_8888, pixelFormat); in testGetPixelFormatInfo()
111 assertTrue(PixelFormat.formatHasAlpha(PixelFormat.RGBA_8888)); in testFormatHasAlpha()
DHardwareRendererTest.java81 HardwareBuffer buffer = HardwareBuffer.create(128, 128, HardwareBuffer.RGBA_8888, in hardwareBufferRendererLeakTest()
/cts/tests/tests/media/projection/sdk34/src/android/media/projection/
DMediaProjectionSDK34Test.java145 PixelFormat.RGBA_8888, /* maxImages= */ 1); in testCreateVirtualDisplay_reusedResultData_throwsException()
200 PixelFormat.RGBA_8888, /* maxImages= */ 1); in createVirtualDisplay()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java41 HardwareBuffer.RGBA_8888, in testLayeredBuffersForVr()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt153 reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2) in createDisplay()
184 if (image == null || image.format != PixelFormat.RGBA_8888) { in getScreenshot()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp100 e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSBlurTest_blurTest()
182 sp<const Element> e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSLUTTest_lutTest()
225 sp<const Element> e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RS3DLUTTest_lutTest()
269 sp<const Element> e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest()
317 sp<const Element> e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSBlendTest_blendTest()
481 sp<const Type> tout = Type::create(mRS, Element::RGBA_8888(mRS), X, Y, 0); in Java_android_cts_rscpp_RSYuvTest_yuvTest()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java171 PixelFormat.RGBA_8888, /* maxImages= */ 1); in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
233 PixelFormat.RGBA_8888, MAX_IMAGES); in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
272 PixelFormat.RGBA_8888, /* maxImages= */ 1); in createVirtualDisplay()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java267 .setDefaultHardwareBufferFormat(HardwareBuffer.RGBA_8888) in testWriterBuilderDefault()
277 assertEquals(HardwareBuffer.RGBA_8888, reader.getHardwareBufferFormat()); in testWriterBuilderDefault()
282 assertEquals(HardwareBuffer.RGBA_8888, outputImage.getFormat()); in testWriterBuilderDefault()
329 .setHardwareBufferFormat(HardwareBuffer.RGBA_8888) in testWriterBuilderSetHardwareBufferFormatAndDataSpace()
338 assertEquals(HardwareBuffer.RGBA_8888, writer.getHardwareBufferFormat()); in testWriterBuilderSetHardwareBufferFormatAndDataSpace()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSampleTest.java69 Element format = Element.RGBA_8888(mRS); in setUp()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DDisplayUtils.java73 PixelFormat.RGBA_8888, 1 /* maxImages */); in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DVirtualDisplayHelper.java104 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in createVirtualDisplay()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/
DSurfaceControlHelperTest.java73 .setFormat(PixelFormat.RGBA_8888) in testMirrorSurface()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java85 ImageReader reader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createSecondaryDisplay()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java144 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()

123