Home
last modified time | relevance | path

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

12

/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()
DRSYuvTest.java77 … return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height)); in makeOutput()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java47 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate()
52 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreate()
104 HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreateFromNativeObject()
109 assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat()); in testCreateFromNativeObject()
117 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
119 assertTrue(HardwareBuffer.isSupported(1, 1, HardwareBuffer.RGBA_8888, in testIsSupported()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java97 case PixelFormat.RGBA_8888: in newInstance()
98 element = Element.RGBA_8888(rs); in newInstance()
289 RGBA_8888, enumConstant
307 } else if (element.equals(Element.RGBA_8888(RenderScriptSingleton.getRS()))) { in fromElement()
308 return RGBA_8888; in fromElement()
336 case RGBA_8888: in isElementEqualTo()
337 comparison = Element.RGBA_8888(mRS); in isElementEqualTo()
DScriptYuvToRgb.java37 return outputInfo.changeFormatWithDefaultUsage(PixelFormat.RGBA_8888); in createOutputInfo()
/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()
/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()
/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()
Drs_jni_element.cpp105 passed &= (Element::RGBA_8888(mRS) != nullptr); in Java_android_cts_rscpp_RSElementTest_testPrebuiltElements()
241 eb->add(Element::RGBA_8888(mRS), "RGBA_8888", arraySize); in Java_android_cts_rscpp_RSElementTest_testElementBuilder()
Drs_jni_type.cpp75 passed &= testTypeBuilderHelper(mRS, Element::RGBA_8888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java41 HardwareBuffer.RGBA_8888, in testLayeredBuffersForVr()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSampleTest.java69 Element format = Element.RGBA_8888(mRS); in setUp()
DElementTest.java70 assertTrue(Element.RGBA_8888(mRS) != null); in testPrebuiltElements()
241 Element.RGBA_8888(mRS), in testIsCompatible()
283 eb.add(Element.RGBA_8888(mRS), "RGBA_8888", arraySize); in testElementBuilder()
353 assertFalse(Element.RGBA_8888(mRS).isComplex()); in testIsComplex()
DAllocationTest.java118 createTypedHelper(Element.RGBA_8888(mRS)); in testCreateTyped()
154 createTypedTextureHelper(Element.RGBA_8888(mRS)); in testCreateTyped()
161 createSizedHelper(Element.RGBA_8888(mRS)); in testCreateSized()
427 new Type.Builder(mRS, Element.RGBA_8888(mRS)); in helperBitmapCopy()
DTypeTest.java52 testTypeBuilderHelper(Element.RGBA_8888(mRS)); in testTypeBuilder()
DYuvTest.java87 … return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height)); in makeOutput()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVirtualDisplayHelper.java118 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in createVirtualDisplay()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java113 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()
DSurfacePixelValidator.java132 Element.RGBA_8888(mRS) in createBufferQueueAllocation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java172 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in onCreate()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java93 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()

12