Searched refs:langs (Results 1 – 3 of 3) sorted by relevance
81 public FontFamily(@Nullable String[] langs, int variant) { in FontFamily() argument83 if (langs == null || langs.length == 0) { in FontFamily()85 } else if (langs.length == 1) { in FontFamily()86 langsString = langs[0]; in FontFamily()88 langsString = TextUtils.join(",", langs); in FontFamily()205 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}
66 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring langs, jint variant) { in FontFamily_initBuilder() argument68 if (langs != nullptr) { in FontFamily_initBuilder()69 ScopedUtfChars str(env, langs); in FontFamily_initBuilder()