diff options
author | 2014-05-08 14:53:56 +0900 | |
---|---|---|
committer | 2014-05-12 15:58:51 +0900 | |
commit | be99616afa2243fe48dc406d0a3f442cb05453b4 (patch) | |
tree | 07e88e670553253aa924da1bfbae3c0d4ae2277c /java/src/com/android/inputmethod/event/MyanmarReordering.java | |
parent | c41d261b7e1e626aaa4e333c9c4cc73ec13cb68a (diff) | |
download | latinime-be99616afa2243fe48dc406d0a3f442cb05453b4.tar.gz latinime-be99616afa2243fe48dc406d0a3f442cb05453b4.tar.xz latinime-be99616afa2243fe48dc406d0a3f442cb05453b4.zip |
Create the path for specifying combining rules in the subtype
Also add the skeleton of the combining rules for Myanmar
reordering as a pilot.
Bug: 13945569
Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43
Diffstat (limited to 'java/src/com/android/inputmethod/event/MyanmarReordering.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/MyanmarReordering.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/MyanmarReordering.java b/java/src/com/android/inputmethod/event/MyanmarReordering.java new file mode 100644 index 000000000..0831b63ec --- /dev/null +++ b/java/src/com/android/inputmethod/event/MyanmarReordering.java @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2014 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.event; + +import java.util.ArrayList; + +/** + * A combiner that reorders input for Myanmar. + */ +public class MyanmarReordering implements Combiner { + @Override + public Event processEvent(ArrayList<Event> previousEvents, Event event) { + return event; + } + + @Override + public CharSequence getCombiningStateFeedback() { + return ""; + } + + @Override + public void reset() { + } +} |