Searched refs:keyXPos (Results 1 – 2 of 2) sorted by relevance
140 public void setXPos(final float keyXPos) { in setXPos() argument141 mCurrentX = keyXPos; in setXPos()156 final float keyXPos = keyAttr.getFraction(R.styleable.Keyboard_Key_keyXPos, in getKeyX() local158 if (keyXPos >= 0) { in getKeyX()159 return keyXPos + mParams.mLeftPadding; in getKeyX()167 return Math.max(keyXPos + keyboardRightEdge, mCurrentX); in getKeyX()170 public float getKeyWidth(final TypedArray keyAttr, final float keyXPos) { in getKeyWidth() argument181 return keyboardRightEdge - keyXPos; in getKeyWidth()
265 final float keyXPos = row.getKeyX(keyAttr); in Key() local266 final float keyWidth = row.getKeyWidth(keyAttr, keyXPos); in Key()270 mX = Math.round(keyXPos + horizontalGapFloat / 2); in Key()273 mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos + keyWidth) + 1, in Key()276 row.setXPos(keyXPos + keyWidth); in Key()