Home
last modified time | relevance | path

Searched refs:isInside (Results 1 – 3 of 3) sorted by relevance

/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java183 boolean isInside = (x > 0 && x < getWidth() &&
185 if (isPressed() != isInside) {
186 setPressed(isInside);
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java110 boolean isInside = (x > 0 && x < mStarter.getWidth() &&
112 if (mStarter.isPressed() != isInside) {
113 mStarter.setPressed(isInside);
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java159 public boolean isInside(int x, int y) { in isInside() method in LatinKeyboard.LatinKey
160 return super.isInside(x, codes[0] == KEYCODE_CANCEL ? y - 10 : y); in isInside()