/cts/libs/view/src/com/android/view/ |
Position.java | 24 private final float mY; 28 mY = y; 36 return mY; 43 return (mX * other.mX) + (mY * other.mY); 50 return Math.sqrt(Math.pow((mX - other.mX), 2) + Math.pow((mY - other.mY), 2)); 64 double originToThisAngle = Math.atan2(origin.mY - mY, mX - origin.mX); 65 double originToOtherAngle = Math.atan2(origin.mY - other.mY, other.mX - origin.mX) [all...] |
/cts/tests/openglperf2/jni/graphics/ |
Vector2D.cpp | 19 mX(0), mY(0) { 23 mX(x), mY(y) { 27 Vector2D v(mX, mY); 33 mY += v.mY; 38 mY -= v.mY; 43 mY *= s; 48 float dy = mY - v.mY; [all...] |
Vector2D.h | 31 float mY;
|
/frameworks/base/libs/hwui/ |
RevealClip.h | 31 , mY(0) 37 mY = y; 51 outBounds->set(mX - mRadius, mY - mRadius, 52 mX + mRadius, mY + mRadius); 57 float getY() const { return mY; } 68 float mY;
|
/cts/apps/CtsVerifier/include/colorchecker/ |
vec2.h | 28 mY = inputY; 34 Vec2<T> temp(mX + param.x(), mY + param.y()); 39 Vec2<T> temp(mX - param.x(), mY - param.y()); 46 static_cast<float>(mY) / static_cast<float>(param)); 54 (static_cast<float>(mY) - static_cast<float>(param.y())) * 55 (static_cast<float>(mY) - static_cast<float>(param.y())); 60 inline T y() const { return mY; } 64 mY = inputY; 69 T mY;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
FreePathInterpolator.java | 44 private float[] mY; 62 mY = new float[numPoints]; 80 mY[i] = y; 104 return mY[startIndex]; 106 return mY[endIndex]; 121 return mY[startIndex]; 127 float startY = mY[startIndex]; 128 float endY = mY[endIndex]; 139 int endIndex = mY.length - 1; 151 if (y < mY[midIndex]) [all...] |
/art/test/455-checker-gvn/src/ |
Main.java | 20 private static int mY = -3; 67 int mul1 = mX * mY; 69 int mul2 = mY * mX;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
MeteringRectangle.java | 75 private final int mY; 93 mY = checkArgumentNonnegative(y, "y must be nonnegative"); 117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative"); 138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative"); 159 return mY; 195 return new Point(mX, mY); 217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); 244 && mY == other.mY [all...] |
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
PathEvaluator.java | 36 y = oneMinusT * oneMinusT * oneMinusT * startValue.mY + 39 t * t * t * endValue.mY; 42 y = startValue.mY + t * (endValue.mY - startValue.mY); 45 y = endValue.mY;
|
PathPoint.java | 37 float mX, mY; 63 mY = y; 75 mY = y;
|
/frameworks/base/graphics/java/android/graphics/ |
RadialGradient.java | 35 private float mY; 71 mY = centerY; 95 mY = centerY; 105 return nativeCreate1(nativeMatrix, mX, mY, mRadius, 108 return nativeCreate2(nativeMatrix, mX, mY, mRadius, 120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), 123 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 59 private float mY; 98 mX = mY = 0; 100 mListener.onEyePositionChanged(mX, mY, mZ); 136 mY = -Utils.clamp((y * USER_ANGEL_COS / glength 140 mUserDistance * mUserDistance - mX * mX - mY * mY); 141 mListener.onEyePositionChanged(mX, mY, mZ); 152 if (mX > limit || mX < -limit || mY > limit || mY < -limit) { 154 mY *= GYROSCOPE_RESTORE_FACTOR [all...] |
/frameworks/support/compat/java/android/support/v4/view/animation/ |
PathInterpolatorApi14.java | 34 private final float[] mY; 43 mY = new float[numPoints]; 51 mY[i] = position[1]; 86 return mY[startIndex]; 92 final float startY = mY[startIndex]; 93 final float endY = mY[endIndex];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PathInterpolatorBuilder.java | 27 private float[] mY; // y coordinates in the line 68 mY = new float[numPoints]; 85 mY[i] = y; 88 float dy = mY[i] - mY[i - 1]; 107 return new PathInterpolator(mDist, mY); 112 private final float[] mY; // y coordinates in the line 116 mY = ys; 141 return mY[startIndex]; 147 float startY = mY[startIndex] [all...] |
/frameworks/base/core/java/android/util/ |
Spline.java | 126 private float[] mY; 178 mY = y; 190 return mY[0]; 193 return mY[n - 1]; 202 return mY[i]; 209 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t) 210 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t; 224 str.append(", ").append(mY[i]); 234 private final float[] mY; 248 mY = y [all...] |
/frameworks/av/media/libmedia/include/media/ |
LinearMap.h | 144 mY(new T[size]) { } 148 delete[] mY; 172 checkedDiff(&ydiff, y, mY[mPos], "y"); 180 const int32_t ydiff2 = y - mY[prev]; 190 mY[mPos] = y; 208 mY[mPos] = y; 227 return findU(y, mX, mY, method, extrapolation, startValue); 234 return findU(x, mY, mX, method, extrapolation, startValue); 296 // TODO: back extrapolation value could be stored along with mX, mY in history. 354 const size_t mSize; // Size of mX and mY arrays (history) [all...] |
/packages/apps/Dialer/java/com/android/dialer/compat/ |
PathInterpolatorCompat.java | 41 private final float[] mY; 50 mY = new float[numPoints]; 58 mY[i] = position[1]; 108 return mY[startIndex]; 114 final float startY = mY[startIndex]; 115 final float endY = mY[endIndex];
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
PathInterpolatorCompat.java | 41 private final float[] mY; 50 mY = new float[numPoints]; 58 mY[i] = position[1]; 93 return mY[startIndex]; 99 final float startY = mY[startIndex]; 100 final float endY = mY[endIndex];
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 29 private float mX = 0, mY = 0; 53 mY = value; 57 return mY;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Projector.java | 36 mY = y; 52 win[winOffset + 1] = mY + mViewHeight * (mV[1] * rw + 1.0f) * 0.5f; 81 private int mY;
|
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 127 float mY = 0; 136 mY = y; 139 float dy = Math.abs(y - mY); 141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); 143 mY = y; 172 float mY = 0; 185 mY = y; 188 float dy = Math.abs(y - mY); 190 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2) [all...] |
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
Boid.cpp | 23 mAcceleration.mY = 0; 91 if (mPosition.mY < -limitY) { 92 mPosition.mY = limitY; 93 } else if (mPosition.mY > limitY) { 94 mPosition.mY = -limitY;
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
PathInterpolatorCompat.java | 64 private float[] mY; // y coordinates in the line 146 mY = new float[numPoints]; 154 mY[i] = position[1]; 157 if (abs(mX[0]) > EPSILON || abs(mY[0]) > EPSILON || abs(mX[numPoints - 1] - 1) > EPSILON 158 || abs(mY[numPoints - 1] - 1) > EPSILON) { 160 + " start: " + mX[0] + "," + mY[0] + " end:" + mX[numPoints - 1] + "," 161 + mY[numPoints - 1]); 214 return mY[startIndex]; 220 float startY = mY[startIndex]; 221 float endY = mY[endIndex] [all...] |
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/frametestapp/src/android/server/frametestapp/ |
MovingChildTestActivity.java | 39 int mY = 0; 48 attribs.y = mY % 1000; 51 mY += 5;
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 41 newBlock, newBlock->mX, newBlock->mY, 48 while (currBlock && currBlock->mY != TEXTURE_BORDER_SIZE) { 85 blockToRemove, blockToRemove->mX, blockToRemove->mY, 272 // it's the remainder space (mY == 0) or there's only enough height for this one glyph 275 (cacheBlock->mY == TEXTURE_BORDER_SIZE || 283 *retOriginY = cacheBlock->mY; 287 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { 299 newBlock, newBlock->mX, newBlock->mY, 306 cacheBlock->mY += glyphH; 310 cacheBlock, cacheBlock->mX, cacheBlock->mY, [all...] |