HomeSort by relevance Sort by last modified time
    Searched refs:StringUtils (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
StringUtilsTests.java 34 StringUtils.toTitleCaseOfKeyLabel(lowerCase, locale));
116 StringUtils.toTitleCaseOfKeyCode(lowerCase, locale));
148 StringUtils.capitalizeFirstCodePoint(text, locale));
167 StringUtils.capitalizeFirstAndDowncaseRest(text, locale));
189 assertFalse("empty array", StringUtils.containsInArray("key", new String[0]));
190 assertFalse("not in 1 element", StringUtils.containsInArray("key", new String[] {
193 assertFalse("not in 2 elements", StringUtils.containsInArray("key", new String[] {
197 assertTrue("in 1 element", StringUtils.containsInArray("key", new String[] {
200 assertTrue("in 2 elements", StringUtils.containsInArray("key", new String[] {
206 assertFalse("null", StringUtils.containsInCommaSplittableText("key", null))
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/util/
StringUtils.java 22 public final class StringUtils {
24 private StringUtils() { }
  /external/sl4a/Common/src/org/apache/commons/codec/binary/
StringUtils.java 31 * @version $Id: StringUtils.java 801391 2009-08-05 19:55:54Z ggregory $
34 public class StringUtils {
49 return StringUtils.getBytesUnchecked(string, CharEncoding.ISO_8859_1);
65 return StringUtils.getBytesUnchecked(string, CharEncoding.US_ASCII);
81 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16);
97 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16BE);
113 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16LE);
129 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_8);
158 throw StringUtils.newIllegalStateException(charsetName, e);
191 throw StringUtils.newIllegalStateException(charsetName, e)
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
StringUtilsTests.cpp 19 #include <utils/StringUtils.h>
24 TEST(StringUtils, simpleBuildSet) {
25 auto collection = StringUtils::split("a b c");
33 TEST(StringUtils, advancedBuildSet) {
34 auto collection = StringUtils::split("GL_ext1 GL_ext2 GL_ext3");
40 TEST(StringUtils, sizePrinter) {
  /external/smali/smalidea/src/test/java/org/jf/smalidea/util/
StringUtilsTest.java 40 String parsedString = StringUtils.parseQuotedString("\"abcd\"");
46 String parsedString = StringUtils.parseQuotedString("\"a\\\\b\\nc\\uabcdd\"");
  /external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
RuleConfiguration.java 18 import org.codehaus.plexus.util.StringUtils;
52 rule.setIncludes(StringUtils.join(includes.iterator(), ":"));
61 rule.setExcludes(StringUtils.join(excludes.iterator(), ":"));
FileFilter.java 21 import org.codehaus.plexus.util.StringUtils;
84 pattern = StringUtils.join(patterns.iterator(), ",");
  /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
ComposedData.java 51 - StringUtils.getTrailingSingleQuotesCount(mTypedWord);
63 return StringUtils.copyCodePointsAndReturnCodePointCount(destination, mTypedWord, 0,
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/
CharRenderer.java 32 import org.jf.util.StringUtils;
39 StringUtils.writeEscapedChar(writer, val);
  /external/smali/util/src/main/java/org/jf/util/
StringUtils.java 37 public class StringUtils {
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/
SetSourceFileMethodItem.java 36 import org.jf.util.StringUtils;
56 StringUtils.writeEscapedString(writer, sourceFile);
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
ReferenceFormatter.java 35 import org.jf.util.StringUtils;
42 StringUtils.writeEscapedString(writer, item);
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
SmalideaMethodParameter.java 40 import org.jf.smalidea.util.StringUtils;
58 return StringUtils.parseQuotedString(psiParameter.getName());
  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
ScopedErrorReport.java 20 import android.databinding.tool.util.StringUtils;
47 return StringUtils.isNotBlank(mFilePath);
  /frameworks/base/libs/hwui/utils/
StringUtils.cpp 17 #include "StringUtils.h"
22 unordered_string_set StringUtils::split(const char* spacedList) {
StringUtils.h 34 class StringUtils {
  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
ParserHelper.java 23 builder.append(StringUtils.capitalize(item));
StringUtils.java 24 public class StringUtils {
79 private StringUtils() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ExpectedKeyOutput.java 22 import com.android.inputmethod.latin.common.StringUtils;
38 if (StringUtils.codePointCount(outputText) == 1) {
63 final String codeString = StringUtils.newSingleCodePointString(mCode);
66 return newInstance(StringUtils.toTitleCaseOfKeyLabel(codeString, locale));
79 return StringUtils.codePointCount(text) == 1 && text.codePointAt(0) == mCode;
99 return Constants.isLetterCode(mCode) ? StringUtils.newSingleCodePointString(mCode)
  /frameworks/base/libs/hwui/
Extensions.cpp 21 #include "utils/StringUtils.h"
39 auto extensions = StringUtils::split((const char*) glGetString(GL_EXTENSIONS));
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
StringUtils.java 8 public class StringUtils {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
StringDataItem.java 37 import org.jf.util.StringUtils;
57 out.annotateTo(reader.getOffset() + 1, "data = \"%s\"", StringUtils.escapeString(value));
  /frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
BRWriter.kt 19 import android.databinding.tool.util.StringUtils
23 public fun write(pkg : String): String = "package $pkg;${StringUtils.LINE_SEPARATOR}$klass"
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
RecapitalizeStatus.java 19 import com.android.inputmethod.latin.common.StringUtils;
43 if (StringUtils.isIdenticalAfterUpcase(string)) {
45 } else if (StringUtils.isIdenticalAfterDowncase(string)) {
47 } else if (StringUtils.isIdenticalAfterCapitalizeEachWord(string, sortedSeparators)) {
165 mStringAfter = StringUtils.capitalizeEachWord(mStringBefore, mSortedSeparators,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 37 import com.android.inputmethod.latin.common.StringUtils;
196 if (StringUtils.CAPITALIZE_NONE == capitalizeType) return false;
203 if (StringUtils.CAPITALIZE_FIRST == capitalizeType) return false;
209 StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale));
263 final int capitalizeType = StringUtils.getCapitalizationType(text);
284 final int[] codePoints = StringUtils.toCodePointArray(text);
348 if (StringUtils.CAPITALIZE_ALL == capitalizeType) {
350 } else if (StringUtils.CAPITALIZE_FIRST == capitalizeType) {
351 suggestion = StringUtils.capitalizeFirstCodePoint(
358 StringUtils.removeDupes(suggestions)
    [all...]

Completed in 1063 milliseconds

1 2 3 4 5 6 7 8 9