/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | StringUtils.java | 11 * Returns a string containing the tokens joined by delimiters. 15 public static String joinAndBidiFormat(String delimiter, Iterable<String> tokens) { argument 16 return joinAndBidiFormat(delimiter, tokens, BidiFormatter.getInstance()); 20 * Returns a string containing the tokens joined by delimiters. 25 String delimiter, Iterable<String> tokens, BidiFormatter bidiFormatter) { 28 for (String token : tokens) { 24 joinAndBidiFormat( String delimiter, Iterable<String> tokens, BidiFormatter bidiFormatter) argument
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
H A D | TextUtils.java | 66 * Returns a string containing the tokens joined by delimiters. 67 * @param tokens an array objects to be joined. Strings will be formed from 70 public static String join(CharSequence delimiter, Object[] tokens) { argument 73 for (Object token: tokens) { 85 * Returns a string containing the tokens joined by delimiters. 86 * @param tokens an array objects to be joined. Strings will be formed from 89 public static String join(CharSequence delimiter, Iterable<?> tokens) { argument 92 for (Object token: tokens) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
H A D | CommandInterceptor.java | 67 String[] tokens = query.substring(COMMAND_PREFIX.length()).split("\\s+"); 69 if (command.accept(tokens)) { 78 private boolean quickViewer(String[] tokens) { argument 79 if ("qv".equals(tokens[0])) { 80 if (tokens.length == 2 && !TextUtils.isEmpty(tokens[1])) { 81 DebugFlags.setQuickViewer(tokens[1]); 82 Log.i(TAG, "Set quick viewer to: " + tokens[1]); 85 Log.w(TAG, "Invalid command structure: " + TextUtils.join(" ", tokens)); 87 } else if ("deqv".equals(tokens[ 95 gestureScale(String[] tokens) argument 108 archiveCreation(String[] tokens) argument 121 docDetails(String[] tokens) argument 134 forcePaging(String[] tokens) argument 177 accept(String[] tokens) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | WordInputEventForPersonalization.java | 58 final List<String> tokens, final int timestamp, 61 final int N = tokens.size(); 64 final String tempWord = tokens.get(i); 57 createInputEventFrom( final List<String> tokens, final int timestamp, final SpacingAndPunctuations spacingAndPunctuations, final Locale locale) argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/ |
H A D | SqlCheckerTest.java | 29 final ArrayList<String> tokens = new ArrayList<>(); 31 SqlChecker.findTokens(sql, SqlChecker.OPTION_NONE, token -> tokens.add(token)); 33 return tokens; 163 private SqlChecker getChecker(String... tokens) { argument 164 return new SqlChecker(Arrays.asList(tokens)); 167 private void checkEnsureNoInvalidTokens(boolean ok, String sql, String... tokens) { argument 169 getChecker(tokens).ensureNoInvalidTokens(sql); 172 getChecker(tokens).ensureNoInvalidTokens(sql); 203 private void checkEnsureSingleTokenOnly(boolean ok, String sql, String... tokens) { argument 205 getChecker(tokens) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | HanziToPinyin.java | 133 * Convert the input to a array of tokens. The sequence of ASCII or Unknown characters without 138 ArrayList<Token> tokens = new ArrayList<Token>(); 140 // return empty tokens. 141 return tokens; 157 addToken(sb, tokens, tokenType); 163 addToken(sb, tokens, tokenType); 165 tokens.add(token); 169 addToken(sb, tokens, tokenType); 177 addToken(sb, tokens, tokenType); 179 return tokens; 182 addToken( final StringBuilder sb, final ArrayList<Token> tokens, final int tokenType) argument [all...] |
H A D | NameSplitter.java | 234 // Iterate over tokens, skipping over empty ones and marking tokens that 319 * Parses a full name and returns components as a list of tokens. 321 public int tokenize(String[] tokens, String fullName) { argument 335 tokens[count++] = tokenizer.mTokens[i]; 395 NameTokenizer tokens = new NameTokenizer(fullName); 396 parsePrefix(name, tokens); 398 // If the name consists of just one or two tokens, treat them as first/last name, 400 if (tokens.mEndPointer > 2) { 401 parseSuffix(name, tokens); 715 parsePrefix(Name name, NameTokenizer tokens) argument 733 parseSuffix(Name name, NameTokenizer tokens) argument 792 parseLastName(Name name, NameTokenizer tokens) argument 847 parseMiddleName(Name name, NameTokenizer tokens) argument 865 parseGivenNames(Name name, NameTokenizer tokens) argument [all...] |
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | StringUtils.java | 61 * Returns a string containing the tokens joined by delimiters. 63 * @param tokens an array objects to be joined. Strings will be formed from 68 @Nonnull final Iterable<?> tokens) { 71 for (final Object token: tokens) { 67 join(@onnull final CharSequence delimiter, @Nonnull final Iterable<?> tokens) argument
|
/packages/services/Car/tools/hidl_parser/ |
H A D | parser.py | 30 tokens = ('package', 'import', 'enum', variable
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | pointer.h | 51 representation (e.g. "#/foo/0") into its internal representation (tokens), 60 supplied tokens eliminates these. 78 A JSON pointer string representation "/foo/123" is parsed to two tokens: 133 //! Constructor with user-supplied tokens. 135 This constructor let user supplies const array of tokens. 139 \param tokens An constant array of tokens representing the JSON pointer. 140 \param tokenCount Number of tokens. 155 GenericPointer(const Token* tokens, size_t tokenCount) : allocator_(), ownAllocator_(), nameBuffer_(), tokens_(const_cast<Token*>(tokens)), tokenCount argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 311 * A regex for describing how we split search queries into tokens. Keeps 1133 * Splits the search query into individual search tokens based on whitespace 1138 * @return an array of tokens from the search query 1182 String constructSearchWhere(String[] tokens) { argument 1183 if (tokens.length == 0) { 1188 for (int j = 0; j < tokens.length; j++) { 1200 if (j < tokens.length - 1) { 1208 String[] constructSearchArgs(String[] tokens) { argument 1210 int numArgs = tokens.length * numCols; 1212 for (int j = 0; j < tokens [all...] |
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |