Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java120 private final Rect mHitBox = new Rect(); field in Key
238 mHitBox.set(x, y, x + width + 1, y + height); in Key()
273 mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos + keyWidth) + 1, in Key()
431 mHitBox.set(key.mHitBox); in Key()
582 mHitBox.left = params.mLeftPadding; in markAsLeftEdge()
586 mHitBox.right = params.mOccupiedWidth - params.mRightPadding; in markAsRightEdge()
590 mHitBox.top = params.mTopPadding; in markAsTopEdge()
594 mHitBox.bottom = params.mOccupiedHeight + params.mBottomPadding; in markAsBottomEdge()
919 return mHitBox; in getHitBox()
931 return mHitBox.contains(x, y); in isOnKey()