Home
last modified time | relevance | path

Searched refs:short (Results 1 – 25 of 191) sorted by relevance

12345678

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rs37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) { constant
38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad));
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) { constant
44 return (short) (max
57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) { constant
58 return (short) (max * sigmoid(cylinderDistance(p1, p2, img) - rad));
61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) { constant
64 return (short) (max
77 static short circle(float3 center, float circleRadius, float3 normal, float rad, variable
78 short max, float3 img) {
[all …]
Dmandelbulb.rs53 short __attribute__((kernel)) mandelbulb(uint32_t x, uint32_t y) {
73 return (short) (255 - (len * 255) / 4);
76 void __attribute__((kernel)) copy(short in, uint32_t x, uint32_t y) {
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
110 short cv = hsv.x;
111 short cs = hsv.y;
112 short ch = hsv.z;
135 cv=(short) (cv >> ABITS);
[all …]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
110 short cv = hsv.x;
111 short cs = hsv.y;
112 short ch = hsv.z;
135 cv=(short) (cv >> ABITS);
[all …]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
110 short cv = hsv.x;
111 short cs = hsv.y;
112 short ch = hsv.z;
135 cv=(short) (cv >> ABITS);
[all …]
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs58 short rv,rs,rh;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
110 short cv = hsv.x;
111 short cs = hsv.y;
112 short ch = hsv.z;
135 cv=(short) (cv >> ABITS);
[all …]
/frameworks/av/media/libnbaio/
DREADME.txt5 Note: as used here, "short transfer count" means the return value for
17 never return a short transfer count
22 return a short transfer count if not enough data
33 if configured to not block, then will return a short transfer count
38 return a short transfer count if not enough data
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect1 …:5:17: error: Special parameter 'x' must be of type 'int' or 'unsigned int'. It is of type 'short'.
3 … Special parameters 'x' and 'y' must be of the same type. 'x' is of type 'short' while 'y' is of t…
5 … Special parameters 'x' and 'z' must be of the same type. 'x' is of type 'short' while 'z' is of t…
Droot_compute_non_uint32_t_xyzar.rs5 short x, float y, double z, uchar ar) {
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/
Dstderr.txt.expect1 …:6:17: error: Special parameter 'x' must be of type 'int' or 'unsigned int'. It is of type 'short'.
3 … Special parameters 'x' and 'y' must be of the same type. 'x' is of type 'short' while 'y' is of t…
5 … Special parameters 'x' and 'z' must be of the same type. 'x' is of type 'short' while 'z' is of t…
Droot_compute_non_uint32_t_xyzwar.rs6 short x, float y, double z, long w, uchar ar) {
/frameworks/compile/slang/tests/P_export_types_v20/
Dexport_types.rs11 short s = 1;
12 unsigned short us = 1;
/frameworks/rs/tests/typecheck/
Dkernels.rs40 short s1;
41 short s1i = 1;
122 void RS_KERNEL test_I16(short in) {
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs12 short s = 1;
13 unsigned short us = 1;
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect508 public short[] get() {
510 short[] outArray = new short[7];
538 private short[] mResult;
546 short[] outArray = new short[14];
587 short[] outArray = new short[28];
862 public short[] get() {
864 short[] outArray = new short[7];
892 private short[] mResult;
900 short[] outArray = new short[14];
941 short[] outArray = new short[28];
[all …]
/frameworks/rs/api/
Drs_convert.spec37 <code>a.x = (short)b.x; a.y = (short)b.y; a.z = (short)b.z;</code>.
42 For example, converting a float that contains 1.0e18 to a short is undefined.
/frameworks/base/docs/html/distribute/stories/games/
Dtwo-dots.jd2 …Experiments to see if adding a call to action in the games’ store listing short descriptions had a…
30 store listing short descriptions had an impact on installs.
38 Console to test both games’ short descriptions. They compared the games’
46 The results showed that the addition of a call to action in the short
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs72 static void my_half_short_0_accum(int *accum, half a, short b) { }
75 static void my_half_short_1_accum(int *accum, half a, short b, rs_kernel_context context) { }
198 static void my_half2_short_0_accum(int *accum, half2 a, short b) { }
201 static void my_half2_short_1_accum(int *accum, half2 a, short b, rs_kernel_context context) { }
324 static void my_half4_short_0_accum(int *accum, half4 a, short b) { }
327 static void my_half4_short_1_accum(int *accum, half4 a, short b, rs_kernel_context context) { }
450 static void my_float_short_0_accum(int *accum, float a, short b) { }
453 static void my_float_short_1_accum(int *accum, float a, short b, rs_kernel_context context) { }
576 static void my_float2_short_0_accum(int *accum, float2 a, short b) { }
579 static void my_float2_short_1_accum(int *accum, float2 a, short b, rs_kernel_context context) { }
[all …]
DScriptC_reduce_general_inputs.java.expect123 public result_int reduce_my_half_half_0(short[] in1, short[] in2) {
187 public result_int reduce_my_half_half_1(short[] in1, short[] in2) {
251 public result_int reduce_my_half_half2_0(short[] in1, short[] in2) {
319 public result_int reduce_my_half_half2_1(short[] in1, short[] in2) {
387 public result_int reduce_my_half_half4_0(short[] in1, short[] in2) {
455 public result_int reduce_my_half_half4_1(short[] in1, short[] in2) {
523 public result_int reduce_my_half_float_0(short[] in1, float[] in2) {
587 public result_int reduce_my_half_float_1(short[] in1, float[] in2) {
651 public result_int reduce_my_half_float2_0(short[] in1, float[] in2) {
719 public result_int reduce_my_half_float2_1(short[] in1, float[] in2) {
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dindex.jd33 <!-- Create a list of the lessons in this class along with a short description of each lesson.
34 These should be short and to the point. It should be clear from reading the summary whether someone
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dindex.jd33 <!-- Create a list of the lessons in this class along with a short description of each lesson.
34 These should be short and to the point. It should be clear from reading the summary whether someone
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dindex.jd33 <!-- Create a list of the lessons in this class along with a short description of each lesson.
34 These should be short and to the point. It should be clear from reading the summary whether someone
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dindex.jd33 <!-- Create a list of the lessons in this class along with a short description of each lesson.
34 These should be short and to the point. It should be clear from reading the summary whether someone
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dreduce_general_bad_result.rs37 short s;
54 static void AccumUnionShortDouble(union UnionShortDouble *accum, short s, double d) { }
61 static void AccumUnionCharInt(union UnionCharInt *accum, short s, double d) { }
73 short s;
100 static void AccumUnionDoubleFloatArray(UnionDoubleFloatArray *accum, short s, double d) { }
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dsingle_source_alloc.rs53 VERIFY_KERNEL(short)
167 STORE_TO_ALLOC(RS_TYPE_SIGNED_16, short);
189 LAUNCH_VERIFY_KERNEL(RS_TYPE_SIGNED_16, short);
383 TEST_HELPERS(short);

12345678