diff options
author | 2011-03-23 16:15:07 -0700 | |
---|---|---|
committer | 2011-03-24 13:27:45 -0700 | |
commit | 24119dfd414f948b2da214c021cc76e06b3dd41c (patch) | |
tree | 038708fb74300769e35d6d7c3a500f699637f8e4 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | b916fab1960475505cb0d554255bf08364e5c71f (diff) | |
download | latinime-24119dfd414f948b2da214c021cc76e06b3dd41c.tar.gz latinime-24119dfd414f948b2da214c021cc76e06b3dd41c.tar.xz latinime-24119dfd414f948b2da214c021cc76e06b3dd41c.zip |
Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.
Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index b89fcbfcf..6ae6bd60f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -914,8 +914,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar if (DEBUG) { Log.d(TAG, "Touchable region " + x + ", " + y + ", " + width + ", " + height); } - outInsets.touchableInsets = InputMethodService.Insets.TOUCHABLE_INSETS_REGION; - outInsets.touchableRegion.set(x, y, width, height); + setTouchableRegionCompat(outInsets, x, y, width, height); } } |