aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-09-02 13:15:20 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-02 13:15:20 -0700
commit539fb1bc67f3f7e3a872c431656b2c21442fa7d3 (patch)
tree02b94fdf0aef4dc09b124f6c3be81e85c806c882 /java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
parente46f44714d67faf598df7d85f6271db2ff75aebb (diff)
parent20052f34f987ab946d54cc405fa42cd0510fb94f (diff)
downloadlatinime-539fb1bc67f3f7e3a872c431656b2c21442fa7d3.tar.gz
latinime-539fb1bc67f3f7e3a872c431656b2c21442fa7d3.tar.xz
latinime-539fb1bc67f3f7e3a872c431656b2c21442fa7d3.zip
am 20052f34: am fe72f135: Remove close button from mini keyboard
Merge commit '20052f34f987ab946d54cc405fa42cd0510fb94f' * commit '20052f34f987ab946d54cc405fa42cd0510fb94f': Remove close button from mini keyboard
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
index a58c6e5d2..ab1789ffe 100644
--- a/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
+++ b/java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java
@@ -62,8 +62,7 @@ import java.util.Map;
* @attr ref R.styleable#LatinKeyboardBaseView_verticalCorrection
* @attr ref R.styleable#LatinKeyboardBaseView_popupLayout
*/
-public class LatinKeyboardBaseView extends View implements View.OnClickListener,
- PointerTracker.UIProxy {
+public class LatinKeyboardBaseView extends View implements PointerTracker.UIProxy {
private static final String TAG = "LatinKeyboardBaseView";
private static final boolean DEBUG = false;
@@ -646,14 +645,6 @@ public class LatinKeyboardBaseView extends View implements View.OnClickListener,
return mKeyDetector.isProximityCorrectionEnabled();
}
- /**
- * Popup keyboard close button clicked.
- * @hide
- */
- public void onClick(View v) {
- dismissPopupKeyboard();
- }
-
protected CharSequence adjustCase(CharSequence label) {
if (mKeyboard.isShifted() && label != null && label.length() < 3
&& Character.isLowerCase(label.charAt(0))) {
@@ -1006,8 +997,6 @@ public class LatinKeyboardBaseView extends View implements View.OnClickListener,
mMiniKeyboardContainer = inflater.inflate(mPopupLayout, null);
mMiniKeyboard = (LatinKeyboardBaseView) mMiniKeyboardContainer.findViewById(
R.id.LatinKeyboardBaseView);
- View closeButton = mMiniKeyboardContainer.findViewById(R.id.closeButton);
- if (closeButton != null) closeButton.setOnClickListener(this);
mMiniKeyboard.setOnKeyboardActionListener(new OnKeyboardActionListener() {
public void onKey(int primaryCode, int[] keyCodes, int x, int y) {
mKeyboardActionListener.onKey(primaryCode, keyCodes, x, y);