Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java106 public final Rect mHitBox = new Rect(); field in Key
208 mHitBox.set(x, y, x + width + 1, y + height); in Key()
242 mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos + keyWidth) + 1, in Key()
473 mHitBox.left = params.mLeftPadding; in markAsLeftEdge()
477 mHitBox.right = params.mOccupiedWidth - params.mRightPadding; in markAsRightEdge()
481 mHitBox.top = params.mTopPadding; in markAsTopEdge()
485 mHitBox.bottom = params.mOccupiedHeight + params.mBottomPadding; in markAsBottomEdge()
738 return mHitBox.contains(x, y); in isOnKey()
DProximityInfo.java186 final Rect hitBox = key.mHitBox; in createNativeProximityInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityEntityProvider.java175 final Rect boundsInParent = key.mHitBox; in createAccessibilityNodeInfo()
211 final int x = key.mHitBox.centerX(); in simulateKeyPress()
212 final int y = key.mHitBox.centerY(); in simulateKeyPress()