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.java22 private ColorMatrix mColorMatrix; field in ColorMatrixTest
37 mColorMatrix = new ColorMatrix(mSrc); in setUp()
64 float[] ret = mColorMatrix.getArray(); in testReset()
67 mColorMatrix.reset(); in testReset()
68 ret = mColorMatrix.getArray(); in testReset()
82 float[] ret = mColorMatrix.getArray(); in testSet1()
92 mColorMatrix.set(fArray); in testSet1()
94 ret = mColorMatrix.getArray(); in testSet1()
103 float[] ret = mColorMatrix.getArray(); in testSet2()
113 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()
76 ScriptIntrinsicColorMatrix mColorMatrix, mColorMatrix2; in testScriptGroupDisconnectedKernel() local
78 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
90 mColorMatrix.setColorMatrix(m); in testScriptGroupDisconnectedKernel()
94 b.addKernel(mColorMatrix.getKernelID()); in testScriptGroupDisconnectedKernel()
[all …]
DImageProcessingTest.java165 ScriptIntrinsicColorMatrix mColorMatrix; in testColorMatrix() local
166 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testColorMatrix()
178 mColorMatrix.setGreyscale(); in testColorMatrix()
183 mColorMatrix.forEach(a1_copy, a2_copy); in testColorMatrix()
189 mColorMatrix.setColorMatrix(m); in testColorMatrix()
194 mColorMatrix.forEach(a1_copy, a2_copy); in testColorMatrix()
295 ScriptIntrinsicColorMatrix mColorMatrix; in testScriptGroup() local
298 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroup()
317 mColorMatrix.setColorMatrix(m); in testScriptGroup()
323 b.addKernel(mColorMatrix.getKernelID()); in testScriptGroup()
[all …]