Searched refs:minX (Results 1 – 5 of 5) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SystemPointerIconButton.java | 46 final int minX = getWidth() / 4; in onResolvePointerIcon() local 47 final int maxX = getWidth() - minX; in onResolvePointerIcon() 53 if ((x < minX && y < minY) || (x > maxX && y > maxY)) { in onResolvePointerIcon() 56 } else if ((x < minX && y > maxY) || (x > maxX && y < minY)) { in onResolvePointerIcon() 59 } else if (x < minX || x > maxX) { in onResolvePointerIcon()
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
D | Bouncer1.java | 66 int minX = mShapeX; in setShapeX() local 69 minX = Math.min(mShapeX, minX); in setShapeX() 71 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
|
D | Bouncer3.java | 67 int minX = mShapeX; in setShapeX() local 70 minX = Math.min(mShapeX, minX); in setShapeX() 72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
|
D | Bouncer.java | 92 int minX = mShapeX; in setShapeX() local 95 minX = Math.min(mShapeX, minX); in setShapeX() 97 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
|
D | Bouncer2.java | 67 int minX = mShapeX; in setShapeX() local 70 minX = Math.min(mShapeX, minX); in setShapeX() 72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
|