diff options
author | 2010-09-02 13:04:47 -0700 | |
---|---|---|
committer | 2010-09-02 13:04:47 -0700 | |
commit | 20052f34f987ab946d54cc405fa42cd0510fb94f (patch) | |
tree | 6a02f3773965fa6ebf08c3a2f8480bc5836977bd /java/src | |
parent | cea6a25b904f536aff4efbf9eeb865bef8a3a4b4 (diff) | |
parent | fe72f135b855cbbebe2c1a00650a58736370693c (diff) | |
download | latinime-20052f34f987ab946d54cc405fa42cd0510fb94f.tar.gz latinime-20052f34f987ab946d54cc405fa42cd0510fb94f.tar.xz latinime-20052f34f987ab946d54cc405fa42cd0510fb94f.zip |
am fe72f135: Remove close button from mini keyboard
Merge commit 'fe72f135b855cbbebe2c1a00650a58736370693c' into gingerbread-plus-aosp
* commit 'fe72f135b855cbbebe2c1a00650a58736370693c':
Remove close button from mini keyboard
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardBaseView.java | 13 |
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); |