Home
last modified time | relevance | path

Searched refs:mLocale (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/speech/tts/
DVoice.java64 private final Locale mLocale; field in Voice
77 this.mLocale = locale; in Voice()
86 this.mLocale = (Locale)in.readSerializable(); in Voice()
97 dest.writeSerializable(mLocale); in writeToParcel()
126 return mLocale; in getLocale()
189 .append(", locale: ").append(mLocale) in toString()
203 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode()); in hashCode()
232 if (mLocale == null) { in equals()
233 if (other.mLocale != null) { in equals()
236 } else if (!mLocale.equals(other.mLocale)) { in equals()
/frameworks/base/location/java/android/location/
DGeocoderParams.java37 private Locale mLocale; field in GeocoderParams
50 mLocale = locale; in GeocoderParams()
59 return mLocale; in getLocale()
77 gp.mLocale = new Locale(language, country, variant);
92 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
93 parcel.writeString(mLocale.getCountry()); in writeToParcel()
94 parcel.writeString(mLocale.getVariant()); in writeToParcel()
DAddress.java36 private Locale mLocale; field in Address
64 mLocale = locale; in Address()
71 return mLocale; in getLocale()
534 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
535 parcel.writeString(mLocale.getCountry()); in writeToParcel()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java41 private final Locale mLocale; field in LocaleStore.LocaleInfo
56 this.mLocale = locale; in LocaleInfo()
87 return mLocale; in getLocale()
126 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); in getFullNameNative()
133 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); in getFullCountryNameNative()
140 return LocaleHelper.getDisplayCountry(mLocale); in getFullCountryNameInUiLanguage()
151 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage()
157 .setLocale(mLocale) in getLangScriptKey()
163 ? mLocale.toLanguageTag() in getLangScriptKey()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java47 private final Locale mLocale; field in I18Name
53 mLocale = locale; in I18Name()
95 return mLocale; in getLocale()
125 return mText + ':' + mLocale.getLanguage(); in toString()
/frameworks/av/media/libmedia/
DMediaScanner.cpp30 : mLocale(NULL), mSkipList(NULL), mSkipIndex(NULL) { in MediaScanner()
41 if (mLocale) { in setLocale()
42 free(mLocale); in setLocale()
43 mLocale = NULL; in setLocale()
46 mLocale = strdup(locale); in setLocale()
51 return mLocale; in locale()
DMediaScannerClient.cpp36 mLocale = locale; // not currently used in setLocale()
/frameworks/base/core/java/android/text/method/
DAllCapsTransformationMethod.java40 private Locale mLocale; field in AllCapsTransformationMethod
44 mLocale = context.getResources().getConfiguration().getLocales().get(0); in AllCapsTransformationMethod()
63 locale = mLocale; in getTransformation()
DDigitsKeyListener.java51 private final Locale mLocale; field in DigitsKeyListener
159 mLocale = locale; in DigitsKeyListener()
213 mLocale = null; in DigitsKeyListener()
/frameworks/base/core/java/android/text/
DInputFilter.java60 private final Locale mLocale; field in InputFilter.AllCaps
63 mLocale = null; in AllCaps()
72 mLocale = locale; in AllCaps()
95 final CharSequence upper = TextUtils.toUpperCase(mLocale, wrapper, copySpans); in filter()
DAutoText.java72 private Locale mLocale; field in AutoText
76 mLocale = resources.getConfiguration().locale; in AutoText()
94 if (!locale.equals(instance.mLocale)) { in getInstance()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java151 private final ULocale mLocale; field in TextClassifierEvent
172 mLocale = builder.mLocale; in TextClassifierEvent()
189 mLocale = languageTag == null ? null : ULocale.forLanguageTag(languageTag); in TextClassifierEvent()
237 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel()
349 return mLocale; in getLocale()
514 private ULocale mLocale; field in TextClassifierEvent.Builder
628 mLocale = locale; in setLocale()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java116 private final Locale mLocale; field in CarrierText.CarrierTextTransformationMethod
120 mLocale = context.getResources().getConfiguration().locale; in CarrierTextTransformationMethod()
129 source = source.toString().toUpperCase(mLocale); in getTransformation()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java184 private final Locale mLocale; field in AlwaysOnHotwordDetector
340 mLocale = locale; in AlwaysOnHotwordDetector()
523 return mKeyphraseEnrollmentInfo.getManageKeyphraseIntent(action, mText, mLocale); in getManageIntentLocked()
577 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked()
696 enrolled = internalGetIsEnrolled(mKeyphraseMetadata.id, mLocale); in doInBackground()
762 pw.print(prefix); pw.print("Locale="); pw.println(mLocale); in dump()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java76 private Locale mLocale; field in AccessibilityIterators.CharacterTextSegmentIterator
88 mLocale = locale; in CharacterTextSegmentIterator()
157 if (!mLocale.equals(locale)) { in onConfigurationChanged()
158 mLocale = locale; in onConfigurationChanged()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h90 char *mLocale;
124 String8 mLocale;
/frameworks/base/core/java/android/widget/
DTimePicker.java440 protected final Locale mLocale; field in TimePicker.AbstractTimePickerDelegate
453 mLocale = context.getResources().getConfiguration().locale; in AbstractTimePickerDelegate()
475 final Calendar cal = Calendar.getInstance(mLocale); in autofill()
490 final Calendar cal = Calendar.getInstance(mLocale); in getAutofillValue()
DTimePickerSpinnerDelegate.java204 mTempCalendar = Calendar.getInstance(mLocale); in TimePickerSpinnerDelegate()
227 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in getHourFormatData()
247 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in isAmPmAtStart()
263 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in setDividerText()
DSimpleMonthView.java82 private final Locale mLocale; field in SimpleMonthView
174 mLocale = res.getConfiguration().locale; in SimpleMonthView()
175 mCalendar = Calendar.getInstance(mLocale); in SimpleMonthView()
177 mDayFormatter = NumberFormat.getIntegerInstance(mLocale); in SimpleMonthView()
186 final String format = DateFormat.getBestDateTimePattern(mLocale, MONTH_YEAR_FORMAT); in updateMonthYearLabel()
187 final SimpleDateFormat formatter = new SimpleDateFormat(format, mLocale); in updateMonthYearLabel()
195 final String[] tinyWeekdayNames = DateFormatSymbols.getInstance(mLocale) in updateDayOfWeekLabels()
DTimePickerClockDelegate.java247 mTempCalendar = Calendar.getInstance(mLocale); in TimePickerClockDelegate()
310 mLocale, mIs24Hour ? "Hm" : "hm"); in updateHourFormat()
335 final String[] digits = DecimalFormatSymbols.getInstance(mLocale).getDigitStrings(); in updateHourFormat()
445 final String dateTimePattern = DateFormat.getBestDateTimePattern(mLocale, "hm");
460 if (TextUtils.getLayoutDirectionFromLocale(mLocale) == View.LAYOUT_DIRECTION_LTR) {
811 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale,
/frameworks/base/native/android/
Dsystem_fonts.cpp60 std::unique_ptr<std::string> mLocale; member
143 out->mLocale.reset( in copyFont()
354 return font->mLocale ? nullptr : font->mLocale->c_str(); in AFont_getLocale()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java240 private final String mLocale; field in SpellCheckerService.InternalISpellCheckerSession
247 mLocale = locale; in InternalISpellCheckerSession()
300 return mLocale; in getLocale()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java250 " " + "mScLocale=" + req.mLocale + " mUid=" + req.mUid); in dump()
259 " " + "mScLocale=" + req.mLocale + " mUid=" + req.mUid); in dump()
819 public final String mLocale; field in TextServicesManagerService.SessionRequest
831 mLocale = locale; in SessionRequest()
876 request.mLocale, request.mScListener, request.mBundle, in onServiceConnectedLocked()
964 request.mLocale, request.mScListener, request.mBundle, in getISpellCheckerSessionOrQueueLocked()
/frameworks/base/libs/androidfw/
DAssetManager.cpp143 mLocale(NULL), mResources(NULL), mConfig(new ResTable_config) { in AssetManager()
173 delete[] mLocale; in ~AssetManager()
394 if (mLocale != NULL) { in setLocaleLocked()
395 delete[] mLocale; in setLocaleLocked()
398 mLocale = strdupNew(locale); in setLocaleLocked()
679 if (mLocale) { in updateResourceParamsLocked()
680 mConfig->setBcp47Locale(mLocale); in updateResourceParamsLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java89 private Locale mLocale; field in Clock
252 if (!newLocale.equals(mLocale)) {
253 mLocale = newLocale;

12