summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-05-06 20:57:32 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-05-06 20:57:32 -0400
commitdc66775222a0b9422ebe21aa8b5dd7412e4db7ee (patch)
tree2c0f9dbf4a4f902de16349c345f17234b77002e5
parent06e939b525822c88d08b494860d2b955d584cb8c (diff)
Commented more stuff.
-rw-r--r--src/us/minak/IMEView.java7
-rw-r--r--src/us/minak/SettingsActivity.java3
2 files changed, 6 insertions, 4 deletions
diff --git a/src/us/minak/IMEView.java b/src/us/minak/IMEView.java
index 784f0ce..6a6e985 100644
--- a/src/us/minak/IMEView.java
+++ b/src/us/minak/IMEView.java
@@ -34,6 +34,7 @@ public class IMEView extends RelativeLayout {
private Button mShiftButton;
private ShiftState mShiftState = ShiftState.OFF;
private final Queue<Character> mSymbolsQueue = new LinkedList<Character>();
+/*
private float x;
private float y;
private boolean ongoingGesture = false;
@@ -54,7 +55,7 @@ public class IMEView extends RelativeLayout {
public boolean getState() {
return ongoingGesture;
}
-
+*/
private enum ShiftState {
OFF, ON, CAPS_LOCK
};
@@ -85,11 +86,11 @@ public class IMEView extends RelativeLayout {
spaceButton.setOnClickListener(mButtonClickListener);
spaceButton.setOnLongClickListener(mButtonLongClickListener);
- //dynamic MetaCircle adding stuff here. replace null with Shift or Ctrl or Meta or Alt or Hyper or whatever.
+ /*/dynamic MetaCircle adding stuff here. replace null with Shift or Ctrl or Meta or Alt or Hyper or whatever.
drawingSpaceView.circles.add(new MetaCircle((float)50.0, (float)50.0, (float)20.0, Color.RED, new MetaExpression(null)));
drawingSpaceView.circles.add(new MetaCircle((float)70.0, (float)70.0, (float)20.0, Color.RED, new MetaExpression(null)));
drawingSpaceView.circles.add(new MetaCircle((float)50.0, (float)30.0, (float)20.0, Color.RED, new MetaExpression(null)));
- //
+ /*/
}
public void setOnCharacterEnteredListener(StringReciever onCharacterEnteredListener) {
diff --git a/src/us/minak/SettingsActivity.java b/src/us/minak/SettingsActivity.java
index 66b85da..a3dea5c 100644
--- a/src/us/minak/SettingsActivity.java
+++ b/src/us/minak/SettingsActivity.java
@@ -222,7 +222,8 @@ public class SettingsActivity extends ListActivity {
break;
for (Gesture gesture : store.getGestures(name)) {
- final Bitmap bitmap = gesture.toBitmap(mThumbnailSize, mThumbnailSize, mThumbnailInset, mPathColor);
+ final Bitmap bitmap = gesture.toBitmap(mThumbnailSize,
+ mThumbnailSize, mThumbnailInset, mPathColor);
final NamedGesture namedGesture = new NamedGesture();
namedGesture.gesture = gesture;
namedGesture.name = name;