Home
last modified time | relevance | path

Searched refs:mColorMatrix (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorMatrixTest.java43 private ColorMatrix mColorMatrix; field in ColorMatrixTest
47 mColorMatrix = new ColorMatrix(SOURCE); in setup()
65 float[] ret = mColorMatrix.getArray(); in testReset()
68 mColorMatrix.reset(); in testReset()
69 ret = mColorMatrix.getArray(); in testReset()
84 float[] ret = mColorMatrix.getArray(); in testSet1()
94 mColorMatrix.set(fArray); in testSet1()
95 ret = mColorMatrix.getArray(); in testSet1()
101 float[] ret = mColorMatrix.getArray(); in testSet2()
111 mColorMatrix.set(new ColorMatrix(fArray)); in testSet2()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DScriptGroupTest.java47 ScriptIntrinsicColorMatrix mColorMatrix; in testScriptGroupSingleKernel() local
49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel()
59 mColorMatrix.setColorMatrix(m); in testScriptGroupSingleKernel()
62 b.addKernel(mColorMatrix.getKernelID()); in testScriptGroupSingleKernel()
65 group.setInput(mColorMatrix.getKernelID(), a1_copy); in testScriptGroupSingleKernel()
66 group.setOutput(mColorMatrix.getKernelID(), a2_copy); in testScriptGroupSingleKernel()
70 mColorMatrix.destroy(); in testScriptGroupSingleKernel()
81 ScriptIntrinsicColorMatrix mColorMatrix, mColorMatrix2; in testScriptGroupDisconnectedKernel() local
83 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
95 mColorMatrix.setColorMatrix(m); in testScriptGroupDisconnectedKernel()
[all …]
DImageProcessingTest.java665 ScriptIntrinsicColorMatrix mColorMatrix; in testColorMatrix() local
666 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testColorMatrix()
678 mColorMatrix.setGreyscale(); in testColorMatrix()
683 mColorMatrix.forEach(a1_copy, a2_copy); in testColorMatrix()
689 mColorMatrix.setColorMatrix(m); in testColorMatrix()
694 mColorMatrix.forEach(a1_copy, a2_copy); in testColorMatrix()
698 mColorMatrix.destroy(); in testColorMatrix()
797 ScriptIntrinsicColorMatrix mColorMatrix; in testScriptGroup() local
800 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroup()
819 mColorMatrix.setColorMatrix(m); in testScriptGroup()
[all …]