Home
last modified time | relevance | path

Searched refs:mLocale (Results 1 – 25 of 33) 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.java36 private Locale mLocale; field in GeocoderParams
49 mLocale = locale; in GeocoderParams()
57 return mLocale; in getLocale()
74 gp.mLocale = new Locale(language, country, variant);
89 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
90 parcel.writeString(mLocale.getCountry()); in writeToParcel()
91 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.java38 private final Locale mLocale; field in LocaleStore.LocaleInfo
53 this.mLocale = locale; in LocaleInfo()
81 return mLocale; in getLocale()
117 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); in getFullNameNative()
124 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); in getFullCountryNameNative()
131 return LocaleHelper.getDisplayCountry(mLocale); in getFullCountryNameInUiLanguage()
141 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage()
146 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(mLocale)); in getLangScriptKey()
149 ? mLocale.toLanguageTag() in getLangScriptKey()
/frameworks/base/packages/Osu/src/com/android/anqp/
DI18Name.java17 private final Locale mLocale; field in I18Name
30 mLocale = Locale.forLanguageTag(mLanguage); in I18Name()
41 mLocale = Locale.forLanguageTag(mLanguage); in I18Name()
49 return mLocale; in getLocale()
78 return mText + ':' + mLocale.getLanguage(); in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DI18Name.java17 private final Locale mLocale; field in I18Name
30 mLocale = Locale.forLanguageTag(mLanguage); in I18Name()
41 mLocale = Locale.forLanguageTag(mLanguage); in I18Name()
49 return mLocale; in getLocale()
78 return mText + ':' + mLocale.getLanguage(); in toString()
DCivicLocationElement.java21 private final Locale mLocale; field in CivicLocationElement
51 mLocale = Locale.forLanguageTag(Constants.getString(payload, 2, StandardCharsets.US_ASCII)); in CivicLocationElement()
76 return mLocale; in getLocale()
87 ", mLocale=" + mLocale + in toString()
/frameworks/support/v7/appcompat/src/android/support/v7/text/
DAllCapsTransformationMethod.java30 private Locale mLocale; field in AllCapsTransformationMethod
33 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
38 return source != null ? source.toString().toUpperCase(mLocale) : null; in getTransformation()
/frameworks/support/v4/ics/android/support/v4/view/
DPagerTitleStripIcs.java34 private Locale mLocale; field in PagerTitleStripIcs.SingleLineAllCapsTransform
37 mLocale = context.getResources().getConfiguration().locale; in SingleLineAllCapsTransform()
43 return source != null ? source.toString().toUpperCase(mLocale) : null; in getTransformation()
/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.java35 private Locale mLocale; field in AllCapsTransformationMethod
38 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
57 locale = mLocale; in getTransformation()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java186 private final Locale mLocale; field in AlwaysOnHotwordDetector
341 mLocale = locale; in AlwaysOnHotwordDetector()
524 return mKeyphraseEnrollmentInfo.getManageKeyphraseIntent(action, mText, mLocale); in getManageIntentLocked()
578 mKeyphraseMetadata.id, mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked()
697 enrolled = internalGetIsEnrolled(mKeyphraseMetadata.id, mLocale); in doInBackground()
763 pw.print(prefix); pw.print("Locale="); pw.println(mLocale); in dump()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java71 private Locale mLocale; field in AccessibilityIterators.CharacterTextSegmentIterator
83 mLocale = locale; in CharacterTextSegmentIterator()
149 if (!mLocale.equals(locale)) { in onConfigurationChanged()
150 mLocale = locale; in onConfigurationChanged()
/frameworks/base/libs/androidfw/
DAssetManager.cpp142 : mLocale(NULL), mVendor(NULL), in AssetManager()
164 delete[] mLocale; in ~AssetManager()
368 if (mLocale != NULL) { in setLocaleLocked()
372 delete[] mLocale; in setLocaleLocked()
402 mLocale = new char[newLocaleLen]; in setLocaleLocked()
404 memcpy(mLocale, kTlPrefix, kTlPrefixLen); in setLocaleLocked()
406 memcpy(mLocale + kTlPrefixLen, locale + kFilPrefixLen, in setLocaleLocked()
413 mLocale = strdupNew(locale); in setLocaleLocked()
738 if (mLocale) { in updateResourceParamsLocked()
739 mConfig->setBcp47Locale(mLocale); in updateResourceParamsLocked()
[all …]
/frameworks/av/include/media/
Dmediascanner.h90 char *mLocale;
124 String8 mLocale;
/frameworks/base/core/java/android/text/
DAutoText.java73 private Locale mLocale; field in AutoText
77 mLocale = resources.getConfiguration().locale; in AutoText()
95 if (!locale.equals(instance.mLocale)) { in getInstance()
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java64 builder.mLocale = locale; in nSetLocale()
139 BreakIterator it = BreakIterator.getLineInstance(new ULocale(builder.mLocale)); in nComputeLineBreaks()
225 String mLocale; field in StaticLayout_Delegate.Builder
/frameworks/base/core/java/android/widget/
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 = LocaleData.get(mLocale).tinyWeekdayNames; in updateDayOfWeekLabels()
DTimePickerSpinnerDelegate.java203 mTempCalendar = Calendar.getInstance(mLocale); in TimePickerSpinnerDelegate()
221 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in getHourFormatData()
241 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in isAmPmAtStart()
257 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in setDividerText()
DTimePicker.java298 protected final Locale mLocale; field in TimePicker.AbstractTimePickerDelegate
305 mLocale = context.getResources().getConfiguration().locale; in AbstractTimePickerDelegate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java65 private Locale mLocale; field in Clock
149 if (! newLocale.equals(mLocale)) {
150 mLocale = newLocale;
DNetworkControllerImpl.java111 private Locale mLocale = null; field in NetworkControllerImpl
176 mLocale = mContext.getResources().getConfiguration().locale; in NetworkControllerImpl()
565 if (!current.equals(mLocale)) { in refreshLocale()
566 mLocale = current; in refreshLocale()
650 pw.println(mLocale); in dump()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java239 private final String mLocale; field in SpellCheckerService.InternalISpellCheckerSession
246 mLocale = locale; in InternalISpellCheckerSession()
299 return mLocale; in getLocale()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCarrierText.java371 private final Locale mLocale; field in CarrierText.CarrierTextTransformationMethod
375 mLocale = context.getResources().getConfiguration().locale; in CarrierTextTransformationMethod()
384 source = source.toString().toUpperCase(mLocale); in getTransformation()

12