OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringUtils
(Results
1 - 25
of
127
) sorted by null
1
2
3
4
5
6
/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
...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
ParserHelper.java
19
import org.apache.commons.lang3.
StringUtils
;
25
builder.append(
StringUtils
.capitalize(item));
/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);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
ScopedErrorReport.java
19
import org.apache.commons.lang3.
StringUtils
;
48
return
StringUtils
.isNotBlank(mFilePath);
/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)
ActualKeyboardBuilder.java
23
import com.android.inputmethod.latin.common.
StringUtils
;
99
static class MoreKeySpecStringizer extends
StringUtils
.Stringizer<MoreKeySpec> {
121
output =
StringUtils
.newSingleCodePointString(code);
131
static class KeyStringizer extends
StringUtils
.Stringizer<Key> {
176
static class KeyArrayStringizer extends
StringUtils
.Stringizer<Key[]> {
/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));
StringIdItem.java
37
import org.jf.util.
StringUtils
;
58
StringUtils
.escapeString(stringValue));
81
string = String.format("\"%s\"",
StringUtils
.escapeString(string));
/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,
BinaryDictionaryUtils.java
21
import com.android.inputmethod.latin.common.
StringUtils
;
111
return calcNormalizedScoreNative(
StringUtils
.toCodePointArray(before),
112
StringUtils
.toCodePointArray(after), score);
WordInputEventForPersonalization.java
23
import com.android.inputmethod.latin.common.
StringUtils
;
49
mTargetWord =
StringUtils
.toCodePointArray(targetWord);
65
if (
StringUtils
.isEmptyStringOrWhiteSpaces(tempWord)) {
/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
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
SpacingAndPunctuations.java
26
import com.android.inputmethod.latin.common.
StringUtils
;
48
mSortedSymbolsPrecededBySpace =
StringUtils
.toSortedCodePointArray(
51
mSortedSymbolsFollowedBySpace =
StringUtils
.toSortedCodePointArray(
53
mSortedSymbolsClusteringTogether =
StringUtils
.toSortedCodePointArray(
56
mSortedWordConnectors =
StringUtils
.toSortedCodePointArray(
58
mSortedWordSeparators =
StringUtils
.toSortedCodePointArray(
60
mSortedSentenceTerminators =
StringUtils
.toSortedCodePointArray(
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
WordComposerTests.java
24
import com.android.inputmethod.latin.common.
StringUtils
;
40
final int[] CODEPOINTS_WITHIN_BMP =
StringUtils
.toCodePointArray(STR_WITHIN_BMP);
69
StringUtils
.toCodePointArray(STR_WITH_SUPPLEMENTARY_CHAR);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
CodesArrayParser.java
20
import com.android.inputmethod.latin.common.
StringUtils
;
40
private static final String COMMA_REGEX =
StringUtils
.newSingleCodePointString(COMMA);
KeySpecParser.java
23
import com.android.inputmethod.latin.common.
StringUtils
;
178
if (
StringUtils
.codePointCount(outputText) == 1) {
193
return (
StringUtils
.codePointCount(label) == 1) ? null : label;
210
if (
StringUtils
.codePointCount(outputText) == 1) {
220
return (
StringUtils
.codePointCount(label) == 1) ? label.codePointAt(0) : CODE_OUTPUT_TEXT;
MoreKeySpec.java
26
import com.android.inputmethod.latin.common.
StringUtils
;
61
mLabel = needsToUpperCase ?
StringUtils
.toTitleCaseOfKeyLabel(label, locale) : label;
63
final int code = needsToUpperCase ?
StringUtils
.toTitleCaseOfKeyCode(codeInSpec, locale)
74
?
StringUtils
.toTitleCaseOfKeyLabel(outputText, locale) : outputText;
120
if (
StringUtils
.codePointCount(label) == 1 && label.codePointAt(0) == mCode) {
176
StringUtils
.newSingleCodePointString(Constants.CODE_PERCENT);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
PunctuationSuggestions.java
21
import com.android.inputmethod.latin.common.
StringUtils
;
77
:
StringUtils
.newSingleCodePointString(code);
BinaryDictionary.java
29
import com.android.inputmethod.latin.common.
StringUtils
;
255
final String attributeKey =
StringUtils
.getStringFromNullTerminatedCodePointArray(
257
final String attributeValue =
StringUtils
.getStringFromNullTerminatedCodePointArray(
361
final int[] codePoints =
StringUtils
.toCodePointArray(word);
370
final int[] codePoints =
StringUtils
.toCodePointArray(word);
386
final int[] wordCodePoints =
StringUtils
.toCodePointArray(word);
395
final int[] codePoints =
StringUtils
.toCodePointArray(word);
439
final String word =
StringUtils
.getStringFromNullTerminatedCodePointArray(codePoints);
451
final int[] codePoints =
StringUtils
.toCodePointArray(word);
466
final int[] codePoints =
StringUtils
.toCodePointArray(word)
[
all
...]
ContactsBinaryDictionary.java
28
import com.android.inputmethod.latin.common.
StringUtils
;
134
int len =
StringUtils
.codePointCount(name);
148
final int wordLen =
StringUtils
.codePointCount(word);
Completed in 4381 milliseconds
1
2
3
4
5
6