/cts/libs/view/src/com/android/view/ |
D | Position.java | 23 private final float mX; field in Position 27 mX = x; in Position() 32 return mX; in getX() 43 return (mX * other.mX) + (mY * other.mY); in dotProduct() 50 return Math.sqrt(Math.pow((mX - other.mX), 2) + Math.pow((mY - other.mY), 2)); in distanceTo() 64 double originToThisAngle = Math.atan2(origin.mY - mY, mX - origin.mX); in arcAngleTo() 65 double originToOtherAngle = Math.atan2(origin.mY - other.mY, other.mX - origin.mX); in arcAngleTo() 84 return Math.atan2(other.mY - mY, other.mX - mX); in angleTo() 98 return (Float.compare(other.mX, mX) == 0) && (Float.compare(other.mY, mY) == 0); in equals() 104 result = 31 * result + Float.floatToIntBits(mX); in hashCode()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 19 mX(0), mY(0) { in Vector2D() 23 mX(x), mY(y) { in Vector2D() 27 Vector2D v(mX, mY); in copy() 32 mX += v.mX; in add() 37 mX -= v.mX; in sub() 42 mX *= s; in scale() 47 float dx = mX - v.mX; in distance() 67 return (float) sqrt(mX * mX + mY * mY); in magnitude()
|
D | Vector2D.h | 30 float mX; variable
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | vec2.h | 27 mX = inputX; in Vec2() 34 Vec2<T> temp(mX + param.x(), mY + param.y()); 39 Vec2<T> temp(mX - param.x(), mY - param.y()); 45 return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param), 52 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * in squareDistance() 53 (static_cast<float>(mX) - static_cast<float>(param.x())) + in squareDistance() 59 inline T x() const { return mX; } in x() 63 mX = inputX; in set() 68 T mX;
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | Boid.cpp | 22 mAcceleration.mX = 0; in flock() 86 if (mPosition.mX < -limitX) { in flock() 87 mPosition.mX = limitX; in flock() 88 } else if (mPosition.mX > limitX) { in flock() 89 mPosition.mX = -limitX; in flock()
|
D | FlockingScene.cpp | 160 float x = pos->mX / (LIMIT_X * BOID_SCALE) * mDisplayRatio; in updateSceneGraphs() 166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1); in updateSceneGraphs()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 29 private float mX = 0, mY = 0; field in ShapeHolder 45 mX = value; in setX() 49 return mX; in getX()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 122 private final int mX; field in CtsMouseUtil.PositionMatcher 127 mX = x; in PositionMatcher() 134 && Math.round(actual.getX()) == mX in matches() 140 return super.toString() + "@(" + mX + "," + mY + ")"; in toString()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewUnbufferedTest.java | 118 final int mX; field in ViewUnbufferedTest.ReceivedEvent 125 mX = x; in ReceivedEvent() 157 assertEquals((int) sentEvent.getX(), receivedEvent.mX + offsets[0]); in compareEvent()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2019_2245.ts | 3359 …G1��mR��2F5.#q�ѹ����.��.քj� f�$�{t4����?�yу��5G#Mt���Ǽ҆�l嶅��#}=;B�mX��/~7Td=���.5�m[���… 7183 …(�1��\P�^h��R�Z�b ��,�V�І�.(��~�ж��4l�TG1�(�� ��(�w���&PY�dj�mX�QZ��!��loL�� ��F�… 10051 ��,���i)T6���564��A�kA�R���'�%lJ�dhey'�mX�F�E���G1�����M]&��eV:i�7j��|v��D2N��|��L�:F�V…
|
D | cve_2018_13925.ts | 3610 ƍ0�q��1[,XV���4h�&�X���k3mX�JTc��#6 10151 ��,���i)T6���564��A�kA�R���'�%lJ�dhey'�mX�F�E���G1�����M]&��eV:i�7j��|v��D2N��|��L�:F�V…
|
D | cve_2019_2244.ts | 3611 ƍ0�q��1[,XV���4h�&�X���k3mX�JTc��#6 10157 ��,���i)T6���564��A�kA�R���'�%lJ�dhey'�mX�F�E���G1�����M]&��eV:i�7j��|v��D2N��|��L�:F�V…
|