Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 1597) sorted by relevance

12345678910>>...64

/frameworks/base/rs/java/android/renderscript/
DDouble2.java30 public double y; field in Double2
38 this.y = data.y; in Double2()
41 public Double2(double x, double y) { in Double2() argument
43 this.y = y; in Double2()
56 res.y = a.y + b.y; in add()
68 y += value.y; in add()
78 y += value; in add()
91 res.y = a.y + b; in add()
103 y -= value.y; in sub()
116 res.y = a.y - b.y; in sub()
[all …]
DFloat2.java30 public float y; field in Float2
37 this.y = data.y; in Float2()
40 public Float2(float x, float y) { in Float2() argument
42 this.y = y; in Float2()
55 res.y = a.y + b.y; in add()
67 y += value.y; in add()
77 y += value; in add()
90 res.y = a.y + b; in add()
102 y -= value.y; in sub()
115 res.y = a.y - b.y; in sub()
[all …]
DLong2.java30 public long y; field in Long2
37 this.x = this.y = i; in Long2()
40 public Long2(long x, long y) { in Long2() argument
42 this.y = y; in Long2()
48 this.y = source.y; in Long2()
58 this.y += a.y; in add()
71 result.y = a.y + b.y; in add()
83 y += value; in add()
96 result.y = a.y + b; in add()
108 this.y -= a.y; in sub()
[all …]
DShort2.java33 public short y; field in Short2
40 this.x = this.y = i; in Short2()
43 public Short2(short x, short y) { in Short2() argument
45 this.y = y; in Short2()
51 this.y = source.y; in Short2()
61 this.y += a.y; in add()
74 result.y = (short)(a.y + b.y); in add()
86 y += value; in add()
99 result.y = (short)(a.y + b); in add()
111 this.y -= a.y; in sub()
[all …]
DInt2.java30 public int y; field in Int2
37 this.x = this.y = i; in Int2()
40 public Int2(int x, int y) { in Int2() argument
42 this.y = y; in Int2()
48 this.y = source.y; in Int2()
58 this.y += a.y; in add()
71 result.y = a.y + b.y; in add()
83 y += value; in add()
96 result.y = a.y + b; in add()
108 this.y -= a.y; in sub()
[all …]
DByte2.java30 public byte y; field in Byte2
37 y = initY; in Byte2()
43 this.y = source.y; in Byte2()
53 this.y += a.y; in add()
66 result.y = (byte)(a.y + b.y); in add()
78 y += value; in add()
91 result.y = (byte)(a.y + b); in add()
103 this.y -= a.y; in sub()
116 result.y = (byte)(a.y - b.y); in sub()
128 y -= value; in sub()
[all …]
DDouble3.java30 public double y; field in Double3
38 this.y = data.y; in Double3()
42 public Double3(double x, double y, double z) { in Double3() argument
44 this.y = y; in Double3()
58 res.y = a.y + b.y; in add()
71 y += value.y; in add()
82 y += value; in add()
96 res.y = a.y + b; in add()
109 y -= value.y; in sub()
123 res.y = a.y - b.y; in sub()
[all …]
DLong3.java30 public long y; field in Long3
38 this.x = this.y = this.z = i; in Long3()
41 public Long3(long x, long y, long z) { in Long3() argument
43 this.y = y; in Long3()
50 this.y = source.y; in Long3()
61 this.y += a.y; in add()
75 result.y = a.y + b.y; in add()
88 y += value; in add()
102 result.y = a.y + b; in add()
115 this.y -= a.y; in sub()
[all …]
DShort3.java30 public short y; field in Short3
38 this.x = this.y = this.z = i; in Short3()
41 public Short3(short x, short y, short z) { in Short3() argument
43 this.y = y; in Short3()
50 this.y = source.y; in Short3()
61 this.y += a.y; in add()
75 result.y = (short)(a.y + b.y); in add()
88 y += value; in add()
102 result.y = (short)(a.y + b); in add()
115 this.y -= a.y; in sub()
[all …]
DInt3.java30 public int y; field in Int3
38 this.x = this.y = this.z = i; in Int3()
41 public Int3(int x, int y, int z) { in Int3() argument
43 this.y = y; in Int3()
50 this.y = source.y; in Int3()
61 this.y += a.y; in add()
75 result.y = a.y + b.y; in add()
88 y += value; in add()
102 result.y = a.y + b; in add()
115 this.y -= a.y; in sub()
[all …]
DFloat3.java30 public float y; field in Float3
38 this.y = data.y; in Float3()
42 public Float3(float x, float y, float z) { in Float3() argument
44 this.y = y; in Float3()
58 res.y = a.y + b.y; in add()
71 y += value.y; in add()
82 y += value; in add()
96 res.y = a.y + b; in add()
109 y -= value.y; in sub()
123 res.y = a.y - b.y; in sub()
[all …]
DByte3.java30 public byte y; field in Byte3
38 y = initY; in Byte3()
45 this.y = source.y; in Byte3()
56 this.y += a.y; in add()
70 result.y = (byte)(a.y + b.y); in add()
83 y += value; in add()
97 result.y = (byte)(a.y + b); in add()
110 this.y -= a.y; in sub()
124 result.y = (byte)(a.y - b.y); in sub()
137 y -= value; in sub()
[all …]
DShort4.java30 public short y; field in Short4
39 this.x = this.y = this.z = this.w = i; in Short4()
42 public Short4(short x, short y, short z, short w) { in Short4() argument
44 this.y = y; in Short4()
52 this.y = source.y; in Short4()
64 this.y += a.y; in add()
79 result.y = (short)(a.y + b.y); in add()
93 y += value; in add()
108 result.y = (short)(a.y + b); in add()
122 this.y -= a.y; in sub()
[all …]
DLong4.java30 public long y; field in Long4
39 this.x = this.y = this.z = this.w = i; in Long4()
42 public Long4(long x, long y, long z, long w) { in Long4() argument
44 this.y = y; in Long4()
52 this.y = source.y; in Long4()
64 this.y += a.y; in add()
79 result.y = a.y + b.y; in add()
93 y += value; in add()
108 result.y = a.y + b; in add()
122 this.y -= a.y; in sub()
[all …]
DInt4.java30 public int y; field in Int4
39 this.x = this.y = this.z = this.w = i; in Int4()
42 public Int4(int x, int y, int z, int w) { in Int4() argument
44 this.y = y; in Int4()
52 this.y = source.y; in Int4()
64 this.y += a.y; in add()
79 result.y = a.y + b.y; in add()
93 y += value; in add()
108 result.y = a.y + b; in add()
122 this.y -= a.y; in sub()
[all …]
DFloat4.java30 public float y; field in Float4
39 this.y = data.y; in Float4()
44 public Float4(float x, float y, float z, float w) { in Float4() argument
46 this.y = y; in Float4()
61 res.y = a.y + b.y; in add()
75 y += value.y; in add()
87 y += value; in add()
102 res.y = a.y + b; in add()
116 y -= value.y; in sub()
128 y -= value; in sub()
[all …]
DDouble4.java30 public double y; field in Double4
39 this.y = data.y; in Double4()
44 public Double4(double x, double y, double z, double w) { in Double4() argument
46 this.y = y; in Double4()
61 res.y = a.y + b.y; in add()
75 y += value.y; in add()
87 y += value; in add()
102 res.y = a.y + b; in add()
116 y -= value.y; in sub()
128 y -= value; in sub()
[all …]
/frameworks/av/media/codecs/mp3dec/src/
Dpvmp3_huffman_decoding.cpp128 int32 y; in pvmp3_huffman_quad_decoding() local
132 y = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_quad_decoding()
135 if (y) in pvmp3_huffman_quad_decoding()
137 v = (y >> 3); in pvmp3_huffman_quad_decoding()
146 w = (y >> 2) & 1; in pvmp3_huffman_quad_decoding()
154 x = (y >> 1) & 1; in pvmp3_huffman_quad_decoding()
162 y = y & 1; in pvmp3_huffman_quad_decoding()
163 if (y) in pvmp3_huffman_quad_decoding()
167 y = -y; in pvmp3_huffman_quad_decoding()
183 *(is + 3) = y; in pvmp3_huffman_quad_decoding()
[all …]
/frameworks/base/libs/hwui/
DVector.h33 float y; member
35 float lengthSquared() const { return x * x + y * y; } in lengthSquared()
37 float length() const { return sqrt(x * x + y * y); } in length()
41 y += v.y;
46 y -= v.y;
51 y += v;
56 y -= v;
61 y /= s;
66 y *= s;
69 Vector2 operator+(const Vector2& v) const { return (Vector2){x + v.x, y + v.y}; }
[all …]
/frameworks/rs/driver/runtime/arch/
Dgeneric.c37 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \
44 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \
52 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \
61 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); \
68 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); \
76 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); \
125 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
132 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
140 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
149 r.y = v1.y > v2 ? v1.y : v2; in fmax()
[all …]
/frameworks/av/media/codecs/amrwb/enc/src/
Ddecim54.c97 Word16 *x, *y; in Down_samp() local
106 y = (Word16 *)(fir_down1 + frac); in Down_samp()
108 L_sum = vo_mult32((*x++),(*y++)); in Down_samp()
109 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
110 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
111 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
112 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
113 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
114 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
115 L_sum += vo_mult32((*x++),(*y++)); in Down_samp()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPointF.java28 public float y; field in PointF
32 public PointF(float x, float y) { in PointF() argument
34 this.y = y; in PointF()
39 this.y = p.y; in PointF()
51 this.y = p.y; in PointF()
57 public final void set(float x, float y) { in set() argument
59 this.y = y; in set()
67 this.y = p.y; in set()
72 y = -y; in negate()
77 y += dy; in offset()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java30 public float y; field in Point
37 public Point(float x, float y) { in Point() argument
39 this.y = y; in Point()
42 public void set(float x, float y) { in set() argument
44 this.y = y; in set()
49 y >= 0.0f && y <= 1.0f; in IsInUnitRange()
52 public Point plus(float x, float y) { in plus() argument
53 return new Point(this.x + x, this.y + y); in plus()
57 return this.plus(point.x, point.y); in plus()
60 public Point minus(float x, float y) { in minus() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java76 public static Quad fromRect(float x, float y, float width, float height) { in fromRect() argument
77 return new Quad(new PointF(x, y), in fromRect()
78 new PointF(x + width, y), in fromRect()
79 new PointF(x, y + height), in fromRect()
80 new PointF(x + width, y + height)); in fromRect()
95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); in fromLineAndHeight()
97 PointF np = new PointF(height * (dp.y / len), height * (dp.x / len)); in fromLineAndHeight()
98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); in fromLineAndHeight()
99 PointF p3 = new PointF(topRight.x - np.x, topRight.y + np.y); in fromLineAndHeight()
222 (mTopLeft.y + mBottomRight.y) / 2f); in center()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_vector.java48 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals()
52 F2.y = 3.99f; in initializeGlobals()
56 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals()
60 F3.y = 3.99f; in initializeGlobals()
65 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals()
69 F4.y = 3.99f; in initializeGlobals()
75 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals()
79 D2.y = 3.99; in initializeGlobals()
83 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals()
87 D3.y = 3.99; in initializeGlobals()
[all …]

12345678910>>...64