diff options
author | Jean Chalard <jchalard@google.com> | 2012-05-08 20:39:46 +0900 |
---|---|---|
committer | Jean Chalard <jchalard@google.com> | 2012-05-09 17:50:25 +0900 |
commit | c4c4b916eb007dc08f971af45e989a9f0e6c6585 (patch) | |
tree | 3d9f0f6d3a05a99e50a93e97b106459adcf5ed60 /src/com/android/settings/inputmethod | |
parent | 5642fdbf43f06f3773076e3390a6bef120adfc80 (diff) | |
download | packages_apps_settings-c4c4b916eb007dc08f971af45e989a9f0e6c6585.zip packages_apps_settings-c4c4b916eb007dc08f971af45e989a9f0e6c6585.tar.gz packages_apps_settings-c4c4b916eb007dc08f971af45e989a9f0e6c6585.tar.bz2 |
Small cleanup
Change-Id: Id8e8352b725d2259c70690a1a7dfe29fab9b6eb0
Diffstat (limited to 'src/com/android/settings/inputmethod')
-rw-r--r-- | src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java | 11 | ||||
-rw-r--r-- | src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java | 8 |
2 files changed, 4 insertions, 15 deletions
diff --git a/src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java b/src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java index f849a0b..e52ab7a 100644 --- a/src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java +++ b/src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java @@ -17,22 +17,11 @@ package com.android.settings.inputmethod; import com.android.settings.R; -import com.android.settings.UserDictionarySettings; -import com.android.settings.Utils; -import com.android.settings.inputmethod.UserDictionaryAddWordContents.LocaleRenderer; -import java.util.Locale; - -import android.animation.LayoutTransition; import android.app.Activity; -import android.content.Context; import android.content.Intent; import android.os.Bundle; -import android.provider.UserDictionary; -import android.text.TextUtils; import android.view.View; -import android.view.ViewGroup; -import android.widget.EditText; public class UserDictionaryAddWordActivity extends Activity { diff --git a/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java b/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java index a74fa1b..2ecca67 100644 --- a/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java +++ b/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java @@ -47,10 +47,10 @@ public class UserDictionaryAddWordContents { private static final int FREQUENCY_FOR_USER_DICTIONARY_ADDS = 250; - /* package */ final int mMode; // Either MODE_EDIT or MODE_INSERT - /* package */ final EditText mEditText; - /* package */ String mLocale; - /* package */ String mOldWord; + private final int mMode; // Either MODE_EDIT or MODE_INSERT + private final EditText mEditText; + private String mLocale; + private final String mOldWord; /* package */ UserDictionaryAddWordContents(final View view, final Bundle args) { mEditText = (EditText)view.findViewById(R.id.user_dictionary_add_word_text); |