Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44972bcd authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix multi-touch input in auto-caps field

Bug: 6905194
Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
parent 19560508
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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)) {
+1 −1
Original line number Diff line number Diff line
@@ -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;