From 5badea811573367bc80b2601209f0bea5c4bc2f8 Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Tue, 6 May 2014 21:48:30 -0400 Subject: changed a variable to minak syntax --- src/us/minak/IMEService.java | 16 ++++++++-------- 1 file 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 symbolsQueue = mPenboardView.getSymbolsQueue(); + if (mIMEView != null) { + final Queue symbolsQueue = mIMEView.getSymbolsQueue(); while (!symbolsQueue.isEmpty()) { final Character character = symbolsQueue.poll(); getCurrentInputConnection().commitText(String.valueOf(character), 1); -- cgit v1.2.3-54-g00ecf