Searched refs:Locale (Results 251 - 275 of 371) sorted by relevance

<<1112131415

/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java73 * Force the paragraph direction to the Locale direction. Falls back to left to right.
286 * Algorithm that uses the Locale direction to force the direction of a paragraph.
296 final int dir = TextUtils.getLayoutDirectionFromLocale(java.util.Locale.getDefault());
/frameworks/base/core/java/android/text/util/
H A DLinkify.java54 import java.util.Locale;
471 schemesCopy[0] = defaultScheme.toLowerCase(Locale.ROOT);
474 schemesCopy[index + 1] = (scheme == null) ? "" : scheme.toLowerCase(Locale.ROOT);
793 tm.getSimCountryIso().toUpperCase(Locale.US),
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java40 import java.util.Locale;
90 private Locale mCurrentLocale;
145 private void setLocale(Locale locale) {
220 final Locale locale = mTextView.getSpellCheckerLocale();
H A DNumberPicker.java65 import java.util.Locale;
173 final Locale locale = Locale.getDefault();
177 private void init(Locale locale) {
183 final Locale currentLocale = Locale.getDefault();
193 private static char getZeroDigit(Locale locale) {
197 private java.util.Formatter createFormatter(Locale locale) {
2819 return String.format(Locale.getDefault(), "%d", value);
H A DDatePickerCalendarDelegate.java42 import java.util.Locale;
95 final Locale locale = mCurrentLocale;
289 protected void onLocaleChanged(Locale locale) {
H A DCalendarViewLegacyDelegate.java43 import java.util.Locale;
267 LocaleData.get(Locale.getDefault()).firstDayOfWeek);
639 protected void setCurrentLocale(Locale locale) {
672 private static Calendar getCalendarForLocale(Calendar oldCalendar, Locale locale) {
1257 mDayNumbers[0] = String.format(Locale.getDefault(), "%d",
1279 mDayNumbers[i] = String.format(Locale.getDefault(), "%d",
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceSystemFallbackTest.java43 import java.util.Locale;
493 paint.setTextLocale(Locale.GERMANY);
498 paint.setTextLocale(Locale.ITALY);
503 paint.setTextLocale(Locale.FRANCE);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java49 import java.util.Locale;
211 mFormatter = new Formatter(mStringBuilder, Locale.getDefault());
467 Locale.getDefault()).toUpperCase(Locale.getDefault()), x, y,
/frameworks/support/compat/src/main/java/androidx/core/text/
H A DTextDirectionHeuristicsCompat.java66 * Force the paragraph direction to the Locale direction. Falls back to left to right.
240 * Algorithm that uses the Locale direction to force the direction of a paragraph.
250 final int dir = TextUtilsCompat.getLayoutDirectionFromLocale(java.util.Locale.getDefault());
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
H A DDatePicker.java34 import java.util.Locale;
282 mConstant = PickerUtility.getDateConstantInstance(Locale.getDefault(),
/frameworks/base/core/java/android/content/pm/
H A DInstantAppResolveInfo.java34 import java.util.Locale;
269 mDigestBytes = generateDigest(hostName.toLowerCase(Locale.ENGLISH), maxDigests);
/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java22 import java.util.Locale;
309 String asLower = value.toLowerCase(Locale.ROOT);
/frameworks/base/core/java/android/webkit/
H A DURLUtil.java26 import java.util.Locale;
354 if (mimeType != null && mimeType.toLowerCase(Locale.ROOT).startsWith("text/")) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageController.java47 import java.util.Locale;
56 PERIOD_BUILDER, Locale.getDefault());
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevicePlayback.java36 import java.util.Locale;
326 Locale currentLocale = mService.getContext().getResources().getConfiguration().locale;
334 // Don't use Locale.getAvailableLocales() since it returns a locale
H A DHdmiControlService.java84 import java.util.Locale;
93 private final Locale HONG_KONG = new Locale("zh", "HK");
94 private final Locale MACAU = new Locale("zh", "MO");
172 Locale locale = Locale.getDefault();
173 if (locale.equals(Locale.TAIWAN) || locale.equals(HONG_KONG) || locale.equals(MACAU)) {
261 private String mLanguage = Locale.getDefault().getISO3Language();
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiInfo.java29 import java.util.Locale;
458 return SupplicantState.valueOf(stateName.toUpperCase(Locale.ROOT));
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java45 import java.util.Locale;
410 if (locale != null && !locale.isEmpty()) config.locale = new Locale(locale);
/frameworks/support/compat/src/androidTest/java/androidx/core/text/
H A DBidiFormatterTest.java31 import java.util.Locale;
59 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext());
/frameworks/support/compat/src/main/java/androidx/core/text/util/
H A DFindAddress.java24 import java.util.Locale;
285 String suffix = suffixMatcher.group(2).toLowerCase(Locale.getDefault());
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java69 import java.util.Locale;
121 @Deprecated public Locale locale;
126 * Locale should persist on setting. This is hidden because it is really
900 locale = o.locale == null ? null : (Locale) o.locale.clone();
1242 locale = (Locale) delta.locale.clone();
1716 final Locale thisLocale = this.mLocaleList.get(i);
1717 final Locale thatLocale = that.mLocaleList.get(i);
1819 * the direct accessor or {@link #setLocale(Locale)}). This will also set the layout direction
1846 public void setLocale(@Nullable Locale loc) {
1873 * Set the layout direction from a Locale
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java42 import java.util.Locale;
729 paint.setTextLocale(Locale.US);
731 final Locale privateLocale = Locale.forLanguageTag("qaa");
767 final LocaleList locales = new LocaleList(privateLocale, Locale.US);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java45 import java.util.Locale;
397 builder.append(String.format(Locale.US, "%03d", first3digits));
398 builder.append(String.format(Locale.US, "%03d", second3digits));
399 builder.append(String.format(Locale.US, "%d", digit7));
400 builder.append(String.format(Locale.US, "%03d", last3digits));
/frameworks/base/graphics/java/android/graphics/
H A DColor.java33 import java.util.Locale;
1395 Integer color = sColorNameMap.get(colorString.toLowerCase(Locale.ROOT));
1490 Integer i = sColorNameMap.get(color.toLowerCase(Locale.ROOT));
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DInstrument.java45 import java.util.Locale;
221 SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd-hhmmss-SSS", Locale.US);

Completed in 802 milliseconds

<<1112131415