Home
last modified time | relevance | path

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

123456

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rscript37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) {
38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad));
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) {
44 return (short) (max
57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
58 return (short) (max * sigmoid(cylinderDistance(p1, p2, img) - rad));
61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
64 return (short) (max
77 static short circle(float3 center, float circleRadius, float3 normal, float rad,
78 short max, float3 img) {
[all …]
Dmandelbulb.rscript53 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/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript58 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/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript58 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript58 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/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript58 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/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DCommandParser.kt204 private fun checkCliNames(short: String?, long: String): String? { in checkCliNames()
205 if (short != null && tokenSet.contains(short)) { in checkCliNames()
206 return short in checkCliNames()
219 private fun registerNames(short: String?, long: String) { in subCommandContainsSubCommands()
220 if (short != null) { in subCommandContainsSubCommands()
221 tokenSet.add(short) in subCommandContainsSubCommands()
DParseableCommand.kt255 val short = shortName?.let { "-$shortName" } in flag() constant
258 return parser.flag(long, short, description) in flag()
277 val short = shortName?.let { "-$shortName" } in param() constant
280 return parser.param(long, short, description, valueParser) in param()
294 private fun checkShortName(short: String?): Boolean { in subCommand()
295 return short == null || short.length == 1 in subCommand()
/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…
/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…
/frameworks/compile/slang/tests/F_reflection3264_multifile/
Dreflection3264_multifile_2.rscript4 short v;
6 short w;
/frameworks/compile/slang/tests/P_export_types_v20/
Dexport_types.rscript11 short s = 1;
12 unsigned short us = 1;
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rscript12 short s = 1;
13 unsigned short us = 1;
/frameworks/rs/script_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/compile/slang/lit-tests/padding/
Dmore_structs.rscript63 // CHECK-JAVA-INVOKE: public void invoke_check_char_struct(short arg1, long arg2) {
71 … public void invoke_check_five_struct(byte arg1, long arg2, short arg3, long arg4, short arg5) {
90 short f1;
101 short f3;
112 void check_char_struct(short arg1, long arg2) {
116 void check_five_struct(char arg1, long arg2, short arg3, long arg4, half arg5) {
/frameworks/compile/slang/tests/P_reflection3264_multifile/
DScriptC_reflection3264_multifile_2.java.expect50 private short[] mExportVar_a;
51 public synchronized void set_a(short[] v) {
63 public short[] get_a() {
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect511 public short[] get() {
513 short[] outArray = new short[7];
541 private short[] mResult;
549 short[] outArray = new short[14];
590 short[] outArray = new short[28];
865 public short[] get() {
867 short[] outArray = new short[7];
895 private short[] mResult;
903 short[] outArray = new short[14];
944 short[] outArray = new short[28];
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript40 short s1;
41 short s1i = 1;
122 void RS_KERNEL test_I16(short in) {
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
DSimpleProperties.java.txt77 * Property ID of {@code short}.
94 mShortId = propertyMapper.mapShort("short", R.attr.short);
/frameworks/base/location/api/
Dsystem-current.txt203 method @Deprecated public short getLeapSecond();
228 method @Deprecated public void setLeapSecond(short);
242 method @Deprecated public short getAccumulatedDeltaRangeState();
268 method @Deprecated public short getState();
269 method @Deprecated public short getTimeFromLastBitInMs();
310 method @Deprecated public void setAccumulatedDeltaRangeState(short);
336 method @Deprecated public void setState(short);
337 method @Deprecated public void setTimeFromLastBitInMs(short);
341 field @Deprecated public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4
342 field @Deprecated public static final short ADR_STATE_RESET = 2; // 0x2
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript72 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 …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dreflection3264_foreach_mismatch.rscript27 void ee(const int *in, short *out) { }
31 void ff(const int *in, short *out) { }
110 const short *in
/frameworks/compile/slang/tests/F_reflection3264_variable_extra64/
Dreflection3264_variable_extra64.rscript14 short e = 1;
/frameworks/compile/slang/tests/F_reflection3264_variable_extra32/
Dreflection3264_variable_extra32.rscript14 short e = 1;

123456