summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/us/minak/IMEService.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/us/minak/IMEService.java b/src/us/minak/IMEService.java
index 21bd159..ae12bc2 100644
--- a/src/us/minak/IMEService.java
+++ b/src/us/minak/IMEService.java
@@ -22,20 +22,20 @@ import android.view.inputmethod.EditorInfo;
* Represent the application input service.
*/
public class IMEService extends InputMethodService {
- private IMEView mPenboardView;
+ private IMEView mIMEView;
@Override
public View onCreateInputView() {
- final IMEView penboardView = (IMEView) getLayoutInflater().inflate(R.layout.ime, null);
+ final IMEView minakView = (IMEView) getLayoutInflater().inflate(R.layout.ime, null);
- penboardView.setOnCharacterEnteredListener(new StringReciever() {
+ minakView.setOnCharacterEnteredListener(new StringReciever() {
@Override
public void putString(String character) {
getCurrentInputConnection().commitText(character, 1);
}
});
- penboardView.setOnBackspacePressedListener(new OnBackspacePressedListener() {
+ minakView.setOnBackspacePressedListener(new OnBackspacePressedListener() {
@Override
public void backspacePressed(boolean isLongClick) {
if (isLongClick) {
@@ -46,14 +46,14 @@ public class IMEService extends InputMethodService {
}
});
- mPenboardView = penboardView;
- return penboardView;
+ mIMEView = minakView;
+ return minakView;
}
@Override
public void onStartInput(EditorInfo attribute, boolean restarting) {
- if (mPenboardView != null) {
- final Queue<Character> symbolsQueue = mPenboardView.getSymbolsQueue();
+ if (mIMEView != null) {
+ final Queue<Character> symbolsQueue = mIMEView.getSymbolsQueue();
while (!symbolsQueue.isEmpty()) {
final Character character = symbolsQueue.poll();
getCurrentInputConnection().commitText(String.valueOf(character), 1);