Home
last modified time | relevance | path

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

/aosp14/frameworks/base/graphics/java/android/graphics/
H A 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
/aosp14/frameworks/base/libs/hwui/jni/
H A DFontFamily.cpp69 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument
71 if (langs != nullptr) { in FontFamily_initBuilder()
72 ScopedUtfChars str(env, langs); in FontFamily_initBuilder()
/aosp14/frameworks/base/tools/fonts/
H A Dfontchain_linter.py246 langs = family.get('lang')
252 assert langs is None, (
264 langs = family.get('lang')
271 if langs:
272 langs = langs.split()
273 scripts = {lang_to_script(lang) for lang in langs}