diff options
author | 2013-02-28 22:38:11 +0000 | |
---|---|---|
committer | 2013-02-28 22:38:11 +0000 | |
commit | 040b442f3cd4c0a212ef7e2ec0c55541b67ec7ce (patch) | |
tree | b0c6d35016cff908618cfe3925f73c7319f2c716 /java/src | |
parent | abaa88fd4e33de54f3efd980ac0fef4935e439db (diff) | |
parent | 18e21d58f7c0b5c5c001835c093221c573a841c4 (diff) | |
download | latinime-040b442f3cd4c0a212ef7e2ec0c55541b67ec7ce.tar.gz latinime-040b442f3cd4c0a212ef7e2ec0c55541b67ec7ce.tar.xz latinime-040b442f3cd4c0a212ef7e2ec0c55541b67ec7ce.zip |
am 18e21d58: Remove closing method from KeyboardView
* commit '18e21d58f7c0b5c5c001835c093221c573a841c4':
Remove closing method from KeyboardView
Diffstat (limited to 'java/src')
3 files changed, 0 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index 365c35b48..350dc69b2 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java @@ -635,15 +635,9 @@ public class KeyboardView extends View { invalidate(x, y, x + key.mWidth, y + key.mHeight); } - // TODO: Remove this method. - public void closing() { - mInvalidateAllKeys = true; - } - @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); - closing(); freeOffscreenBuffer(); } } diff --git a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java index 4d10f0e69..bc27f8553 100644 --- a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java @@ -1236,13 +1236,11 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack mDrawingHandler.cancelAllMessages(); } - @Override public void closing() { dismissAllKeyPreviews(); cancelAllMessages(); onDismissMoreKeysPanel(); mMoreKeysKeyboardCache.clear(); - super.closing(); } /** diff --git a/java/src/com/android/inputmethod/keyboard/MoreKeysKeyboardView.java b/java/src/com/android/inputmethod/keyboard/MoreKeysKeyboardView.java index 9e75f8b8a..0d42ab2fe 100644 --- a/java/src/com/android/inputmethod/keyboard/MoreKeysKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/MoreKeysKeyboardView.java @@ -174,7 +174,6 @@ public class MoreKeysKeyboardView extends KeyboardView implements MoreKeysPanel @Override public boolean dismissMoreKeysPanel() { - super.closing(); if (mController == null) return false; return mController.onDismissMoreKeysPanel(); } |