Lines Matching defs:loc
1481 * @param loc The locale. Can be null.
1483 public void setLocale(@Nullable Locale loc) {
1484 setLocales(loc == null ? LocaleList.getEmptyLocaleList() : new LocaleList(loc));
1512 * @param loc The Locale. If null will set the layout direction to
1519 public void setLayoutDirection(Locale loc) {
1522 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc);
1548 Locale loc = locs.get(i);
1549 boolean l = (loc.getLanguage().length() != 0);
1550 boolean c = (loc.getCountry().length() != 0);
1551 boolean s = (loc.getScript().length() != 0);
1552 boolean v = (loc.getVariant().length() != 0);
1558 sb.append(loc.getLanguage());
1560 sb.append("-r").append(loc.getCountry());
1562 sb.append("-s").append(loc.getScript());
1564 sb.append("-v").append(loc.getVariant());