summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-05 01:11:54 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-05 01:11:54 -0400
commitbf039d8e355d489ad4f591d7554dbf5455aa1d62 (patch)
tree395d6505c45b1d3e1f25aa859baf7fd455b5822b
parent8c10d8999f748f77a3bf0c208306d9c99ed0180e (diff)
whitespace
-rw-r--r--src/us/minak/CreateGestureActivity.java12
-rw-r--r--src/us/minak/IMEService.java8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/us/minak/CreateGestureActivity.java b/src/us/minak/CreateGestureActivity.java
index 19fbc83..c59c3b4 100644
--- a/src/us/minak/CreateGestureActivity.java
+++ b/src/us/minak/CreateGestureActivity.java
@@ -38,7 +38,7 @@ public class CreateGestureActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
+
setContentView(R.layout.create_gesture);
mDoneButton = findViewById(R.id.done);
@@ -50,7 +50,7 @@ public class CreateGestureActivity extends Activity {
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
-
+
if (mGesture != null) {
outState.putParcelable("gesture", mGesture);
}
@@ -59,7 +59,7 @@ public class CreateGestureActivity extends Activity {
@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
super.onRestoreInstanceState(savedInstanceState);
-
+
mGesture = savedInstanceState.getParcelable("gesture");
if (mGesture != null) {
final GestureOverlayView overlay =
@@ -97,14 +97,14 @@ public class CreateGestureActivity extends Activity {
}
finish();
-
+
}
-
+
public void cancelGesture(View v) {
setResult(RESULT_CANCELED);
finish();
}
-
+
private class GesturesProcessor implements GestureOverlayView.OnGestureListener {
public void onGestureStarted(GestureOverlayView overlay, MotionEvent event) {
mDoneButton.setEnabled(false);
diff --git a/src/us/minak/IMEService.java b/src/us/minak/IMEService.java
index 6064be9..92aad05 100644
--- a/src/us/minak/IMEService.java
+++ b/src/us/minak/IMEService.java
@@ -13,22 +13,22 @@ public class IMEService extends InputMethodService {
public void onInitializeInterface() {
// TODO
}
-
+
@Override
public View onCreateInputView() {
final IMEView view = (IMEView) getLayoutInflater().inflate(R.layout.ime, null);
-
+
view.setOnCharacterEnteredListener(new OnCharacterEnteredListener() {
@Override
public void characterEntered(String character) {
getCurrentInputConnection().commitText(character, 1);
}
});
-
+
this.imeView = view;
return view;
}
-
+
/**
* Called to inform the input method that text input has started in an editor.
*/