aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2019-07-05 09:09:53 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-07-05 09:09:53 -0700
commitbd7fbb4ccbeb532155ae559c9fca16b203a025d6 (patch)
tree2c20ca11251e1cb82c67639506d7767ed1e3feff /java/src/com
parent5d0822e4d52e3b3e3d71d027e7ed052e2ab02302 (diff)
parent075f86ba3b03812da09a60eb2ec80b4f96b92bae (diff)
downloadlatinime-bd7fbb4ccbeb532155ae559c9fca16b203a025d6.tar.gz
latinime-bd7fbb4ccbeb532155ae559c9fca16b203a025d6.tar.xz
latinime-bd7fbb4ccbeb532155ae559c9fca16b203a025d6.zip
Merge "Remove extend touchable region for AOSP keyboard" am: ff1db79a18 am: b1dec95c37 am: 61722df601
am: 075f86ba3b Change-Id: Ic66c2b5479be4d994aed1cd11422192052fb2df5
Diffstat (limited to 'java/src/com')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 4b6ab7e27..31307bad1 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -118,7 +118,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
static final String TAG = LatinIME.class.getSimpleName();
private static final boolean TRACE = false;
- private static final int EXTENDED_TOUCHABLE_REGION_HEIGHT = 100;
private static final int PERIOD_FOR_AUDIO_AND_HAPTIC_FEEDBACK_IN_KEY_REPEAT = 2;
private static final int PENDING_IMS_CALLBACK_DURATION_MILLIS = 800;
static final long DELAY_WAIT_FOR_DICTIONARY_LOAD_MILLIS = TimeUnit.SECONDS.toMillis(2);
@@ -1212,9 +1211,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
final int touchLeft = 0;
final int touchTop = mKeyboardSwitcher.isShowingMoreKeysPanel() ? 0 : visibleTopY;
final int touchRight = visibleKeyboardView.getWidth();
- final int touchBottom = inputHeight
- // Extend touchable region below the keyboard.
- + EXTENDED_TOUCHABLE_REGION_HEIGHT;
+ final int touchBottom = inputHeight;
outInsets.touchableInsets = InputMethodService.Insets.TOUCHABLE_INSETS_REGION;
outInsets.touchableRegion.set(touchLeft, touchTop, touchRight, touchBottom);
}