Home
last modified time | relevance | path

Searched refs:mX (Results 1 – 12 of 12) sorted by relevance

/cts/libs/view/src/com/android/view/
DPosition.java23 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/
DVector2D.cpp19 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()
DVector2D.h30 float mX; variable
/cts/apps/CtsVerifier/include/colorchecker/
Dvec2.h27 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/
DBoid.cpp22 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()
DFlockingScene.cpp160 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/
DShapeHolder.java29 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/
DCtsMouseUtil.java122 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/
DViewUnbufferedTest.java118 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/
Dcve_2019_2245.ts3359 …G�1��mR���2F5.#q�ѹ����.��.քj� f�$�{t4����?�yу��5G#Mt���Ǽ҆�l嶅��#}=; B�mX��/~7Td=� ��.5�m[���…
7183 …(�1����\P�^h��R�Z�b ��,��V�І�.(��~�ж��4l�TG�1�(�� ��(�w����&PY�dj�mX�QZ��!��loL�� ��F�…
10051 ��,���i)T6���564��A�kA�R���'�%lJ�dh ey'�mX� F�E���G�1�����M]&��eV:i�7j��|v��D2N��|� �L�:F�V…
Dcve_2018_13925.ts3610 ƍ0�q��1[,XV���4h�&�X���k3mX�JTc��#6
10151 ��,���i)T6���564��A�kA�R���'�%lJ�dh ey'�mX� F�E���G�1�����M]&��eV:i�7j��|v��D2N��|� �L�:F�V…
Dcve_2019_2244.ts3611 ƍ0�q��1[,XV���4h�&�X���k3mX�JTc��#6
10157 ��,���i)T6���564��A�kA�R���'�%lJ�dh ey'�mX� F�E���G�1�����M]&��eV:i�7j��|v��D2N��|� �L�:F�V…