Home
last modified time | relevance | path

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

12345678910>>...61

/frameworks/base/rs/java/android/renderscript/
DFloat2.java25 public float y; field in Float2
32 this.y = data.y; in Float2()
35 public Float2(float x, float y) { in Float2() argument
37 this.y = y; in Float2()
50 res.y = a.y + b.y; in add()
62 y += value.y; in add()
72 y += value; in add()
85 res.y = a.y + b; in add()
97 y -= value.y; in sub()
110 res.y = a.y - b.y; in sub()
[all …]
DDouble2.java25 public double y; field in Double2
33 this.y = data.y; in Double2()
36 public Double2(double x, double y) { in Double2() argument
38 this.y = y; in Double2()
51 res.y = a.y + b.y; in add()
63 y += value.y; in add()
73 y += value; in add()
86 res.y = a.y + b; in add()
98 y -= value.y; in sub()
111 res.y = a.y - b.y; in sub()
[all …]
DShort2.java28 public short y; field in Short2
35 this.x = this.y = i; in Short2()
38 public Short2(short x, short y) { in Short2() argument
40 this.y = y; in Short2()
46 this.y = source.y; in Short2()
56 this.y += a.y; in add()
69 result.y = (short)(a.y + b.y); in add()
81 y += value; in add()
94 result.y = (short)(a.y + b); in add()
106 this.y -= a.y; in sub()
[all …]
DInt2.java25 public int y; field in Int2
32 this.x = this.y = i; in Int2()
35 public Int2(int x, int y) { in Int2() argument
37 this.y = y; in Int2()
43 this.y = source.y; in Int2()
53 this.y += a.y; in add()
66 result.y = a.y + b.y; in add()
78 y += value; in add()
91 result.y = a.y + b; in add()
103 this.y -= a.y; in sub()
[all …]
DLong2.java25 public long y; field in Long2
32 this.x = this.y = i; in Long2()
35 public Long2(long x, long y) { in Long2() argument
37 this.y = y; in Long2()
43 this.y = source.y; in Long2()
53 this.y += a.y; in add()
66 result.y = a.y + b.y; in add()
78 y += value; in add()
91 result.y = a.y + b; in add()
103 this.y -= a.y; in sub()
[all …]
DByte2.java26 public byte y; field in Byte2
33 y = initY; in Byte2()
39 this.y = source.y; in Byte2()
49 this.y += a.y; in add()
62 result.y = (byte)(a.y + b.y); in add()
74 y += value; in add()
87 result.y = (byte)(a.y + b); in add()
99 this.y -= a.y; in sub()
112 result.y = (byte)(a.y - b.y); in sub()
124 y -= value; in sub()
[all …]
DDouble3.java25 public double y; field in Double3
33 this.y = data.y; in Double3()
37 public Double3(double x, double y, double z) { in Double3() argument
39 this.y = y; in Double3()
53 res.y = a.y + b.y; in add()
66 y += value.y; in add()
77 y += value; in add()
91 res.y = a.y + b; in add()
104 y -= value.y; in sub()
118 res.y = a.y - b.y; in sub()
[all …]
DShort3.java25 public short y; 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
38 this.y = y; in Short3()
45 this.y = source.y; in Short3()
56 this.y += a.y; in add()
70 result.y = (short)(a.y + b.y); in add()
83 y += value; in add()
97 result.y = (short)(a.y + b); in add()
110 this.y -= a.y; in sub()
[all …]
DLong3.java25 public long y; 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
38 this.y = y; in Long3()
45 this.y = source.y; in Long3()
56 this.y += a.y; in add()
70 result.y = a.y + b.y; in add()
83 y += value; in add()
97 result.y = a.y + b; in add()
110 this.y -= a.y; in sub()
[all …]
DInt3.java25 public int y; 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
38 this.y = y; in Int3()
45 this.y = source.y; in Int3()
56 this.y += a.y; in add()
70 result.y = a.y + b.y; in add()
83 y += value; in add()
97 result.y = a.y + b; in add()
110 this.y -= a.y; in sub()
[all …]
DFloat3.java25 public float y; field in Float3
33 this.y = data.y; in Float3()
37 public Float3(float x, float y, float z) { in Float3() argument
39 this.y = y; in Float3()
53 res.y = a.y + b.y; in add()
66 y += value.y; in add()
77 y += value; in add()
91 res.y = a.y + b; in add()
104 y -= value.y; in sub()
118 res.y = a.y - b.y; in sub()
[all …]
DByte3.java26 public byte y; field in Byte3
34 y = initY; in Byte3()
41 this.y = source.y; in Byte3()
52 this.y += a.y; in add()
66 result.y = (byte)(a.y + b.y); in add()
79 y += value; in add()
93 result.y = (byte)(a.y + b); in add()
106 this.y -= a.y; in sub()
120 result.y = (byte)(a.y - b.y); in sub()
133 y -= value; in sub()
[all …]
DShort4.java25 public short y; 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
39 this.y = y; in Short4()
47 this.y = source.y; in Short4()
59 this.y += a.y; in add()
74 result.y = (short)(a.y + b.y); in add()
88 y += value; in add()
103 result.y = (short)(a.y + b); in add()
117 this.y -= a.y; in sub()
[all …]
DLong4.java25 public long y; 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
39 this.y = y; in Long4()
47 this.y = source.y; in Long4()
59 this.y += a.y; in add()
74 result.y = a.y + b.y; in add()
88 y += value; in add()
103 result.y = a.y + b; in add()
117 this.y -= a.y; in sub()
[all …]
DInt4.java25 public int y; 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
39 this.y = y; in Int4()
47 this.y = source.y; in Int4()
59 this.y += a.y; in add()
74 result.y = a.y + b.y; in add()
88 y += value; in add()
103 result.y = a.y + b; in add()
117 this.y -= a.y; in sub()
[all …]
DDouble4.java25 public double y; field in Double4
34 this.y = data.y; in Double4()
39 public Double4(double x, double y, double z, double w) { in Double4() argument
41 this.y = y; in Double4()
56 res.y = a.y + b.y; in add()
70 y += value.y; in add()
82 y += value; in add()
97 res.y = a.y + b; in add()
111 y -= value.y; in sub()
123 y -= value; in sub()
[all …]
DFloat4.java25 public float y; field in Float4
34 this.y = data.y; in Float4()
39 public Float4(float x, float y, float z, float w) { in Float4() argument
41 this.y = y; in Float4()
56 res.y = a.y + b.y; in add()
70 y += value.y; in add()
82 y += value; in add()
97 res.y = a.y + b; in add()
111 y -= value.y; in sub()
123 y -= value; in sub()
[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/base/libs/hwui/
DVector.h33 float y; member
36 return x * x + y * y; in lengthSquared()
40 return sqrt(x * x + y * y); in length()
45 y += v.y;
50 y -= v.y;
55 y += v;
60 y -= v;
65 y /= s;
70 y *= s;
74 return (Vector2){x + v.x, y + v.y};
[all …]
/frameworks/av/media/libstagefright/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rs28 static half ElementAt_half(int x, int y, int z) {
29 return gStart + x + y * gDimX + z * gDimX * gDimY;
32 static half2 ElementAt_half2(int x, int y, int z) {
33 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
38 static half3 ElementAt_half3(int x, int y, int z) {
39 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
44 static half4 ElementAt_half4(int x, int y, int z) {
45 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
50 static void compare_half(half x, half y) {
51 _RS_ASSERT_EQU(x, y);
[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()
45 public final void set(float x, float y) { in set() argument
47 this.y = y; in set()
55 this.y = p.y; in set()
60 y = -y; in negate()
65 y += dy; in offset()
71 public final boolean equals(float x, float y) { in equals() argument
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DomxVCM4P10_PredictIntraChroma_8x8.c66 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCUp4x4() local
78 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCUp4x4()
80 Sum += pSrcLeft[y*leftStep]; in armVCM4P10_PredictIntraDCUp4x4()
92 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCUp4x4()
96 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCUp4x4()
128 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCLeft4x4() local
132 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCLeft4x4()
134 Sum += pSrcLeft[y*leftStep]; in armVCM4P10_PredictIntraDCLeft4x4()
154 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCLeft4x4()
158 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCLeft4x4()
[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 …]

12345678910>>...61