summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;