am ab4d177a: am 76c242a1: Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev

* commit 'ab4d177a0eacad55f66b1bfb7448ab39a636d819':
  Fix multi-touch input in auto-caps field
This commit is contained in:
Tadashi G. Takaoka 2012-08-02 15:08:24 -07:00 committed by Android Git Automerger
commit 50836af6c3
2 changed files with 1 additions and 4 deletions

View file

@ -604,9 +604,6 @@ public class Keyboard {
}
public float getKeyX(TypedArray keyAttr) {
final int widthType = Builder.getEnumValue(keyAttr,
R.styleable.Keyboard_Key_keyWidth, KEYWIDTH_NOT_ENUM);
final int keyboardRightEdge = mParams.mOccupiedWidth
- mParams.mHorizontalEdgesPadding;
if (keyAttr.hasValue(R.styleable.Keyboard_Key_keyXPos)) {

View file

@ -408,7 +408,7 @@ public class PointerTracker {
if (mDrawingProxy != null) {
setReleasedKeyGraphics(mCurrentKey);
}
mCurrentKey = newKey;
// Keep {@link #mCurrentKey} that comes from previous keyboard.
}
final int keyQuarterWidth = mKeyboard.mMostCommonKeyWidth / 4;
mKeyQuarterWidthSquared = keyQuarterWidth * keyQuarterWidth;