aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/InputAttributes.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-12-16 01:08:29 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-16 01:08:29 -0800
commita7e5609ae7571533b187f660b3b42d80cdab5471 (patch)
tree24674383b4e0c72b51ff89584373d7184ce3c7d1 /java/src/com/android/inputmethod/latin/InputAttributes.java
parent228a6095bda9b9723edf51344a35a4a579aee861 (diff)
parent520e69056e45ce23fc9496ec6a62b9be6b60555b (diff)
downloadlatinime-a7e5609ae7571533b187f660b3b42d80cdab5471.tar.gz
latinime-a7e5609ae7571533b187f660b3b42d80cdab5471.tar.xz
latinime-a7e5609ae7571533b187f660b3b42d80cdab5471.zip
am 520e6905: Merge "Create a class for input attributes."
* commit '520e69056e45ce23fc9496ec6a62b9be6b60555b': Create a class for input attributes.
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) {
+ }
+}