Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/frameworks/base/rs/java/android/renderscript/
DDouble3.java26 public double z; field in Double3
34 this.z = data.z; in Double3()
37 public Double3(double x, double y, double z) { in Double3() argument
40 this.z = z; in Double3()
54 res.z = a.z + b.z; in add()
67 z += value.z; in add()
78 z += value; in add()
92 res.z = a.z + b; in add()
105 z -= value.z; in sub()
119 res.z = a.z - b.z; in sub()
[all …]
DInt3.java26 public int z; field in Int3
33 this.x = this.y = this.z = i; in Int3()
36 public Int3(int x, int y, int z) { in Int3() argument
39 this.z = z; in Int3()
46 this.z = source.z; in Int3()
57 this.z += a.z; in add()
71 result.z = a.z + b.z; in add()
84 z += value; in add()
98 result.z = a.z + b; in add()
111 this.z -= a.z; in sub()
[all …]
DShort3.java26 public short z; field in Short3
33 this.x = this.y = this.z = i; in Short3()
36 public Short3(short x, short y, short z) { in Short3() argument
39 this.z = z; in Short3()
46 this.z = source.z; in Short3()
57 this.z += a.z; in add()
71 result.z = (short)(a.z + b.z); in add()
84 z += value; in add()
98 result.z = (short)(a.z + b); in add()
111 this.z -= a.z; in sub()
[all …]
DLong3.java26 public long z; field in Long3
33 this.x = this.y = this.z = i; in Long3()
36 public Long3(long x, long y, long z) { in Long3() argument
39 this.z = z; in Long3()
46 this.z = source.z; in Long3()
57 this.z += a.z; in add()
71 result.z = a.z + b.z; in add()
84 z += value; in add()
98 result.z = a.z + b; in add()
111 this.z -= a.z; in sub()
[all …]
DFloat3.java26 public float z; field in Float3
34 this.z = data.z; in Float3()
37 public Float3(float x, float y, float z) { in Float3() argument
40 this.z = z; in Float3()
54 res.z = a.z + b.z; in add()
67 z += value.z; in add()
78 z += value; in add()
92 res.z = a.z + b; in add()
105 z -= value.z; in sub()
119 res.z = a.z - b.z; in sub()
[all …]
DByte3.java27 public byte z; field in Byte3
35 z = initZ; in Byte3()
42 this.z = source.z; in Byte3()
53 this.z += a.z; in add()
67 result.z = (byte)(a.z + b.z); in add()
80 z += value; in add()
94 result.z = (byte)(a.z + b); in add()
107 this.z -= a.z; in sub()
121 result.z = (byte)(a.z - b.z); in sub()
134 z -= value; in sub()
[all …]
DInt4.java26 public int z; field in Int4
34 this.x = this.y = this.z = this.w = i; in Int4()
37 public Int4(int x, int y, int z, int w) { in Int4() argument
40 this.z = z; in Int4()
48 this.z = source.z; in Int4()
60 this.z += a.z; in add()
75 result.z = a.z + b.z; in add()
89 z += value; in add()
104 result.z = a.z + b; in add()
118 this.z -= a.z; in sub()
[all …]
DLong4.java26 public long z; field in Long4
34 this.x = this.y = this.z = this.w = i; in Long4()
37 public Long4(long x, long y, long z, long w) { in Long4() argument
40 this.z = z; in Long4()
48 this.z = source.z; in Long4()
60 this.z += a.z; in add()
75 result.z = a.z + b.z; in add()
89 z += value; in add()
104 result.z = a.z + b; in add()
118 this.z -= a.z; in sub()
[all …]
DShort4.java26 public short z; field in Short4
34 this.x = this.y = this.z = this.w = i; in Short4()
37 public Short4(short x, short y, short z, short w) { in Short4() argument
40 this.z = z; in Short4()
48 this.z = source.z; in Short4()
60 this.z += a.z; in add()
75 result.z = (short)(a.z + b.z); in add()
89 z += value; in add()
104 result.z = (short)(a.z + b); in add()
118 this.z -= a.z; in sub()
[all …]
DFloat4.java26 public float z; field in Float4
35 this.z = data.z; in Float4()
39 public Float4(float x, float y, float z, float w) { in Float4() argument
42 this.z = z; in Float4()
57 res.z = a.z + b.z; in add()
71 z += value.z; in add()
83 z += value; in add()
98 res.z = a.z + b; in add()
112 z -= value.z; in sub()
124 z -= value; in sub()
[all …]
DDouble4.java26 public double z; field in Double4
35 this.z = data.z; in Double4()
39 public Double4(double x, double y, double z, double w) { in Double4() argument
42 this.z = z; in Double4()
57 res.z = a.z + b.z; in add()
71 z += value.z; in add()
83 z += value; in add()
98 res.z = a.z + b; in add()
112 z -= value.z; in sub()
124 z -= value; in sub()
[all …]
DByte4.java27 public byte z; field in Byte4
36 z = initZ; in Byte4()
43 this.z = source.z; in Byte4()
55 this.z += a.z; in add()
70 result.z = (byte)(a.z + b.z); in add()
84 z += value; in add()
99 result.z = (byte)(a.z + b); in add()
113 this.z -= a.z; in sub()
128 result.z = (byte)(a.z - b.z); in sub()
142 z -= value; in sub()
[all …]
/frameworks/rs/driver/runtime/arch/
Dgeneric.c45 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \
53 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \
69 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \
77 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \
132 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
140 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
156 r.z = v1.z > v2 ? v1.z : v2; in fmax()
164 r.z = v1.z > v2 ? v1.z : v2; in fmax()
188 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
196 r.z = v1.z < v2.z ? v1.z : v2.z; in fmin()
[all …]
Dclamp.c56 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \
64 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); \
80 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \
88 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); \
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_vector.java41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
46 F3.z = 4.99f; in initializeGlobals()
50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
55 F4.z = 4.99f; in initializeGlobals()
68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
73 D3.z = 4.99; in initializeGlobals()
77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals()
82 D4.z = 4.99; in initializeGlobals()
95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals()
100 B3.z = 4; in initializeGlobals()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_vector.java41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
46 F3.z = 4.99f; in initializeGlobals()
50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
55 F4.z = 4.99f; in initializeGlobals()
68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
73 D3.z = 4.99; in initializeGlobals()
77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals()
82 D4.z = 4.99; in initializeGlobals()
95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals()
100 B3.z = 4; in initializeGlobals()
[all …]
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUT_vector.java41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
46 F3.z = 4.99f; in initializeGlobals()
50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
55 F4.z = 4.99f; in initializeGlobals()
68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
73 D3.z = 4.99; in initializeGlobals()
77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals()
82 D4.z = 4.99; in initializeGlobals()
95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals()
100 B3.z = 4; in initializeGlobals()
[all …]
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DUT_vector.java41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
46 F3.z = 4.99f; in initializeGlobals()
50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
55 F4.z = 4.99f; in initializeGlobals()
68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
73 D3.z = 4.99; in initializeGlobals()
77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals()
82 D4.z = 4.99; in initializeGlobals()
95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals()
100 B3.z = 4; in initializeGlobals()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_vector.java41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
46 F3.z = 4.99f; in initializeGlobals()
50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
55 F4.z = 4.99f; in initializeGlobals()
68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
73 D3.z = 4.99; in initializeGlobals()
77 if (D4.x != 1.0 || D4.y != 2.0 || D4.z != 3.0 || D4.w != 4.0) { in initializeGlobals()
82 D4.z = 4.99; in initializeGlobals()
95 if (B3.x != 1 || B3.y != 2 || B3.z != 3) { in initializeGlobals()
100 B3.z = 4; in initializeGlobals()
[all …]
/frameworks/native/include/ui/
Dvec3.h43 struct { T x, y, z; }; member
67 tvec3() : x(0), y(0), z(0) { } in tvec3()
71 tvec3(A v) : x(v), y(v), z(v) { } in tvec3()
74 tvec3(A x, B y, C z) : x(x), y(y), z(z) { } in tvec3() argument
77 tvec3(const tvec2<A>& v, B z) : x(v.x), y(v.y), z(z) { } in tvec3() argument
80 explicit tvec3(const tvec3<A>& v) : x(v.x), y(v.y), z(v.z) { } in tvec3()
86 z(((const tvec3<A>&)v).z) { } in tvec3()
89 tvec3(const Impersonator< tvec2<A> >& v, B z) in tvec3() argument
92 z(z) { } in tvec3()
99 u.y*v.z - u.z*v.y, in cross()
[all …]
Dvec4.h43 struct { T x, y, z, w; }; member
71 tvec4() : x(0), y(0), z(0), w(0) { } in tvec4()
75 tvec4(A v) : x(v), y(v), z(v), w(v) { } in tvec4()
78 tvec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in tvec4() argument
81 tvec4(const tvec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in tvec4() argument
84 tvec4(const tvec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in tvec4()
87 explicit tvec4(const tvec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in tvec4()
93 z(((const tvec4<A>&)v).z), in tvec4()
100 z(((const tvec3<A>&)v).z), in tvec4()
104 tvec4(const Impersonator< tvec2<A> >& v, B z, C w) in tvec4() argument
[all …]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs51 zoomFactor = dz.x * dz.x + dz.y * dz.y + dz.z * dz.z;
52 zoomFactor /= dx.x * dx.x + dx.y * dx.y + dx.z * dx.z;
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
74 float v = mix(v_0, v_1, delta.z);
87 int bz = p.z >> 5;
91 int off = brickno + (p.z & 0x1F) * 32 + (p.y & 0x1F);
121 short pix = rsGetElementAt_short(volume, ip.x, ip.y, ip.z);
143 float v_0_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 0);
144 float v_0_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 0);
146 float v_0_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 0);
[all …]
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
5 declare i8* @rsOffsetNs([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z)
36 define void @rsSetElementAtImpl_char([1 x i32] %a.coerce, i8 signext %val, i32 %x, i32 %y, i32 %z) …
37 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
42 define signext i8 @rsGetElementAtImpl_char([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
43 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
49 define void @rsSetElementAtImpl_char2([1 x i32] %a.coerce, <2 x i8> %val, i32 %x, i32 %y, i32 %z) #…
50 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2
56 define <2 x i8> @rsGetElementAtImpl_char2([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
57 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2
[all …]
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 …re i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z)
38 …pl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val, i32 %x, i32 %y, i32 %z) #1 {
39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
44 …@rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
51 …ntAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %x, i32 %y, i32 %z) #1 {
52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
59 …rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
60 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
[all …]
/frameworks/native/libs/ui/tests/
Dvec_test.cpp47 EXPECT_EQ(v0.z, 0); in TEST_F()
53 EXPECT_EQ(v1.z, 1); in TEST_F()
59 EXPECT_EQ(v2.z, 3); in TEST_F()
65 EXPECT_EQ(v3.z, 3); in TEST_F()
71 EXPECT_EQ(v4.z, 3); in TEST_F()
77 EXPECT_EQ(v5.z, 42); in TEST_F()
83 EXPECT_EQ(vd.z, 2); in TEST_F()
91 v0.z = 30; in TEST_F()
95 EXPECT_EQ(v0.z, 30); in TEST_F()
104 EXPECT_EQ(v0.z, 300); in TEST_F()
[all …]

12345678910>>...18