Searched refs:langs (Results 1 – 3 of 3) sorted by relevance
85 public FontFamily(@Nullable String[] langs, int variant) { in FontFamily() argument87 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
227 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}
61 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument63 if (langs != nullptr) { in FontFamily_initBuilder()64 ScopedUtfChars str(env, langs); in FontFamily_initBuilder()