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:06:12 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-16 01:06:12 -0800
commit520e69056e45ce23fc9496ec6a62b9be6b60555b (patch)
tree24674383b4e0c72b51ff89584373d7184ce3c7d1 /java/src/com/android/inputmethod/latin/InputAttributes.java
parentcadc0f7d7933f2b7c9a91314e15fdccc0ec6d49e (diff)
parentdc9d0fcc11f0886296c6eb325fe4f71beb87ff4c (diff)
downloadlatinime-520e69056e45ce23fc9496ec6a62b9be6b60555b.tar.gz
latinime-520e69056e45ce23fc9496ec6a62b9be6b60555b.tar.xz
latinime-520e69056e45ce23fc9496ec6a62b9be6b60555b.zip
Merge "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) {
+ }
+}