Home
last modified time | relevance | path

Searched refs:stringLength (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTextUtils.java78 public static String[] buildSimpleStringList(int stringLength) { in buildSimpleStringList() argument
82 strings[i] = randomWord(random, stringLength); in buildSimpleStringList()
87 private static String[] buildStringListFromUnicodeSet(int stringLength, UnicodeSet set) { in buildStringListFromUnicodeSet() argument
92 strings[i] = randomWordFromStringSet(random, stringLength, stringSet); in buildStringListFromUnicodeSet()
97 public static String[] buildEmojiStringList(int stringLength) { in buildEmojiStringList() argument
98 return buildStringListFromUnicodeSet(stringLength, new UnicodeSet("[:emoji:]")); in buildEmojiStringList()
101 public static String[] buildHanStringList(int stringLength) { in buildHanStringList() argument
102 return buildStringListFromUnicodeSet(stringLength, new UnicodeSet("[\\u4E00-\\u9FA0]")); in buildHanStringList()
105 public static String[] buildLongStringList(int stringLength) { in buildLongStringList() argument
110 final StringBuilder sb = new StringBuilder((stringLength + 1) * WORD_COUNT); in buildLongStringList()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableString.java67 int stringLength = 0; in unmarshal() local
74 stringLength++; in unmarshal()
79 "unmarshal - scanned " + stringLength + " characters; found null? " in unmarshal()
89 byte[] strBytes = new byte[stringLength + 1]; in unmarshal()
90 buffer.get(strBytes, /*dstOffset*/0, stringLength + 1); // including null character in unmarshal()
93 return new String(strBytes, /*offset*/0, stringLength, PreloadHolder.UTF8_CHARSET); in unmarshal()
/frameworks/base/core/java/android/util/
DPathParser.java126 int stringLength); in nParseStringForPath() argument
127 private static native long nCreatePathDataFromString(String pathString, int stringLength); in nCreatePathDataFromString() argument
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java68 stringLength) { in nParseStringForPath() argument
73 assert pathString.length() == stringLength; in nParseStringForPath()
105 int stringLength) { in nCreatePathDataFromString() argument
106 assert pathString.length() == stringLength : "Inconsistent path string length."; in nCreatePathDataFromString()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp182 jint stringLength) { in setPathString() argument
188 PathParser::getPathDataFromAsciiString(&data, &result, pathString, stringLength); in setPathString()