Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_resize.rs25 static float4 cubicInterpolate_F4 (float4 p0,float4 p1,float4 p2,float4 p3 , float x) {
26 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
27 + x * (3.f * (p1 - p2) + p3 - p0)));
30 static float3 cubicInterpolate_F3 (float3 p0,float3 p1,float3 p2,float3 p3 , float x) {
31 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
32 + x * (3.f * (p1 - p2) + p3 - p0)));
35 static float2 cubicInterpolate_F2 (float2 p0,float2 p1,float2 p2,float2 p3 , float x) {
36 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
37 + x * (3.f * (p1 - p2) + p3 - p0)));
40 static float cubicInterpolate_F1 (float p0,float p1,float p2,float p3 , float x) {
[all …]
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java90 final int p1 = expected.getRGB(i, j); in compare() local
92 final int dr = (p1 & 0x000000FF) - (p2 & 0x000000FF); in compare()
93 final int dg = ((p1 & 0x0000FF00) - (p2 & 0x0000FF00)) >> 8; in compare()
94 final int db = ((p1 & 0x00FF0000) - (p2 & 0x00FF0000)) >> 16; in compare()
95 final int da = ((p1 & 0xFF000000) - (p2 & 0xFF000000)) >> 24; in compare()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/
DT_iget_wide_11.java22 return p1; in run()
DT_iget_wide_1.java21 protected long p1 = 10; field in T_iget_wide_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_short/d/
DT_sget_short_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/
DT_sget_11.java22 return p1; in run()
DT_sget_1.java21 protected static int p1 = 10; field in T_sget_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_wide/d/
DT_sget_wide_11.java22 return p1; in run()
DT_sget_wide_1.java21 protected static long p1 = 10; field in T_sget_wide_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_char/d/
DT_iget_char_11.java22 return p1; in run()
DT_iget_char_1.java21 protected char p1 = 77; field in T_iget_char_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_byte/d/
DT_iget_byte_11.java22 return p1; in run()
DT_iget_byte_12.java23 return p1; in run()
DT_iget_byte_1.java21 protected static byte p1 = 77; field in T_iget_byte_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_boolean/d/
DT_sget_boolean_11.java22 return p1; in run()
DT_sget_boolean_1.java21 protected static boolean p1 = true; field in T_sget_boolean_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_boolean/d/
DT_iget_boolean_11.java22 return p1; in run()
DT_iget_boolean_1.java21 protected boolean p1 = true; field in T_iget_boolean_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_byte/d/
DT_sget_byte_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_char/d/
DT_sget_char_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_short/d/
DT_iget_short_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_11.java22 return p1; in run()
DT_iget_1.java21 protected int p1 = 10; field in T_iget_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/
DT_sget_object_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/
DT_iget_object_11.java22 return p1; in run()

123