Searched refs:keyXPos (Results 1 – 2 of 2) sorted by relevance
101 public void setXPos(final float keyXPos) { in setXPos() argument102 mCurrentX = keyXPos; in setXPos()115 final float keyXPos = keyAttr.getFraction(R.styleable.Keyboard_Key_keyXPos, in getKeyX() local117 if (keyXPos < 0) { in getKeyX()124 return Math.max(keyXPos + keyboardRightEdge, mCurrentX); in getKeyX()126 return keyXPos + mParams.mLeftPadding; in getKeyX()136 public float getKeyWidth(final TypedArray keyAttr, final float keyXPos) { in getKeyWidth() argument144 return keyboardRightEdge - keyXPos; in getKeyWidth()
234 final float keyXPos = row.getKeyX(keyAttr); in Key() local235 final float keyWidth = row.getKeyWidth(keyAttr, keyXPos); in Key()239 mX = Math.round(keyXPos + horizontalGap / 2); in Key()242 mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos + keyWidth) + 1, in Key()245 row.setXPos(keyXPos + keyWidth); in Key()