/aosp14/frameworks/base/rs/java/android/renderscript/ |
H A D | Double3.java | 39 this.z = data.z; in Double3() 45 this.z = z; in Double3() 59 res.z = a.z + b.z; in add() 72 z += value.z; in add() 110 z -= value.z; in sub() 124 res.z = a.z - b.z; in sub() 164 z *= value.z; in mul() 178 res.z = a.z * b.z; in mul() 232 res.z = a.z / b.z; in div() 314 z = -z; in negate() [all …]
|
H A D | Int3.java | 44 this.z = z; in Int3() 51 this.z = source.z; in Int3() 62 this.z += a.z; in add() 76 result.z = a.z + b.z; in add() 116 this.z -= a.z; in sub() 130 result.z = a.z - b.z; in sub() 170 this.z *= a.z; in mul() 184 result.z = a.z * b.z; in mul() 238 result.z = a.z / b.z; in div() 292 result.z = a.z % b.z; in mod() [all …]
|
H A D | Long3.java | 44 this.z = z; in Long3() 62 this.z += a.z; in add() 76 result.z = a.z + b.z; in add() 116 this.z -= a.z; in sub() 130 result.z = a.z - b.z; in sub() 170 this.z *= a.z; in mul() 184 result.z = a.z * b.z; in mul() 224 this.z /= a.z; in div() 238 result.z = a.z / b.z; in div() 292 result.z = a.z % b.z; in mod() [all …]
|
H A D | Short3.java | 44 this.z = z; in Short3() 51 this.z = source.z; in Short3() 62 this.z += a.z; in add() 76 result.z = (short)(a.z + b.z); in add() 116 this.z -= a.z; in sub() 130 result.z = (short)(a.z - b.z); in sub() 170 this.z *= a.z; in mul() 184 result.z = (short)(a.z * b.z); in mul() 224 this.z /= a.z; in div() 238 result.z = (short)(a.z / b.z); in div() [all …]
|
H A D | Float3.java | 39 this.z = data.z; in Float3() 45 this.z = z; in Float3() 59 res.z = a.z + b.z; in add() 72 z += value.z; in add() 110 z -= value.z; in sub() 124 res.z = a.z - b.z; in sub() 164 z *= value.z; in mul() 178 res.z = a.z * b.z; in mul() 232 res.z = a.z / b.z; in div() 314 z = -z; in negate() [all …]
|
H A D | Byte3.java | 46 this.z = source.z; in Byte3() 57 this.z += a.z; in add() 71 result.z = (byte)(a.z + b.z); in add() 111 this.z -= a.z; in sub() 125 result.z = (byte)(a.z - b.z); in sub() 165 this.z *= a.z; in mul() 179 result.z = (byte)(a.z * b.z); in mul() 219 this.z /= a.z; in div() 233 result.z = (byte)(a.z / b.z); in div() 313 z += a.z * factor; in addMultiple() [all …]
|
H A D | Long4.java | 45 this.z = z; in Long4() 53 this.z = source.z; in Long4() 65 this.z += a.z; in add() 80 result.z = a.z + b.z; in add() 123 this.z -= a.z; in sub() 138 result.z = a.z - b.z; in sub() 181 this.z *= a.z; in mul() 196 result.z = a.z * b.z; in mul() 254 result.z = a.z / b.z; in div() 312 result.z = a.z % b.z; in mod() [all …]
|
H A D | Int4.java | 45 this.z = z; in Int4() 53 this.z = source.z; in Int4() 65 this.z += a.z; in add() 80 result.z = a.z + b.z; in add() 123 this.z -= a.z; in sub() 138 result.z = a.z - b.z; in sub() 181 this.z *= a.z; in mul() 196 result.z = a.z * b.z; in mul() 254 result.z = a.z / b.z; in div() 312 result.z = a.z % b.z; in mod() [all …]
|
H A D | Short4.java | 45 this.z = z; in Short4() 53 this.z = source.z; in Short4() 65 this.z += a.z; in add() 80 result.z = (short)(a.z + b.z); in add() 123 this.z -= a.z; in sub() 138 result.z = (short)(a.z - b.z); in sub() 181 this.z *= a.z; in mul() 196 result.z = (short)(a.z * b.z); in mul() 239 this.z /= a.z; in div() 254 result.z = (short)(a.z / b.z); in div() [all …]
|
H A D | Double4.java | 40 this.z = data.z; in Double4() 47 this.z = z; in Double4() 62 res.z = a.z + b.z; in add() 76 z += value.z; in add() 117 z -= value.z; in sub() 161 res.z = a.z - b.z; in sub() 175 z *= value.z; in mul() 202 res.z = a.z * b.z; in mul() 277 res.z = a.z / b.z; in div() 335 z = -z; in negate() [all …]
|
H A D | Float4.java | 40 this.z = data.z; in Float4() 47 this.z = z; in Float4() 62 res.z = a.z + b.z; in add() 76 z += value.z; in add() 117 z -= value.z; in sub() 161 res.z = a.z - b.z; in sub() 175 z *= value.z; in mul() 202 res.z = a.z * b.z; in mul() 277 res.z = a.z / b.z; in div() 335 z = -z; in negate() [all …]
|
H A D | Byte4.java | 47 this.z = source.z; in Byte4() 59 this.z += a.z; in add() 74 result.z = (byte)(a.z + b.z); in add() 117 this.z -= a.z; in sub() 132 result.z = (byte)(a.z - b.z); in sub() 175 this.z *= a.z; in mul() 190 result.z = (byte)(a.z * b.z); in mul() 233 this.z /= a.z; in div() 248 result.z = (byte)(a.z / b.z); in div() 332 z += a.z * factor; in addMultiple() [all …]
|
H A D | Matrix3f.java | 123 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 128 z *= recipLen; in loadRotate() 132 float yz = y * z; in loadRotate() 133 float zx = z * x; in loadRotate() 136 float zs = z * s; in loadRotate() 145 mMat[8] = z*z*nc + c; in loadRotate() 184 public void loadScale(float x, float y, float z) { in loadScale() argument 188 mMat[8] = z; in loadScale() 250 tmp.loadRotate(rot, x, y, z); in rotate() 287 public void scale(float x, float y, float z) { in scale() argument [all …]
|
H A D | FieldPacker.java | 279 addF32(v.z); in addF32() 284 addF32(v.z); in addF32() 295 addF64(v.z); in addF64() 300 addF64(v.z); in addF64() 311 addI8(v.z); in addI8() 316 addI8(v.z); in addI8() 327 addU8(v.z); in addU8() 332 addU8(v.z); in addU8() 343 addI16(v.z); in addI16() 348 addI16(v.z); in addI16() [all …]
|
H A D | Matrix4f.java | 168 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 173 z *= recipLen; in loadRotate() 177 float yz = y * z; in loadRotate() 178 float zx = z * x; in loadRotate() 181 float zs = z * s; in loadRotate() 190 mMat[10] = z*z*nc + c; in loadRotate() 204 mMat[10] = z; in loadScale() 219 mMat[14] = z; in loadTranslate() 376 tmp.loadRotate(rot, x, y, z); in rotate() 390 tmp.loadScale(x, y, z); in scale() [all …]
|
/aosp14/frameworks/base/location/java/com/android/internal/location/altitude/ |
H A D | S2CellIdUtils.java | 144 return fromXyz(x, y, z); in fromLatLngRadians() 208 int face = xyzToFace(x, y, z); in fromXyz() 275 double absZ = Math.abs(z); in xyzToFace() 280 return (z < 0) ? 5 : 2; in xyzToFace() 285 return (z < 0) ? 5 : 2; in xyzToFace() 432 return z / x; in createUvTransforms() 445 return z / y; in createUvTransforms() 453 return -x / z; in createUvTransforms() 458 return -y / z; in createUvTransforms() 466 return z / x; in createUvTransforms() [all …]
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | Vector.h | 101 float z; variable 103 Vector3 operator+(const Vector3& v) const { return (Vector3){x + v.x, y + v.y, z + v.z}; } 105 Vector3 operator-(const Vector3& v) const { return (Vector3){x - v.x, y - v.y, z - v.z}; } 107 Vector3 operator/(float s) const { return (Vector3){x / s, y / s, z / s}; } 109 Vector3 operator*(float s) const { return (Vector3){x * s, y * s, z * s}; } 112 ALOGD("%s[%.2f, %.2f, %.2f]", label, x, y, z);
|
H A D | Matrix.cpp | 288 data[kTranslateZ] = z; in loadTranslate() 350 const float length = sqrtf(x * x + y * y + z * z); in loadRotate() 354 z *= recipLen; in loadRotate() 358 const float yz = y * z; in loadRotate() 359 const float zx = z * x; in loadRotate() 362 const float zs = z * s; in loadRotate() 372 data[kScaleZ] = z * z * nc + c; in loadRotate() 381 float z = 0; in loadMultiply() local 394 set(i, 2, z); in loadMultiply() 479 float x, y, z; in mapRect() local [all …]
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
H A D | AnyMotionDetector.java | 389 public float z; field in AnyMotionDetector.Vector3 391 public Vector3(long timeMillisSinceBoot, float x, float y, float z) { in Vector3() argument 395 this.z = z; in Vector3() 404 return new Vector3(timeMillisSinceBoot, x / mag, y / mag, z / mag); in normalized() 426 y * v.z - z * v.y, in cross() 427 z * v.x - x * v.z, in cross() 437 msg += ", z=" + z; in toString() 442 return x * v.x + y * v.y + z * v.z; in dotProduct() 450 return new Vector3(v.timeMillisSinceBoot, x + v.x, y + v.y, z + v.z); in plus() 454 return new Vector3(v.timeMillisSinceBoot, x - v.x, y - v.y, z - v.z); in minus() [all …]
|
/aosp14/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 467 m[mOffset +10] = z; in orthoM() 589 return (float) Math.sqrt(x * x + y * y + z * z); in length() 648 m[ 8 + mi] *= z; in scaleM() 785 z *= recipLen; in setRotateM() 789 float yz = y * z; in setRotateM() 790 float zx = z * x; in setRotateM() 793 float zs = z * s; in setRotateM() 802 rm[rmOffset + 10] = z*z*nc + c; in setRotateM() 829 float cz = (float) Math.cos(z); in setRotateEulerM() 830 float sz = (float) Math.sin(z); in setRotateEulerM() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | Vector3Test.java | 109 assertTrue(nearlyEqual(unitXAxisNormalized.z, unitXAxis.z)); 115 assertTrue(nearlyEqual(x3Normalized.z, unitXAxis.z)); 122 assertTrue(nearlyEqual(xCrossX.z, 0f)); 127 assertTrue(nearlyEqual(xCrossNx.z, 0f)); 132 assertTrue(nearlyEqual(cross2.z, -3)); 139 assertTrue(nearlyEqual(yTimes2.z, 0f)); 146 assertTrue(nearlyEqual(xPlusY.z, 0f)); 153 assertTrue(nearlyEqual(xMinusY.z, 0f));
|
/aosp14/frameworks/base/core/res/geoid_height_map_assets/ |
H A D | tile-3.textpb | 2 …z\201\236\240w\250]\352\006z\205\232\241f\250Y\2522\324\302\324\322\324\231\244-I\2323J\r.i\300\32… 3 …z\356\326\343\3743\354\364\373\313\007\327\371\005\3752\036\000\200\214L\336\000\325\324\216\374K\…
|
/aosp14/frameworks/base/services/tests/mockingservicestests/res/raw/ |
H A D | backup_telephony_with_password | 31 =$#$��z�XJ�%z� 43 !J��k/�U��/(:�z]�;H�=�<`�E��_e 44 ����O#R�'���z 50 ������G�>�R`�f�L�*��j���h!z��tΤ� 96 �zgD#�a��� 102 …�3�<@�w�Q ���:Σ4p�f�.�꽡�歽9V��Dl�D�"L1��1i�B澕�sT'5i��9��]�ߗ�Y[���_�z,�<f��P��k��*�Ě�֠`… 122 �CM:�4E{a���z��<�[��T����T]��G�N,�u*�։��z�DX����A+�x-`0���%S�"�a��O�@�w�\�Ϟ�d��g�`|��� 125 K=���������:�4����z�/�O�cg�vo�܈sg*8^g��ߐC���iH 139 …fhM'������� �h�8hFd�:�z�z%�u��z���Ϳ��,�J�z���S8ROń�=v��5]���I%�{�� ��5R����.A�ɿ�]4���ly… 141 …bu?�[��p��hֈ=�o�E�3>;v����%c�&��J���E)v�T(��-2ʗF�JZ���1�o'z��`GC,�)L�_�F��ȵ?�zdS[����t… [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/ |
H A D | CamUtils.java | 127 double z = cubeExceedEpsilon ? fz * fz * fz : lstar / kappa; in argbFromLstar() local 129 return argbFromXyz(x * whitePoint[0], y * whitePoint[1], z * whitePoint[2]); in argbFromLstar() 133 public static int argbFromXyz(double x, double y, double z) { in argbFromXyz() argument 135 double linearR = matrix[0][0] * x + matrix[0][1] * y + matrix[0][2] * z; in argbFromXyz() 136 double linearG = matrix[1][0] * x + matrix[1][1] * y + matrix[1][2] * z; in argbFromXyz() 137 double linearB = matrix[2][0] * x + matrix[2][1] * y + matrix[2][2] * z; in argbFromXyz() 255 double z = (r * matrix[2][0]) + (g * matrix[2][1]) + (b * matrix[2][2]); in xyzFromInt() local 256 return new float[]{(float) x, (float) y, (float) z}; in xyzFromInt()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
H A D | ComparableUtils.java | 97 for (final T z : items) { 98 final String nameZ = name.apply(z); 99 if (compareTo.applyAsInt(x, y) > 0 && compareTo.applyAsInt(y, z) > 0) { 103 compareTo.applyAsInt(x, z) > 0); 108 Integer.signum(compareTo.applyAsInt(x, z)), 109 Integer.signum(compareTo.applyAsInt(y, z)));
|