Home
last modified time | relevance | path

Searched refs:Int2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DInt2.java28 public class Int2 { class
32 public Int2() { in Int2() method in Int2
36 public Int2(int i) { in Int2() method in Int2
40 public Int2(int x, int y) { in Int2() method in Int2
46 public Int2(Int2 source) { in Int2() method in Int2
56 public void add(Int2 a) { in add()
68 public static Int2 add(Int2 a, Int2 b) { in add()
69 Int2 result = new Int2(); in add()
93 public static Int2 add(Int2 a, int b) { in add()
94 Int2 result = new Int2(); in add()
[all …]
DFieldPacker.java352 public void addU16(Int2 v) { in addU16()
368 public void addI32(Int2 v) { in addI32()
521 public Int2 subInt2() { in subInt2()
522 Int2 v = new Int2(); in subInt2()
700 if (obj instanceof Int2) { in add()
701 addI32((Int2)obj); in add()
/frameworks/rs/support/java/src/androidx/renderscript/
DInt2.java31 public class Int2 { class
32 public Int2() { in Int2() method in Int2
35 public Int2(int initX, int initY) { in Int2() method in Int2
DFieldPacker.java353 public void addU16(Int2 v) { in addU16()
369 public void addI32(Int2 v) { in addI32()
522 public Int2 subInt2() { in subInt2()
523 Int2 v = new Int2(); in subInt2()
701 if (obj instanceof Int2) { in addToPack()
702 fp.addI32((Int2)obj); in addToPack()
835 if (obj instanceof Int2) { in getPackedSize()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java31 import androidx.renderscript.Int2;
95 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result()
140 private Int2 findMinAndMax(float[] input) { in findMinAndMax()
157 return new Int2(minIdx, maxIdx); in findMinAndMax()
163 final Int2 javaRslt = findMinAndMax(input); in findMinAndMax()
164 final Int2 rsRslt = s.reduce_findMinAndMax(input).get(); in findMinAndMax()
207 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get(); in fz2()
287 private Int2 mode(RenderScript RS, final byte[] inputArray) { in mode()
293 return new Int2(modeIdx, (int) hsg[modeIdx]); in mode()
299 final Int2 javaRslt = mode(RS, inputArray); in mode()
[all …]
DUT_reduce.java31 import androidx.renderscript.Int2;
254 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
529 private Int2 findMinAndMax(float[] input) { in findMinAndMax()
546 return new Int2(minIdx, maxIdx); in findMinAndMax()
552 final Int2 javaResult = findMinAndMax(input); in findMinAndMax_array()
553 final Int2 rsResult = s.reduce_findMinAndMax(input).get(); in findMinAndMax_array()
568 final Int2 javaResult = findMinAndMax(inputArray); in findMinAndMax()
580 final Int2 rsResult = s.reduce_findMinAndMax(inputAllocation).get(); in findMinAndMax()
606 final Int2 javaResult = findMinAndMax(input); in patternFindMinAndMaxInf()
607 final Int2 rsResult = s.reduce_findMinAndMax(input).get(); in patternFindMinAndMaxInf()
[all …]
DUT_vector.java31 import androidx.renderscript.Int2;
184 Int2 I2 = s.get_u16_2(); in initializeGlobals()
DUT_math_agree.java28 import androidx.renderscript.Int2;
95 private Int2 pack_i2(int[] val) { in pack_i2()
97 return new Int2(val[0], val[1]); in pack_i2()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java29 import android.renderscript.Int2;
93 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result()
138 private Int2 findMinAndMax(float[] input) { in findMinAndMax()
155 return new Int2(minIdx, maxIdx); in findMinAndMax()
161 final Int2 javaRslt = findMinAndMax(input); in findMinAndMax()
162 final Int2 rsRslt = s.reduce_findMinAndMax(input).get(); in findMinAndMax()
205 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get(); in fz2()
285 private Int2 mode(RenderScript RS, final byte[] inputArray) { in mode()
291 return new Int2(modeIdx, (int) hsg[modeIdx]); in mode()
297 final Int2 javaRslt = mode(RS, inputArray); in mode()
[all …]
DUT_reduce.java29 import android.renderscript.Int2;
252 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
527 private Int2 findMinAndMax(float[] input) { in findMinAndMax()
544 return new Int2(minIdx, maxIdx); in findMinAndMax()
550 final Int2 javaResult = findMinAndMax(input); in findMinAndMax_array()
551 final Int2 rsResult = s.reduce_findMinAndMax(input).get(); in findMinAndMax_array()
566 final Int2 javaResult = findMinAndMax(inputArray); in findMinAndMax()
578 final Int2 rsResult = s.reduce_findMinAndMax(inputAllocation).get(); in findMinAndMax()
604 final Int2 javaResult = findMinAndMax(input); in patternFindMinAndMaxInf()
605 final Int2 rsResult = s.reduce_findMinAndMax(input).get(); in patternFindMinAndMaxInf()
[all …]
DUT_vector.java29 import android.renderscript.Int2;
182 Int2 I2 = s.get_u16_2(); in initializeGlobals()
DUT_math_agree.java26 import android.renderscript.Int2;
93 private Int2 pack_i2(int[] val) { in pack_i2()
95 return new Int2(val[0], val[1]); in pack_i2()
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect88 public Int2 get() {
92 mResult = new Int2(outArray[0], outArray[1]);
118 private Int2 mResult;
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect171 public Int2 get() {
175 mResult = new Int2(outArray[0], outArray[1]);
201 private Int2 mResult;
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect171 public Int2 get() {
175 mResult = new Int2(outArray[0], outArray[1]);
201 private Int2 mResult;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUT_vector.java167 Int2 I2 = s.get_u16_2(); in initializeGlobals()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUT_vector.java167 Int2 I2 = s.get_u16_2(); in initializeGlobals()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect665 public Int2[] get() {
669 Int2[] result = new Int2[7];
671 result[Idx] = new Int2(outArray[2*Idx+0], outArray[2*Idx+1]);
700 private Int2[] mResult;
1403 public Int2[] get() {
1407 Int2[] result = new Int2[7];
1409 …result[Idx] = new Int2(((int) ((outArray[2*Idx+0]) & 0xffff)), ((int) ((outArray[2*Idx+1]) & 0xfff…
1438 private Int2[] mResult;
1989 public Int2 get() {
1993 mResult = new Int2(outArray[0], outArray[1]);
[all …]
/frameworks/rs/cpp/
DrsCppStructs.h187 class Int2 {
191 Int2(int initX, int initY) in Int2() function
193 Int2() : x(0), y(0) {} in Int2() function
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt45147 Landroid/renderscript/Int2;-><init>(I)V
45148 Landroid/renderscript/Int2;-><init>(Landroid/renderscript/Int2;)V
45149 Landroid/renderscript/Int2;->add(I)V
45150 Landroid/renderscript/Int2;->add(Landroid/renderscript/Int2;)V
45151 Landroid/renderscript/Int2;->add(Landroid/renderscript/Int2;I)Landroid/renderscript/Int2;
45152 Landroid/renderscript/Int2;->add(Landroid/renderscript/Int2;Landroid/renderscript/Int2;)Landroid/re…
45153 Landroid/renderscript/Int2;->addAt(II)V
45154 Landroid/renderscript/Int2;->addMultiple(Landroid/renderscript/Int2;I)V
45155 Landroid/renderscript/Int2;->copyTo([II)V
45156 Landroid/renderscript/Int2;->div(I)V
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt26205 method public void addI32(android.renderscript.Int2);
26221 method public void addU16(android.renderscript.Int2);
26257 method public android.renderscript.Int2 subInt2();
26296 public class Int2 {
26297 ctor public Int2();
26298 ctor public Int2(int, int);
/frameworks/base/core/api/
Dcurrent.txt38519 method @Deprecated public void addI32(android.renderscript.Int2);
38535 method @Deprecated public void addU16(android.renderscript.Int2);
38571 method @Deprecated public android.renderscript.Int2 subInt2();
38610 @Deprecated public class Int2 {
38611 ctor @Deprecated public Int2();
38612 ctor @Deprecated public Int2(int, int);