/frameworks/base/rs/java/android/renderscript/ |
D | Int2.java | 25 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 …]
|
D | Long2.java | 25 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 …]
|
D | Short2.java | 28 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 …]
|
D | Double2.java | 25 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 …]
|
D | Float2.java | 25 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 …]
|
D | Byte2.java | 26 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 …]
|
D | Double3.java | 25 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 …]
|
D | Int3.java | 25 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 …]
|
D | Long3.java | 25 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 …]
|
D | Short3.java | 25 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 …]
|
D | Float3.java | 25 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 …]
|
D | Byte3.java | 26 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 …]
|
D | Short4.java | 25 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 …]
|
D | Int4.java | 25 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 …]
|
D | Long4.java | 25 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 …]
|
D | Float4.java | 25 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 …]
|
D | Double4.java | 25 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 …]
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 37 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/ |
D | Vector.h | 33 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/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_huffman_decoding.cpp | 128 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/av/media/libstagefright/codecs/amrwbenc/src/ |
D | decim54.c | 97 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 76 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/RsTest_14/src/com/android/rs/test/ |
D | UT_vector.java | 33 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 37 F2.y = 3.99f; in initializeGlobals() 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 45 F3.y = 3.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 54 F4.y = 3.99f; in initializeGlobals() 60 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 64 D2.y = 3.99; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 72 D3.y = 3.99; in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_vector.java | 50 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 54 F2.y = 3.99f; in initializeGlobals() 58 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 62 F3.y = 3.99f; in initializeGlobals() 67 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 71 F4.y = 3.99f; in initializeGlobals() 77 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 81 D2.y = 3.99; in initializeGlobals() 85 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 89 D3.y = 3.99; in initializeGlobals() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_vector.java | 48 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 …]
|