Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DLocaleSpan.java30 private final Locale mLocale; field in LocaleSpan
38 mLocale = locale; in LocaleSpan()
42 mLocale = new Locale(src.readString(), src.readString(), src.readString()); in LocaleSpan()
57 dest.writeString(mLocale.getLanguage()); in writeToParcel()
58 dest.writeString(mLocale.getCountry()); in writeToParcel()
59 dest.writeString(mLocale.getVariant()); in writeToParcel()
68 return mLocale; in getLocale()
73 apply(ds, mLocale); in updateDrawState()
78 apply(paint, mLocale); in updateMeasureState()
/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/support/v7/appcompat/src/android/support/v7/internal/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/base/core/java/android/text/method/
DAllCapsTransformationMethod.java34 private Locale mLocale; field in AllCapsTransformationMethod
37 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
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/service/voice/
DAlwaysOnHotwordDetector.java185 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()
692 enrolled = internalGetIsEnrolled(mKeyphraseMetadata.id, mLocale); in doInBackground()
758 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/av/include/media/
Dmediascanner.h90 char *mLocale;
124 String8 mLocale;
/frameworks/base/libs/androidfw/
DAssetManager.cpp151 : mLocale(NULL), mVendor(NULL), in AssetManager()
169 delete[] mLocale; in ~AssetManager()
376 if (mLocale != NULL) { in setLocaleLocked()
380 delete[] mLocale; in setLocaleLocked()
410 mLocale = new char[newLocaleLen]; in setLocaleLocked()
412 memcpy(mLocale, kTlPrefix, kTlPrefixLen); in setLocaleLocked()
414 memcpy(mLocale + kTlPrefixLen, locale + kFilPrefixLen, in setLocaleLocked()
421 mLocale = strdupNew(locale); in setLocaleLocked()
742 if (mLocale) { in updateResourceParamsLocked()
743 mConfig->setBcp47Locale(mLocale); in updateResourceParamsLocked()
[all …]
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java53 private Locale mLocale; field in Clock
131 if (! newLocale.equals(mLocale)) {
132 mLocale = newLocale;
DNetworkControllerImpl.java125 private Locale mLocale = null; field in NetworkControllerImpl
175 mLocale = mContext.getResources().getConfiguration().locale; in NetworkControllerImpl()
534 if (!current.equals(mLocale)) { in refreshLocale()
535 mLocale = current; in refreshLocale()
688 pw.println(mLocale); in dump()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCarrierText.java317 private final Locale mLocale; field in CarrierText.CarrierTextTransformationMethod
321 mLocale = context.getResources().getConfiguration().locale; in CarrierTextTransformationMethod()
330 source = source.toString().toUpperCase(mLocale); in getTransformation()
/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/graphics/java/android/graphics/
DPaint.java53 private Locale mLocale; field in Paint
517 mLocale = paint.mLocale; in setClassVariablesFrom()
1171 return mLocale; in getTextLocale()
1204 if (locale.equals(mLocale)) return; in setTextLocale()
1205 mLocale = locale; in setTextLocale()
/frameworks/base/include/androidfw/
DAssetManager.h371 char* mLocale; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java185 private Locale mLocale; field in BaseStatusBar
538 mLocale = currentConfig.locale; in start()
539 mLayoutDirection = TextUtils.getLayoutDirectionFromLocale(mLocale); in start()
715 if (! locale.equals(mLocale) || ld != mLayoutDirection || fontScale != mFontScale) { in onConfigurationChanged()
718 "config changed locale/LD: %s (%d) -> %s (%d)", mLocale, mLayoutDirection, in onConfigurationChanged()
721 mLocale = locale; in onConfigurationChanged()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java96 private Locale mLocale = Locale.getDefault(); field in Paint_Delegate
1230 mLocale = new Locale(locale); in setTextLocale()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java917 private final String mLocale; field in TextServicesManagerService.InternalServiceConnection
922 mLocale = locale; in InternalServiceConnection()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java188 private Locale mLocale; field in AppWidgetServiceImpl
271 if (revised == null || mLocale == null || !revised.equals(mLocale)) { in onConfigurationChanged()
272 mLocale = revised; in onConfigurationChanged()