Home
last modified time | relevance | path

Searched refs:mY (Results 1 – 7 of 7) sorted by relevance

/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DPathEvaluator.java36 y = oneMinusT * oneMinusT * oneMinusT * startValue.mY + in evaluate()
39 t * t * t * endValue.mY; in evaluate()
42 y = startValue.mY + t * (endValue.mY - startValue.mY); in evaluate()
45 y = endValue.mY; in evaluate()
DPathPoint.java37 float mX, mY; field in PathPoint
63 mY = y; in PathPoint()
75 mY = y; in PathPoint()
DCurvedMotion.java121 mButton.setTranslationY(newLoc.mY); in setButtonLoc()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DFingerPaint.java91 private float mX, mY; field in FingerPaint.MyView
98 mY = y; in touch_start()
102 float dy = Math.abs(y - mY); in touch_move()
104 mPath.quadTo(mX, mY, (x + mX)/2, (y + mY)/2); in touch_move()
106 mY = y; in touch_move()
110 mPath.lineTo(mX, mY); in touch_up()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DProjector.java36 mY = y; in setCurrentView()
52 win[winOffset + 1] = mY + mViewHeight * (mV[1] * rw + 1.0f) * 0.5f; in project()
81 private int mY; field in Projector
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java214 private double mY; field in LunarView.LunarThread
257 mY = mLanderHeight * 2; in LunarThread()
294 mY = mCanvasHeight - mLanderHeight / 2; in doStart()
337 mY = savedState.getDouble(KEY_Y); in restoreState()
391 map.putDouble(KEY_Y, Double.valueOf(mY)); in saveState()
628 int yTop = mCanvasHeight - ((int) mY + mLanderHeight / 2); in doDraw()
665 - (float) mY); in doDraw()
746 mY += elapsed * (mDY + dyOld) / 2; in updatePhysics()
753 if (mY <= yLowerBound) { in updatePhysics()
754 mY = yLowerBound; in updatePhysics()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DCustomEvaluator.java61 private float mY; field in CustomEvaluator.XYHolder
65 mY = y; in XYHolder()
77 return mY; in getY()
81 mY = y; in setY()