/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 56 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 …]
|
D | HardwareBufferAidlTest.java | 71 HardwareBuffer.RGBA_8888, 1, HardwareBuffer.USAGE_CPU_READ_RARELY)) { in testRemoteGetId() argument
|
D | HardwareBufferTestService.java | 82 return HardwareBuffer.create(width, height, HardwareBuffer.RGBA_8888, 1, in makeJavaService()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 54 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()
|
D | RS3DLUTTest.java | 51 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()
|
D | RSLUTTest.java | 43 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()
|
D | RSBlendTest.java | 51 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()
|
D | RSBlurTest.java | 72 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/ |
D | HardwareRendererTests.kt | 71 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()
|
D | HardwareBufferRendererTests.kt | 163 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/ |
D | DisplayUtils.java | 62 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/ |
D | PixelFormatTest.java | 43 PixelFormat.getPixelFormatInfo(PixelFormat.RGBA_8888, pixelFormat); in testGetPixelFormatInfo() 111 assertTrue(PixelFormat.formatHasAlpha(PixelFormat.RGBA_8888)); in testFormatHasAlpha()
|
D | HardwareRendererTest.java | 81 HardwareBuffer buffer = HardwareBuffer.create(128, 128, HardwareBuffer.RGBA_8888, in hardwareBufferRendererLeakTest()
|
/cts/tests/tests/media/projection/sdk34/src/android/media/projection/ |
D | MediaProjectionSDK34Test.java | 145 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/ |
D | HardwareBufferVrTest.java | 41 HardwareBuffer.RGBA_8888, in testLayeredBuffersForVr()
|
/cts/tests/input/src/android/input/cts/ |
D | VirtualDisplayActivityScenarioRule.kt | 153 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/ |
D | rs_jni.cpp | 100 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/ |
D | MediaProjectionSDK33Test.java | 171 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/ |
D | ImageWriterTest.java | 267 .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/ |
D | SampleTest.java | 69 Element format = Element.RGBA_8888(mRS); in setUp()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | DisplayUtils.java | 73 PixelFormat.RGBA_8888, 1 /* maxImages */); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 104 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in createVirtualDisplay()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | SurfaceControlHelperTest.java | 73 .setFormat(PixelFormat.RGBA_8888) in testMirrorSurface()
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextTestBase.java | 85 ImageReader reader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createSecondaryDisplay()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 144 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()
|