From dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 16 Dec 2011 12:57:27 +0900 Subject: Create a class for input attributes. Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8 --- .../android/inputmethod/latin/InputAttributes.java | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 java/src/com/android/inputmethod/latin/InputAttributes.java (limited to 'java/src/com/android/inputmethod/latin/InputAttributes.java') 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) { + } +} -- cgit v1.2.3-83-g751a