Searched refs:mLocales (Results 1 – 5 of 5) sorted by relevance
37 private final LocaleList mLocales; field in LocaleSpan53 mLocales = locale == null ? LocaleList.getEmptyLocaleList() : new LocaleList(locale); in LocaleSpan()64 mLocales = locales; in LocaleSpan()68 mLocales = LocaleList.CREATOR.createFromParcel(source); in LocaleSpan()93 mLocales.writeToParcel(dest, flags); in writeToParcelInternal()105 return mLocales.get(0); in getLocale()113 return mLocales; in getLocales()118 apply(ds, mLocales); in updateDrawState()123 apply(paint, mLocales); in updateMeasureState()
38 private final LocaleList mLocales; field in KeyboardLayout58 mLocales = locales; in KeyboardLayout()68 mLocales = LocaleList.CREATOR.createFromParcel(source); in KeyboardLayout()107 return mLocales; in getLocales()139 mLocales.writeToParcel(dest, 0); in writeToParcel()
205 size_t size() const { return mLocales.size(); } in size()206 bool empty() const { return mLocales.empty(); } in empty()207 const Locale& operator[](size_t n) const { return mLocales[n]; }218 std::vector<Locale> mLocales; variable
491 LocaleList::LocaleList(std::vector<Locale>&& locales) : mLocales(std::move(locales)) { in LocaleList()494 mHbLangs.reserve(mLocales.size()); in LocaleList()496 const auto firstLanguage = mLocales.empty() ? NO_LANGUAGE : mLocales[0].mLanguage; in LocaleList()497 for (const Locale& locale : mLocales) { in LocaleList()
81 private LocaleList mLocales; field in Paint650 mLocales = paint.mLocales; in setClassVariablesFrom()1596 return mLocales.get(0); in getTextLocale()1606 return mLocales; in getTextLocales()1621 if (mLocales != null && mLocales.size() == 1 && locale.equals(mLocales.get(0))) { in setTextLocale()1624 mLocales = new LocaleList(locale); in setTextLocale()1659 if (locales.equals(mLocales)) return; in setTextLocales()1660 mLocales = locales; in setTextLocales()1665 final String languageTags = mLocales.toLanguageTags(); in syncTextLocalesWithMinikin()