diff options
author | 2010-12-02 18:46:21 +0900 | |
---|---|---|
committer | 2010-12-02 20:06:01 +0900 | |
commit | 5a309f57155fb95667c2ccdda730eaf175de8876 (patch) | |
tree | d9f6ddf0a6bbdda4f2c3db4b9c2ad2093eeb2feb /java/src/com/android/inputmethod/voice/VoiceIMEConnector.java | |
parent | 9b89f6571b2fbd36be1e2492626c11d829c2ae3d (diff) | |
download | latinime-5a309f57155fb95667c2ccdda730eaf175de8876.tar.gz latinime-5a309f57155fb95667c2ccdda730eaf175de8876.tar.xz latinime-5a309f57155fb95667c2ccdda730eaf175de8876.zip |
Move some inner static class to top class in new package
This change introduces new package com.android.inputmethod.keyboard
which hosts keyboard related classes.
Also adds missing @Override and @SuppressWarning("unused") annotation
Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
Diffstat (limited to 'java/src/com/android/inputmethod/voice/VoiceIMEConnector.java')
-rw-r--r-- | java/src/com/android/inputmethod/voice/VoiceIMEConnector.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java b/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java index 5574a21de..73b3b19e3 100644 --- a/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java +++ b/java/src/com/android/inputmethod/voice/VoiceIMEConnector.java @@ -39,7 +39,6 @@ import android.text.Selection; import android.text.Spannable; import android.text.TextUtils; import android.text.method.LinkMovementMethod; -import android.text.method.MovementMethod; import android.text.style.ClickableSpan; import android.text.style.URLSpan; import android.view.LayoutInflater; @@ -120,6 +119,7 @@ public class VoiceIMEConnector implements VoiceInput.UiListener { if (VOICE_INSTALLED) { mVoiceInput = new VoiceInput(context, this); mHints = new Hints(context, prefs, new Hints.Display() { + @Override public void showHint(int viewResource) { LayoutInflater inflater = (LayoutInflater) mContext.getSystemService( Context.LAYOUT_INFLATER_SERVICE); @@ -519,6 +519,7 @@ public class VoiceIMEConnector implements VoiceInput.UiListener { public void switchToRecognitionStatusView(final boolean configurationChanging) { final boolean configChanged = configurationChanging; mHandler.post(new Runnable() { + @Override public void run() { mContext.setCandidatesViewShown(false); mRecognizing = true; |