Android Open Source - MYKey_SoftKeyboard Final Combination Info






From Project

Back to project page MYKey_SoftKeyboard.

License

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.

Java Source Code

package key_process;
// w w w . j av a  2  s  . c o m
public class FinalCombinationInfo {
  static public int ERROR = -1;
  
  
  
  /**
   * ????? ?? ????? ?? ???? ??? ?? ??? ??
   */
  static public int checkFinalComb(int firstFinal, int secondFinal){
    int result;
    result = finalCombTable[firstFinal-4200][secondFinal-4200];
    
    return result;
  }
  
  /*
   * ?? ???????? ?? ?? (???)
   * ?, ?, ? ??? ????? Idx? ???? ??
   */
  static private int finalCombTable[][] = {
      // 0 ??(????? ????)
      { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
          19, 20, 21, 22, 23, 24, 25, 26, 27 },

      // 1? 1(?)->2(?) 19(?)->3(?)
      { ERROR, 2, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, 3, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR },

      // 2?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 3?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 4? 22(?)->5(?) ?(27)->6(?)
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, 5, ERROR, ERROR, ERROR,
          ERROR, 6 },

      // 5?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 6?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 7?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 8? 1(?)->9(?) 16(??)->10(?) 17(?)->11(?) 19(?)->12(?)
      // 25(?)->13(?) 26(??)->14(?) 27(?)->15(?)
      { ERROR, 9, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, 10, 11, ERROR,
          12, ERROR, ERROR, ERROR, ERROR, ERROR, 13, 14, 15 },

      // 9 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 10 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 11 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 12 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 13 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 14 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 15 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 16 ??
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 17 ? 19(?)->18(?)
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, 18, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR },

      // 18 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 19 ? 19(?)->20(?)
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, 20, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR },

      // 20 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 21 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 22 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 23 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 24 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 25 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 26 ??
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

      // 27 ?
      { ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR, ERROR,
          ERROR, ERROR, ERROR },

  };

}




Java Source Code List

com.android.mykey.LatinKeyboardView.java
com.android.mykey.LatinKeyboard.java
com.android.mykey.SoftKeyboard.java
ime_preferences.ImePreferencesActivity.java
key_process.Buffer.java
key_process.FinalCombinationInfo.java
key_process.KeyInfo.java
key_process.KeyMap.java
key_process.KeyProcessor.java
korean_automata.CombinationState.java
korean_automata.KoreanAutomata.java
korean_automata.PhonemeCategoryConverter.java
korean_automata.Proc1.java
korean_automata.Proc2.java
korean_automata.Proc3.java
korean_automata.Proc4.java
korean_automata.StArea.java
korean_automata.StEmpty.java
korean_automata.StError.java
korean_automata.StFirstArea.java
korean_automata.StFirstVowelAndFirst.java
korean_automata.StFirstVowel.java
korean_automata.StFirst.java
korean_automata.StMultiFinal.java
korean_automata.StSingleFinalAndFirst.java
korean_automata.StSingleFinal.java
korean_automata.StVowel.java
korean_automata.VerifyComb.java
string_Key.StringKeyHandler.java
string_Key.StringKeyListAdapter.java
string_Key.StringKeyModifyActivity.java