Home
last modified time | relevance | path

Searched refs:Float2 (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/rs/java/android/renderscript/
DFloat2.java23 public class Float2 { class
27 public Float2() { in Float2() method in Float2
30 public Float2(Float2 data) { in Float2() method in Float2
35 public Float2(float x, float y) { in Float2() method in Float2
47 public static Float2 add(Float2 a, Float2 b) { in add()
48 Float2 res = new Float2(); in add()
60 public void add(Float2 value) { in add()
82 public static Float2 add(Float2 a, float b) { in add()
83 Float2 res = new Float2(); in add()
95 public void sub(Float2 value) { in sub()
[all …]
DFieldPacker.java268 public void addF32(Float2 v) { in addF32()
429 public Float2 subFloat2() { in subFloat2()
430 Float2 v = new Float2(); in subFloat2()
726 if (obj instanceof Float2) { in add()
727 addF32((Float2)obj); in add()
DScriptIntrinsicBLAS.java364 …public void CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CGEMV()
487 …d CGBMV(@Transpose int TransA, int KL, int KU, Float2 alpha, Allocation A, Allocation X, int incX,… in CGBMV()
1839 …public void CHEMV(@Uplo int Uplo, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta,… in CHEMV()
1868 …public void CHBMV(@Uplo int Uplo, int K, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CHBMV()
1900 …public void CHPMV(@Uplo int Uplo, Float2 alpha, Allocation Ap, Allocation X, int incX, Float2 beta… in CHPMV()
1919 public void CGERU(Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation A) { in CGERU()
1939 public void CGERC(Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation A) { in CGERC()
2005 …public void CHER2(@Uplo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Al… in CHER2()
2033 …public void CHPR2(@Uplo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Al… in CHPR2()
2413 public void CGEMM(@Transpose int TransA, @Transpose int TransB, Float2 alpha, Allocation A, in CGEMM()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DFloat2.java27 public class Float2 { class
28 public Float2() { in Float2() method in Float2
31 public Float2(float initX, float initY) { in Float2() method in Float2
DFieldPacker.java269 public void addF32(Float2 v) { in addF32()
430 public Float2 subFloat2() { in subFloat2()
431 Float2 v = new Float2(); in subFloat2()
727 if (obj instanceof Float2) { in addToPack()
728 fp.addF32((Float2)obj); in addToPack()
855 if (obj instanceof Float2) { in getPackedSize()
DScriptIntrinsicBLAS.java391 …public void CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CGEMV()
554 …d CGBMV(@Transpose int TransA, int KL, int KU, Float2 alpha, Allocation A, Allocation X, int incX,… in CGBMV()
2270 …public void CHEMV(@Uplo int Uplo, Float2 alpha, Allocation A, Allocation X, int incX, Float2 beta,… in CHEMV()
2309 …public void CHBMV(@Uplo int Uplo, int K, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CHBMV()
2351 …public void CHPMV(@Uplo int Uplo, Float2 alpha, Allocation Ap, Allocation X, int incX, Float2 beta… in CHPMV()
2380 public void CGERU(Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation A) { in CGERU()
2410 public void CGERC(Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation A) { in CGERC()
2502 …public void CHER2(@Uplo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Al… in CHER2()
2540 …public void CHPR2(@Uplo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Al… in CHPR2()
3036 public void CGEMM(@Transpose int TransA, @Transpose int TransB, Float2 alpha, Allocation A, in CGEMM()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java28 import android.renderscript.Float2;
83 private boolean result(String testName, Float2 javaRslt, Float2 rsRslt) { in result()
167 final Float2 javaVal = new Float2(input[javaRslt.x], input[javaRslt.y]); in findMinAndMax()
168 final Float2 rsVal = new Float2(input[rsRslt.x], input[rsRslt.y]); in findMinAndMax()
DUT_reduce.java28 import android.renderscript.Float2;
265 private boolean result(String testName, final timing t, Float2 javaResult, Float2 rsResult) { in result()
556 final Float2 javaVal = new Float2(input[javaResult.x], input[javaResult.y]); in findMinAndMax_array()
557 final Float2 rsVal = new Float2(input[rsResult.x], input[rsResult.y]); in findMinAndMax_array()
584 final Float2 javaVal = new Float2(inputArray[javaResult.x], inputArray[javaResult.y]); in findMinAndMax()
585 final Float2 rsVal = new Float2(inputArray[rsResult.x], inputArray[rsResult.y]); in findMinAndMax()
610 final Float2 javaVal = new Float2(input[javaResult.x], input[javaResult.y]); in patternFindMinAndMaxInf()
611 final Float2 rsVal = new Float2(input[rsResult.x], input[rsResult.y]); in patternFindMinAndMaxInf()
DUT_vector.java26 import android.renderscript.Float2;
47 Float2 F2 = s.get_f2(); in initializeGlobals()
DUT_math_agree.java23 import android.renderscript.Float2;
48 private Float2 pack_f2(float[] val) { in pack_f2()
50 return new Float2(val[0], val[1]); in pack_f2()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java30 import androidx.renderscript.Float2;
85 private boolean result(String testName, Float2 javaRslt, Float2 rsRslt) { in result()
169 final Float2 javaVal = new Float2(input[javaRslt.x], input[javaRslt.y]); in findMinAndMax()
170 final Float2 rsVal = new Float2(input[rsRslt.x], input[rsRslt.y]); in findMinAndMax()
DUT_reduce.java30 import androidx.renderscript.Float2;
267 private boolean result(String testName, final timing t, Float2 javaResult, Float2 rsResult) { in result()
558 final Float2 javaVal = new Float2(input[javaResult.x], input[javaResult.y]); in findMinAndMax_array()
559 final Float2 rsVal = new Float2(input[rsResult.x], input[rsResult.y]); in findMinAndMax_array()
586 final Float2 javaVal = new Float2(inputArray[javaResult.x], inputArray[javaResult.y]); in findMinAndMax()
587 final Float2 rsVal = new Float2(inputArray[rsResult.x], inputArray[rsResult.y]); in findMinAndMax()
612 final Float2 javaVal = new Float2(input[javaResult.x], input[javaResult.y]); in patternFindMinAndMaxInf()
613 final Float2 rsVal = new Float2(input[rsResult.x], input[rsResult.y]); in patternFindMinAndMaxInf()
DUT_vector.java28 import androidx.renderscript.Float2;
49 Float2 F2 = s.get_f2(); in initializeGlobals()
DUT_math_agree.java25 import androidx.renderscript.Float2;
50 private Float2 pack_f2(float[] val) { in pack_f2()
52 return new Float2(val[0], val[1]); in pack_f2()
/frameworks/rs/cpp/
DrsCppStructs.h295 class Float2 {
299 Float2(float initX, float initY) in Float2() function
301 Float2() : x(0), y(0) {} in Float2() function
1888 Float2 alpha, const sp<Allocation>& A, const sp<Allocation>& X, int incX,
1889 Float2 beta, const sp<Allocation>& Y, int incY);
1991 int KL, int KU, Float2 alpha, const sp<Allocation>& A, const sp<Allocation>& X,
1992 int incX, Float2 beta, const sp<Allocation>& Y, int incY);
2875 void CHEMV(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& A, const sp<Allocation>& X,
2876 int incX, Float2 beta, const sp<Allocation>& Y, int incY);
2901 … void CHBMV(RsBlasUplo Uplo, int K, Float2 alpha, const sp<Allocation>& A, const sp<Allocation>& X,
[all …]
DScriptIntrinsicBLAS.cpp235 void ScriptIntrinsicBLAS::CGEMV(RsBlasTranspose TransA, Float2 alpha, const sp<Allocation>& A, cons… in CGEMV()
236 int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CGEMV()
289 void ScriptIntrinsicBLAS::CGBMV(RsBlasTranspose TransA, int KL, int KU, Float2 alpha, const sp<Allo… in CGBMV()
290 … const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CGBMV()
1005 void ScriptIntrinsicBLAS::CHEMV(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& A, in CHEMV()
1006 … const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CHEMV()
1015 void ScriptIntrinsicBLAS::CHBMV(RsBlasUplo Uplo, int K, Float2 alpha, const sp<Allocation>& A, in CHBMV()
1016 … const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CHBMV()
1028 void ScriptIntrinsicBLAS::CHPMV(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& Ap, in CHPMV()
1029 … const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) { in CHPMV()
[all …]
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java140 mPhysicsScript.set_gMinPos(new Float2(5, 5)); in init()
141 mPhysicsScript.set_gMaxPos(new Float2(width - 5, height - 5)); in init()
154 mPhysicsScript.set_gGravityVector(new Float2(x, y)); in setAccel()
/frameworks/compile/slang/
DREADME.rst221 set_delta(int index, Float2 v, boolean copyNow)
225 public void set_delta(int index, Float2 v, boolean copyNow)
226 public void set_position(int index, Float2 v, boolean copyNow)
228 public Float2 get_delta(int index)
229 public Float2 get_position(int index)
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java10 import android.renderscript.Float2;
335 nbody.set_RADIUS_RANGE(new Float2(mMode[P_RAD_MIN], mMode[P_RAD_MAX])); in doInBackground()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUT_vector.java32 Float2 F2 = s.get_f2(); in initializeGlobals()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_vector.java32 Float2 F2 = s.get_f2(); in initializeGlobals()
DUT_math_agree.java37 private Float2 pack_f2(float[] val) { in pack_f2()
39 return new Float2(val[0], val[1]); in pack_f2()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUT_vector.java32 Float2 F2 = s.get_f2(); in initializeGlobals()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect429 public Float2[] get() {
433 Float2[] result = new Float2[7];
435 result[Idx] = new Float2(outArray[2*Idx+0], outArray[2*Idx+1]);
464 private Float2[] mResult;
1773 public Float2 get() {
1777 mResult = new Float2(outArray[0], outArray[1]);
1803 private Float2 mResult;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt59592 Landroid/renderscript/Float2;-><init>(Landroid/renderscript/Float2;)V
59593 Landroid/renderscript/Float2;->add(F)V
59594 Landroid/renderscript/Float2;->add(Landroid/renderscript/Float2;)V
59595 Landroid/renderscript/Float2;->add(Landroid/renderscript/Float2;F)Landroid/renderscript/Float2;
59596 Landroid/renderscript/Float2;->add(Landroid/renderscript/Float2;Landroid/renderscript/Float2;)Landr…
59597 Landroid/renderscript/Float2;->addAt(IF)V
59598 Landroid/renderscript/Float2;->addMultiple(Landroid/renderscript/Float2;F)V
59599 Landroid/renderscript/Float2;->copyTo([FI)V
59600 Landroid/renderscript/Float2;->div(F)V
59601 Landroid/renderscript/Float2;->div(Landroid/renderscript/Float2;)V
[all …]

12