aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/InputAttributes.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-12-16 12:57:27 +0900
committerJean Chalard <jchalard@google.com>2011-12-16 18:03:16 +0900
commitdc9d0fcc11f0886296c6eb325fe4f71beb87ff4c (patch)
tree5ae58c39ea15a0e54d95c81aabb2e58b2d4315e0 /java/src/com/android/inputmethod/latin/InputAttributes.java
parent702f9fc1941ff6e26c94d5928dea0b1669cdbeeb (diff)
downloadlatinime-dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c.tar.gz
latinime-dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c.tar.xz
latinime-dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c.zip
Create a class for input attributes.
Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8
Diffstat (limited to 'java/src/com/android/inputmethod/latin/InputAttributes.java')
-rw-r--r--java/src/com/android/inputmethod/latin/InputAttributes.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/InputAttributes.java b/java/src/com/android/inputmethod/latin/InputAttributes.java
new file mode 100644
index 000000000..28ce916c9
--- /dev/null
+++ b/java/src/com/android/inputmethod/latin/InputAttributes.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2011 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.android.inputmethod.latin;
+
+import android.view.inputmethod.EditorInfo;
+
+/**
+ * Class to hold attributes of the input field.
+ */
+public class InputAttributes {
+ private final String TAG = InputAttributes.class.getSimpleName();
+
+ // TODO: make these final
+ public boolean mInsertSpaceOnPickSuggestionManually;
+ public boolean mInputTypeNoAutoCorrect;
+ public boolean mIsSettingsSuggestionStripOn;
+ public boolean mApplicationSpecifiedCompletionOn;
+
+ public InputAttributes(final EditorInfo editorInfo) {
+ }
+}