Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestMix.rscript27 float inFraction = rsGetElementAt_float(gAllocInFraction, x);
28 return mix(inStart, inStop, inFraction);
33 float2 inFraction = rsGetElementAt_float2(gAllocInFraction, x);
34 return mix(inStart, inStop, inFraction);
39 float3 inFraction = rsGetElementAt_float3(gAllocInFraction, x);
40 return mix(inStart, inStop, inFraction);
45 float4 inFraction = rsGetElementAt_float4(gAllocInFraction, x);
46 return mix(inStart, inStop, inFraction);
51 half inFraction = rsGetElementAt_half(gAllocInFraction, x);
52 return mix(inStart, inStop, inFraction);
[all …]
DTestMix.java50 public float inFraction; field in TestMix.ArgumentsFloatFloatFloatFloat
57 …Allocation inFraction = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6d2f014ec6a51d… in checkMixFloatFloatFloatFloat() local
61 script.set_gAllocInFraction(inFraction); in checkMixFloatFloatFloatFloat()
63 verifyResultsMixFloatFloatFloatFloat(inStart, inStop, inFraction, out, false); in checkMixFloatFloatFloatFloat()
71 scriptRelaxed.set_gAllocInFraction(inFraction); in checkMixFloatFloatFloatFloat()
73 verifyResultsMixFloatFloatFloatFloat(inStart, inStop, inFraction, out, true); in checkMixFloatFloatFloatFloat()
80 inFraction.destroy(); in checkMixFloatFloatFloatFloat()
83 …FloatFloatFloatFloat(Allocation inStart, Allocation inStop, Allocation inFraction, Allocation out,… in verifyResultsMixFloatFloatFloatFloat() argument
92 inFraction.copyTo(arrayInFraction); in verifyResultsMixFloatFloatFloatFloat()
104 args.inFraction = arrayInFraction[i]; in verifyResultsMixFloatFloatFloatFloat()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java822 Target.Floaty inFraction = t.newFloaty(fraction); in mix() local
825 return t.add(inStart, t.multiply(diff, inFraction)); in mix()
2370 args.out = t.add(start, t.multiply(diff, t.new32(args.inFraction)));