Home
last modified time | relevance | path

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

12345678910>>...42

/aosp14/frameworks/base/rs/java/android/renderscript/
H A DInt2.java42 this.y = y; in Int2()
58 this.y += a.y; in add()
71 result.y = a.y + b.y; in add()
108 this.y -= a.y; in sub()
121 result.y = a.y - b.y; in sub()
158 this.y *= a.y; in mul()
171 result.y = a.y * b.y; in mul()
208 this.y /= a.y; in div()
221 result.y = a.y / b.y; in div()
271 result.y = a.y % b.y; in mod()
[all …]
H A DLong2.java42 this.y = y; in Long2()
58 this.y += a.y; in add()
71 result.y = a.y + b.y; in add()
108 this.y -= a.y; in sub()
121 result.y = a.y - b.y; in sub()
158 this.y *= a.y; in mul()
171 result.y = a.y * b.y; in mul()
208 this.y /= a.y; in div()
221 result.y = a.y / b.y; in div()
271 result.y = a.y % b.y; in mod()
[all …]
H A DShort2.java45 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()
111 this.y -= a.y; in sub()
124 result.y = (short)(a.y - b.y); in sub()
161 this.y *= a.y; in mul()
174 result.y = (short)(a.y * b.y); in mul()
211 this.y /= a.y; in div()
224 result.y = (short)(a.y / b.y); in div()
[all …]
H A DDouble2.java38 this.y = data.y; in Double2()
43 this.y = y; in Double2()
56 res.y = a.y + b.y; in add()
68 y += value.y; in add()
103 y -= value.y; in sub()
116 res.y = a.y - b.y; in sub()
153 y *= value.y; in mul()
166 res.y = a.y * b.y; in mul()
216 res.y = a.y / b.y; in div()
293 y = -y; in negate()
[all …]
H A DFloat2.java37 this.y = data.y; in Float2()
42 this.y = y; in Float2()
55 res.y = a.y + b.y; in add()
67 y += value.y; in add()
102 y -= value.y; in sub()
115 res.y = a.y - b.y; in sub()
152 y *= value.y; in mul()
165 res.y = a.y * b.y; in mul()
215 res.y = a.y / b.y; in div()
292 y = -y; in negate()
[all …]
H A DByte2.java43 this.y = source.y; in Byte2()
53 this.y += a.y; in add()
66 result.y = (byte)(a.y + b.y); in add()
103 this.y -= a.y; in sub()
116 result.y = (byte)(a.y - b.y); in sub()
153 this.y *= a.y; in mul()
166 result.y = (byte)(a.y * b.y); in mul()
203 this.y /= a.y; in div()
216 result.y = (byte)(a.y / b.y); in div()
292 y += a.y * factor; in addMultiple()
[all …]
H A DDouble3.java38 this.y = data.y; in Double3()
44 this.y = y; in Double3()
58 res.y = a.y + b.y; in add()
71 y += value.y; in add()
109 y -= value.y; in sub()
123 res.y = a.y - b.y; in sub()
163 y *= value.y; in mul()
177 res.y = a.y * b.y; in mul()
231 res.y = a.y / b.y; in div()
313 y = -y; in negate()
[all …]
H A DInt3.java43 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()
115 this.y -= a.y; in sub()
129 result.y = a.y - b.y; in sub()
169 this.y *= a.y; in mul()
183 result.y = a.y * b.y; in mul()
237 result.y = a.y / b.y; in div()
291 result.y = a.y % b.y; in mod()
[all …]
H A DLong3.java43 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()
115 this.y -= a.y; in sub()
129 result.y = a.y - b.y; in sub()
169 this.y *= a.y; in mul()
183 result.y = a.y * b.y; in mul()
237 result.y = a.y / b.y; in div()
291 result.y = a.y % b.y; in mod()
[all …]
H A DShort3.java43 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()
115 this.y -= a.y; in sub()
129 result.y = (short)(a.y - b.y); in sub()
169 this.y *= a.y; in mul()
183 result.y = (short)(a.y * b.y); in mul()
223 this.y /= a.y; in div()
237 result.y = (short)(a.y / b.y); in div()
[all …]
H A DFloat3.java38 this.y = data.y; in Float3()
44 this.y = y; in Float3()
58 res.y = a.y + b.y; in add()
71 y += value.y; in add()
109 y -= value.y; in sub()
123 res.y = a.y - b.y; in sub()
163 y *= value.y; in mul()
177 res.y = a.y * b.y; in mul()
231 res.y = a.y / b.y; in div()
313 y = -y; in negate()
[all …]
H A DByte3.java45 this.y = source.y; in Byte3()
56 this.y += a.y; in add()
70 result.y = (byte)(a.y + b.y); in add()
110 this.y -= a.y; in sub()
124 result.y = (byte)(a.y - b.y); in sub()
164 this.y *= a.y; in mul()
178 result.y = (byte)(a.y * b.y); in mul()
218 this.y /= a.y; in div()
232 result.y = (byte)(a.y / b.y); in div()
312 y += a.y * factor; in addMultiple()
[all …]
H A DLong4.java44 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()
122 this.y -= a.y; in sub()
137 result.y = a.y - b.y; in sub()
180 this.y *= a.y; in mul()
195 result.y = a.y * b.y; in mul()
253 result.y = a.y / b.y; in div()
311 result.y = a.y % b.y; in mod()
[all …]
H A DInt4.java44 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()
122 this.y -= a.y; in sub()
137 result.y = a.y - b.y; in sub()
180 this.y *= a.y; in mul()
195 result.y = a.y * b.y; in mul()
253 result.y = a.y / b.y; in div()
311 result.y = a.y % b.y; in mod()
[all …]
H A DShort4.java44 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()
122 this.y -= a.y; in sub()
137 result.y = (short)(a.y - b.y); in sub()
180 this.y *= a.y; in mul()
195 result.y = (short)(a.y * b.y); in mul()
238 this.y /= a.y; in div()
253 result.y = (short)(a.y / b.y); in div()
[all …]
H A DDouble4.java39 this.y = data.y; in Double4()
46 this.y = y; in Double4()
61 res.y = a.y + b.y; in add()
75 y += value.y; in add()
116 y -= value.y; in sub()
160 res.y = a.y - b.y; in sub()
174 y *= value.y; in mul()
201 res.y = a.y * b.y; in mul()
276 res.y = a.y / b.y; in div()
334 y = -y; in negate()
[all …]
H A DFloat4.java39 this.y = data.y; in Float4()
46 this.y = y; in Float4()
61 res.y = a.y + b.y; in add()
75 y += value.y; in add()
116 y -= value.y; in sub()
160 res.y = a.y - b.y; in sub()
174 y *= value.y; in mul()
201 res.y = a.y * b.y; in mul()
276 res.y = a.y / b.y; in div()
334 y = -y; in negate()
[all …]
H A DByte4.java46 this.y = source.y; in Byte4()
58 this.y += a.y; in add()
73 result.y = (byte)(a.y + b.y); in add()
116 this.y -= a.y; in sub()
131 result.y = (byte)(a.y - b.y); in sub()
174 this.y *= a.y; in mul()
189 result.y = (byte)(a.y * b.y); in mul()
232 this.y /= a.y; in div()
247 result.y = (byte)(a.y / b.y); in div()
331 y += a.y * factor; in addMultiple()
[all …]
/aosp14/frameworks/base/libs/hwui/
H A 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;
80 y *= s; in normalize()
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DPointF.java28 public float y; field in PointF
34 this.y = y; in PointF()
39 this.y = p.y; in PointF()
51 this.y = p.y; in PointF()
59 this.y = y; in set()
67 this.y = p.y; in set()
72 y = -y; in negate()
77 y += dy; in offset()
84 return this.x == x && this.y == y; in equals()
95 if (Float.compare(pointF.y, y) != 0) return false; in equals()
[all …]
H A DPoint.java29 public int y; field in Point
35 this.y = y; in Point()
47 this.y = y; in set()
56 this.y = src.y; in set()
64 y = -y; in negate()
72 y += dy; in offset()
79 return this.x == x && this.y == y; in equals()
90 if (y != point.y) return false; in equals()
114 return x + "x" + y; in flattenToString()
144 out.writeInt(y); in writeToParcel()
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); 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()
251 factor * (mTopLeft.y - pc.y) + pc.y, in grow()
253 factor * (mTopRight.y - pc.y) + pc.y, in grow()
255 factor * (mBottomLeft.y - pc.y) + pc.y, in grow()
257 factor * (mBottomRight.y - pc.y) + pc.y); in grow()
296 return new PointF(mTopRight.x - mTopLeft.x, mTopRight.y - mTopLeft.y); in xEdge()
341 float x = (p.x - c.x) * cosa - (p.y - c.y) * sina + c.x; in rotatePoint()
[all …]
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A 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()
53 return new Point(this.x + x, this.y + y); in plus()
61 return new Point(this.x - x, this.y - y); in minus()
73 return new Point(this.x * x, this.y * y); in mult()
77 return (float)Math.hypot(x, y); in length()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/res/raw/
H A Da11y_three_finger_swipe_down_gesture.log5 … x[0]=500.0, y[0]=696.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=764.0, y[1]=801.0, toolType[1…
6 … x[0]=500.0, y[0]=696.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=766.0, y[1]=811.0, toolType[1…
7 … x[0]=503.0, y[0]=699.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=773.0, y[1]=838.0, toolType[1…
8 … x[0]=521.0, y[0]=728.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=776.0, y[1]=862.0, toolType[1…
9 … x[0]=535.0, y[0]=765.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=782.0, y[1]=898.0, toolType[1…
10 … x[0]=545.0, y[0]=795.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=786.0, y[1]=918.0, toolType[1…
11 … x[0]=555.0, y[0]=832.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=790.0, y[1]=959.0, toolType[1…
12 … x[0]=560.0, y[0]=870.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=794.0, y[1]=988.0, toolType[1…
13 …x[0]=565.0, y[0]=909.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=797.0, y[1]=1031.0, toolType[1…
14 …x[0]=568.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, id[1]=1, x[1]=801.0, y[1]=1060.0, toolType[1…
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A DClassifierTest.java90 protected MotionEvent appendDownEvent(float x, float y) { in appendDownEvent() argument
91 return appendMotionEvent(MotionEvent.ACTION_DOWN, x, y); in appendDownEvent()
98 protected MotionEvent appendMoveEvent(float x, float y) { in appendMoveEvent() argument
99 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y); in appendMoveEvent()
107 protected MotionEvent appendUpEvent(float x, float y) { in appendUpEvent() argument
108 return appendMotionEvent(MotionEvent.ACTION_UP, x, y); in appendUpEvent()
119 return appendMotionEvent(actionType, x, y, eventTime); in appendMotionEvent()
124 y += mOffsetY; in appendMotionEvent()
135 protected MotionEvent appendTrackpadDownEvent(float x, float y) { in appendTrackpadDownEvent() argument
162 pointerCoords[i] = getPointerCoords(x, y); in appendTrackpadMotionEvent()
[all …]

12345678910>>...42