Searched refs:mShapeX (Results 1 – 4 of 4) sorted by relevance
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
D | Bouncer3.java | 48 int mShapeX, mShapeY; field in Bouncer3.MyView 67 int minX = mShapeX; in setShapeX() 68 int maxX = mShapeX + mShapeW; in setShapeX() 69 mShapeX = shapeX; in setShapeX() 70 minX = Math.min(mShapeX, minX); in setShapeX() 71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY); in setShapeY() 98 mShapeX = (w - mBitmap.getWidth()) / 2; in onSizeChanged() 104 canvas.drawBitmap(mBitmap, mShapeX, mShapeY, paint); in onDraw()
|
D | Bouncer1.java | 47 int mShapeX, mShapeY; field in Bouncer1.MyView 66 int minX = mShapeX; in setShapeX() 67 int maxX = mShapeX + mShapeW; in setShapeX() 68 mShapeX = shapeX; in setShapeX() 69 minX = Math.min(mShapeX, minX); in setShapeX() 70 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 80 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY); in setShapeY() 97 mShapeX = (w - mBitmap.getWidth()) / 2; in onSizeChanged() 103 canvas.drawBitmap(mBitmap, mShapeX, mShapeY, paint); in onDraw()
|
D | Bouncer.java | 56 int mShapeX, mShapeY; field in Bouncer.MyView 92 int minX = mShapeX; in setShapeX() 93 int maxX = mShapeX + mShapeW; in setShapeX() 94 mShapeX = shapeX; in setShapeX() 95 minX = Math.min(mShapeX, minX); in setShapeX() 96 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 110 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY); in setShapeY() 115 mShapeX = (w - mBitmap.getWidth()) / 2; in onSizeChanged() 121 canvas.drawBitmap(mBitmap, mShapeX, mShapeY, paint); in onDraw()
|
D | Bouncer2.java | 48 int mShapeX, mShapeY; field in Bouncer2.MyView 67 int minX = mShapeX; in setShapeX() 68 int maxX = mShapeX + mShapeW; in setShapeX() 69 mShapeX = shapeX; in setShapeX() 70 minX = Math.min(mShapeX, minX); in setShapeX() 71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY); in setShapeY() 98 mShapeX = (w - mBitmap.getWidth()) / 2; in onSizeChanged() 104 canvas.drawBitmap(mBitmap, mShapeX, mShapeY, paint); in onDraw()
|