Lines Matching defs:loc
1844 * @param loc The locale. Can be null.
1846 public void setLocale(@Nullable Locale loc) {
1847 setLocales(loc == null ? LocaleList.getEmptyLocaleList() : new LocaleList(loc));
1875 * @param loc The Locale. If null will set the layout direction to
1882 public void setLayoutDirection(Locale loc) {
1885 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc);
1935 final Locale loc = locs.get(i);
1936 final int l = loc.getLanguage().length();
1940 final int s = loc.getScript().length();
1941 final int c = loc.getCountry().length();
1942 final int v = loc.getVariant().length();
1950 sb.append(loc.getLanguage());
1952 sb.append("-r").append(loc.getCountry());
1956 sb.append(loc.getLanguage());
1959 sb.append(loc.getScript());
1963 sb.append(loc.getCountry());
1967 sb.append(loc.getVariant());