Searched refs:chars (Results 1 - 16 of 16) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DStrSegment.java54 * @param chars The array of characters
56 public StrSegment(char[] chars) { argument
57 this(new String(chars), -1, -1);
H A DOpenWnnEvent.java77 * This event input specified character({@code chars}) into the cursor position.
269 public char[] chars = null; field in class:OpenWnnEvent
307 this.chars = new char[1];
308 this.chars[0] = c;
318 this.chars = c;
H A DOpenWnnEN.java212 * @param chars A array of character
214 private void insertCharToComposingText(char[] chars) { argument
215 StrSegment seg = new StrSegment(chars);
217 if (chars[0] == SPACE[0] || chars[0] == '\u0009') {
495 commitText(new String(ev.chars));
498 insertCharToComposingText(ev.chars);
H A DOpenWnnJAJP.java826 sendKeyChar(ev.chars[0]);
984 commitText(new String(ev.chars));
987 processSoftKeyboardCodeWithoutConversion(ev.chars);
989 processSoftKeyboardCode(ev.chars);
2401 * @param chars The input character(s)
2403 private void processSoftKeyboardCodeWithoutConversion(char[] chars) { argument
2404 if (chars == null) {
2409 appendStrSegment(new StrSegment(chars));
2428 * @param chars The input character(s)
2430 private void processSoftKeyboardCode(char[] chars) { argument
[all...]
/packages/apps/Email/src/org/apache/commons/io/input/
H A DNullReader.java52 * protected void processChars(char[] chars, int offset, int length) {
54 * chars[i] = ... // set array value here
178 * @param chars The character array to read into
186 public int read(char[] chars) throws IOException { argument
187 return read(chars, 0, chars.length);
193 * @param chars The character array to read into.
203 public int read(char[] chars, int offset, int length) throws IOException { argument
216 processChars(chars, offset, returnLength);
289 * @param chars Th
293 processChars(char[] chars, int offset, int length) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DDiscourseLoggerTest.java26 private static byte[] b(String chars) { argument
27 byte[] ret = new byte[chars.length()];
28 for (int i = 0; i < chars.length(); i++) {
29 ret[i] = (byte) chars.charAt(i);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DLevenshteinSuggestionFormatter.java102 final char[] chars = seq.toCharArray();
107 while (pos < len && (chars[pos] == ' ' || chars[pos] == '\t')) {
111 while (pos < len && !(chars[pos] == ' ' || chars[pos] == '\t')) {
116 tokens[tokenCount++] = new Token(chars, start, end);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java499 char[] chars = mChars;
502 while (mOffset < chars.length && chars[mOffset] == ' ') {
507 if (mOffset == chars.length) {
513 if (chars[mOffset] == '(') {
520 if (chars[mOffset] == ')') {
527 if (chars[mOffset] == '?') {
534 if (chars[mOffset] == '=') {
537 if (mOffset < chars.length && chars[mOffse
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DJavaNetHttpHelper.java161 char[] chars = new char[BUFFER_SIZE];
163 while ((bytes = reader.read(chars)) != -1) {
164 string.append(chars, 0, bytes);
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
H A DStringUtils.java182 final int chars = p.breakText(text, true, maxSize - 12, null);
183 text = text.substring(0, chars);
/packages/apps/Browser/src/com/android/browser/
H A DDownloadHandler.java105 char[] chars = path.toCharArray();
108 for (char c : chars) {
119 for (char c : chars) {
/packages/apps/Email/src/org/apache/james/mime4j/
H A DBodyDescriptor.java167 char[] chars = rest.toCharArray();
181 for (int i = 0; i < chars.length; i++) {
182 char c = chars[i];
/packages/inputmethods/LatinIME/native/jni/src/
H A Dproximity_info_state.h72 const int *chars = getProximityCharsAt(index); local
74 while (chars[i] > 0 && i < MAX_PROXIMITY_CHARS_SIZE_INTERNAL) {
75 if (chars[i++] == c) {
104 // the index of c in the proximity chars of the input index.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFusionDictionary.java109 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, argument
112 mChars = chars;
121 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, argument
124 mChars = chars;
696 // if (!Arrays.equals(aGroup.chars, bGroup.chars)) return false;
736 // for (int ch : g.chars) {
H A DBinaryDictInputOutput.java150 * This allows for the whole unicode range to be encoded, including chars outside of
167 private static int getCharArraySize(final int[] chars) { argument
169 for (int character : chars) size += getCharSize(character);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java172 CharSequence chars = view.getText();
173 if (TextUtils.isEmpty(chars)) return false;
178 port = Integer.parseInt(chars.toString());

Completed in 352 milliseconds