Home
last modified time | relevance | path

Searched refs:minX (Results 1 – 5 of 5) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemPointerIconButton.java46 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/
DBouncer1.java66 int minX = mShapeX; in setShapeX() local
69 minX = Math.min(mShapeX, minX); in setShapeX()
71 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
DBouncer3.java67 int minX = mShapeX; in setShapeX() local
70 minX = Math.min(mShapeX, minX); in setShapeX()
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
DBouncer.java92 int minX = mShapeX; in setShapeX() local
95 minX = Math.min(mShapeX, minX); in setShapeX()
97 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()
DBouncer2.java67 int minX = mShapeX; in setShapeX() local
70 minX = Math.min(mShapeX, minX); in setShapeX()
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH); in setShapeX()