Searched refs:charCode (Results 1 – 3 of 3) sorted by relevance
109 int charCode = charToAscii.get(str.charAt(i), -1); in stringToAscii() local110 if (charCode == -1) return null; in stringToAscii()111 result[i] = (byte)charCode; in stringToAscii()
529 int charCode = UserData.charToAscii.get(msg.charAt(i), -1); in encode7bitAscii() local530 if (charCode == -1) { in encode7bitAscii()537 outStream.write(7, charCode); in encode7bitAscii()1092 int charCode = inStream.read(7); in decode7bitAscii() local1093 if ((charCode >= UserData.ASCII_MAP_BASE_INDEX) && in decode7bitAscii()1094 (charCode <= UserData.ASCII_MAP_MAX_INDEX)) { in decode7bitAscii()1095 strBuf.append(UserData.ASCII_MAP[charCode - UserData.ASCII_MAP_BASE_INDEX]); in decode7bitAscii()1096 } else if (charCode == UserData.ASCII_NL_INDEX) { in decode7bitAscii()1098 } else if (charCode == UserData.ASCII_CR_INDEX) { in decode7bitAscii()
2057 public void sendKeyChar(char charCode) { in sendKeyChar() argument2058 switch (charCode) { in sendKeyChar()2066 if (charCode >= '0' && charCode <= '9') { in sendKeyChar()2067 sendDownUpKeyEvents(charCode - '0' + KeyEvent.KEYCODE_0); in sendKeyChar()2071 ic.commitText(String.valueOf((char) charCode), 1); in sendKeyChar()