Home
last modified time | relevance | path

Searched refs:charCode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DUserData.java117 int charCode = charToAscii.get(str.charAt(i), -1); in stringToAscii() local
118 if (charCode == -1) return null; in stringToAscii()
119 result[i] = (byte)charCode; in stringToAscii()
DBearerData.java506 int charCode = UserData.charToAscii.get(msg.charAt(i), -1); in encode7bitAscii() local
507 if (charCode == -1) { in encode7bitAscii()
514 outStream.write(7, charCode); in encode7bitAscii()
614 int charCode = UserData.charToAscii.get(msg.charAt(i), -1); in encode7bitAsciiEms() local
615 if (charCode == -1) { in encode7bitAsciiEms()
622 outStream.write(7, charCode); in encode7bitAsciiEms()
1113 int charCode = inStream.read(7); in decode7bitAscii() local
1114 if ((charCode >= UserData.ASCII_MAP_BASE_INDEX) && in decode7bitAscii()
1115 (charCode <= UserData.ASCII_MAP_MAX_INDEX)) { in decode7bitAscii()
1116 strBuf.append(UserData.ASCII_MAP[charCode - UserData.ASCII_MAP_BASE_INDEX]); in decode7bitAscii()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2598 public void sendKeyChar(char charCode) { in sendKeyChar() argument
2599 switch (charCode) { in sendKeyChar()
2607 if (charCode >= '0' && charCode <= '9') { in sendKeyChar()
2608 sendDownUpKeyEvents(charCode - '0' + KeyEvent.KEYCODE_0); in sendKeyChar()
2612 ic.commitText(String.valueOf(charCode), 1); in sendKeyChar()