summaryrefslogtreecommitdiff
path: root/src/us
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-05-06 21:48:30 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-05-06 21:48:30 -0400
commit5badea811573367bc80b2601209f0bea5c4bc2f8 (patch)
tree6f3e5f3a1dab99193ca31e3d94e078190042e830 /src/us
parentec03c38576dfc6fd3fa85ed4744efe898bcf51c4 (diff)
changed a variable to minak syntax
Diffstat (limited to 'src/us')
-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);