Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 17 of 17) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java499 char[] chars = mChars; in advance() local
502 while (mOffset < chars.length && chars[mOffset] == ' ') { in advance()
507 if (mOffset == chars.length) { in advance()
513 if (chars[mOffset] == '(') { in advance()
520 if (chars[mOffset] == ')') { in advance()
527 if (chars[mOffset] == '?') { in advance()
534 if (chars[mOffset] == '=') { in advance()
537 if (mOffset < chars.length && chars[mOffset] == '=') { in advance()
544 if (chars[mOffset] == '>') { in advance()
547 if (mOffset < chars.length && chars[mOffset] == '=') { in advance()
[all …]
/packages/apps/Email/src/org/apache/commons/io/input/
DNullReader.java186 public int read(char[] chars) throws IOException { in read() argument
187 return read(chars, 0, chars.length); in read()
203 public int read(char[] chars, int offset, int length) throws IOException { in read() argument
216 processChars(chars, offset, returnLength); in read()
293 protected void processChars(char[] chars, int offset, int length) { in processChars() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java102 final char[] chars = seq.toCharArray(); in tokenize() local
107 while (pos < len && (chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()
111 while (pos < len && !(chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()
116 tokens[tokenCount++] = new Token(chars, start, end); in tokenize()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java26 private static byte[] b(String chars) { in b() argument
27 byte[] ret = new byte[chars.length()]; in b()
28 for (int i = 0; i < chars.length(); i++) { in b()
29 ret[i] = (byte) chars.charAt(i); in b()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEvent.java269 public char[] chars = null; field in OpenWnnEvent
307 this.chars = new char[1]; in OpenWnnEvent()
308 this.chars[0] = c; in OpenWnnEvent()
318 this.chars = c; in OpenWnnEvent()
DStrSegment.java56 public StrSegment(char[] chars) { in StrSegment() argument
57 this(new String(chars), -1, -1); in StrSegment()
DOpenWnnEN.java214 private void insertCharToComposingText(char[] chars) { in insertCharToComposingText() argument
215 StrSegment seg = new StrSegment(chars); in insertCharToComposingText()
217 if (chars[0] == SPACE[0] || chars[0] == '\u0009') { in insertCharToComposingText()
495 commitText(new String(ev.chars)); in onEvent()
498 insertCharToComposingText(ev.chars); in onEvent()
DOpenWnnJAJP.java826 sendKeyChar(ev.chars[0]); in onEvent()
984 commitText(new String(ev.chars)); in onEvent()
987 processSoftKeyboardCodeWithoutConversion(ev.chars); in onEvent()
989 processSoftKeyboardCode(ev.chars); in onEvent()
2403 private void processSoftKeyboardCodeWithoutConversion(char[] chars) { in processSoftKeyboardCodeWithoutConversion() argument
2404 if (chars == null) { in processSoftKeyboardCodeWithoutConversion()
2409 appendStrSegment(new StrSegment(chars)); in processSoftKeyboardCodeWithoutConversion()
2430 private void processSoftKeyboardCode(char[] chars) { in processSoftKeyboardCode() argument
2431 if (chars == null) { in processSoftKeyboardCode()
2435 if ((chars[0] == ' ') || (chars[0] == '\u3000' /* Full-width space */)) { in processSoftKeyboardCode()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java161 char[] chars = new char[BUFFER_SIZE]; in getResponseFrom() local
163 while ((bytes = reader.read(chars)) != -1) { in getResponseFrom()
164 string.append(chars, 0, bytes); in getResponseFrom()
/packages/apps/Browser/src/com/android/browser/
DDownloadHandler.java106 char[] chars = path.toCharArray(); in encodePath() local
109 for (char c : chars) { in encodePath()
120 for (char c : chars) { in encodePath()
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
DStringUtils.java182 final int chars = p.breakText(text, true, maxSize - 12, null); in trimText() local
183 text = text.substring(0, chars); in trimText()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java210 int[] chars = StringUtils.toCodePointArray(word.toString()); in getFrequency() local
211 return getFrequencyNative(mNativeDict, chars, chars.length); in getFrequency()
/packages/apps/Email/src/org/apache/james/mime4j/
DBodyDescriptor.java167 char[] chars = rest.toCharArray(); in getHeaderParams() local
181 for (int i = 0; i < chars.length; i++) { in getHeaderParams()
182 char c = chars[i]; in getHeaderParams()
/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info.cpp358 const int *chars = getProximityCharsAt(index); in existsCharInProximityAt() local
360 while (chars[i] > 0 && i < MAX_PROXIMITY_CHARS_SIZE) { in existsCharInProximityAt()
361 if (chars[i++] == c) { in existsCharInProximityAt()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java108 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, in CharGroup() argument
110 mChars = chars; in CharGroup()
117 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets, in CharGroup() argument
119 mChars = chars; in CharGroup()
DBinaryDictInputOutput.java231 private static int getCharArraySize(final int[] chars) { in getCharArraySize() argument
233 for (int character : chars) size += getCharSize(character); in getCharArraySize()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java172 CharSequence chars = view.getText(); in isPortFieldValid() local
173 if (TextUtils.isEmpty(chars)) return false; in isPortFieldValid()
178 port = Integer.parseInt(chars.toString()); in isPortFieldValid()