Home
last modified time | relevance | path

Searched refs:langs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DFontFamily.java85 public FontFamily(@Nullable String[] langs, int variant) { in FontFamily() argument
87 if (langs == null || langs.length == 0) { in FontFamily()
89 } else if (langs.length == 1) { in FontFamily()
90 langsString = langs[0]; in FontFamily()
92 langsString = TextUtils.join(",", langs); in FontFamily()
208 private static native long nInitBuilder(String langs, int variant); in nInitBuilder() argument
/frameworks/base/tools/fonts/
Dfontchain_linter.py227 langs = family.get('lang')
231 assert langs is None, (
242 langs = family.get('lang')
244 if langs:
245 langs = langs.split()
246 scripts = {lang_to_script(lang) for lang in langs}
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp61 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument
63 if (langs != nullptr) { in FontFamily_initBuilder()
64 ScopedUtfChars str(env, langs); in FontFamily_initBuilder()