Home
last modified time | relevance | path

Searched refs:mShapeH (Results 1 – 4 of 4) sorted by relevance

/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer.java57 int mShapeW, mShapeH; field in Bouncer.MyView
78 mShapeH = mBitmap.getHeight(); in setupShape()
97 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
106 int maxY = mShapeY + mShapeH; in setShapeY()
109 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
137 (getHeight() - mShapeH))); in getValueAnimator()
DBouncer1.java48 int mShapeW, mShapeH; field in Bouncer1.MyView
71 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
76 int maxY = mShapeY + mShapeH; in setShapeY()
79 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
86 mShapeH = mBitmap.getHeight(); in setupShape()
121 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
DBouncer3.java49 int mShapeW, mShapeH; field in Bouncer3.MyView
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
77 int maxY = mShapeY + mShapeH; in setShapeY()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
87 mShapeH = mBitmap.getHeight(); in setupShape()
120 return ObjectAnimator.ofInt(this, "shapeY", 0, (getHeight() - mShapeH)); in getObjectAnimator()
DBouncer2.java49 int mShapeW, mShapeH; field in Bouncer2.MyView
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
77 int maxY = mShapeY + mShapeH; in setShapeY()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
87 mShapeH = mBitmap.getHeight(); in setupShape()
124 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()