Back to project page MYKey_SoftKeyboard.
The source code is released under:
Apache License
If you think the Android project MYKey_SoftKeyboard listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package korean_automata; /*from w w w . ja v a 2s. c o m*/ import java.util.ArrayList; import key_process.*; import com.android.mykey.*; public class Proc1 extends CombinationState { public Proc1(){ repeat = true; } @Override public int[] combine(ArrayList<Integer> phoArr, KoreanAutomata ka) { Buffer tmpBuffer = ka.getBuffer(); combPhon = new int[1]; combPhon[0] = calcPhoneme(phoArr.get(0), phoArr.get(1)); tmpBuffer.appendLetter(combPhon); tmpBuffer.commitTyped(); tmpBuffer.handingPhoArrAt(2); ka.setKoreanAutomataState(KoreanAutomata.ST_FIRST_AREA, KoreanAutomata.ST_FIRST); ka.setEnter(false); return null; } }