Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DInt2.java23 public class Int2 { class
27 public Int2() { in Int2() method in Int2
31 public Int2(int i) { in Int2() method in Int2
35 public Int2(int x, int y) { in Int2() method in Int2
41 public Int2(Int2 source) { in Int2() method in Int2
51 public void add(Int2 a) { in add()
63 public static Int2 add(Int2 a, Int2 b) { in add()
64 Int2 result = new Int2(); in add()
88 public static Int2 add(Int2 a, int b) { in add()
89 Int2 result = new Int2(); in add()
[all …]
DFieldPacker.java348 public void addU16(Int2 v) { in addU16()
364 public void addI32(Int2 v) { in addI32()
517 public Int2 subInt2() { in subInt2()
518 Int2 v = new Int2(); in subInt2()
696 if (obj instanceof Int2) { in add()
697 addI32((Int2)obj); in add()
/frameworks/rs/support/java/src/androidx/renderscript/
DInt2.java27 public class Int2 { class
28 public Int2() { in Int2() method in Int2
31 public Int2(int initX, int initY) { in Int2() method in Int2
DFieldPacker.java349 public void addU16(Int2 v) { in addU16()
365 public void addI32(Int2 v) { in addI32()
518 public Int2 subInt2() { in subInt2()
519 Int2 v = new Int2(); in subInt2()
697 if (obj instanceof Int2) { in addToPack()
698 fp.addI32((Int2)obj); in addToPack()
831 if (obj instanceof Int2) { in getPackedSize()
/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/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/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/
DScriptC_reduce_general_examples.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_backward/
DScriptC_reduce_general_examples_backward.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/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_vector.java167 Int2 I2 = s.get_u16_2(); in initializeGlobals()
DUT_math_agree.java73 private Int2 pack_i2(int[] val) { in pack_i2()
75 return new Int2(val[0], val[1]); in pack_i2()
/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/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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt41645 method public void addI32(android.renderscript.Int2);
41661 method public void addU16(android.renderscript.Int2);
41697 method public android.renderscript.Int2 subInt2();
41736 public class Int2 {
41737 ctor public Int2();
41738 ctor public Int2(int, int);