Home
last modified time | relevance | path

Searched refs:mLocale (Results 1 – 22 of 22) 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/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/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()
/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/support/v7/appcompat/src/android/support/v7/internal/widget/
DCompatTextView.java66 private final Locale mLocale; field in CompatTextView.AllCapsTransformationMethod
69 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
74 return source != null ? source.toString().toUpperCase(mLocale) : null; in getTransformation()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java73 private Locale mLocale; field in AccessibilityIterators.CharacterTextSegmentIterator
85 mLocale = locale; in CharacterTextSegmentIterator()
151 if (!mLocale.equals(locale)) { in onConfigurationChanged()
152 mLocale = locale; in onConfigurationChanged()
/frameworks/base/libs/androidfw/
DAssetManager.cpp145 : mLocale(NULL), mVendor(NULL), in AssetManager()
163 delete[] mLocale; in ~AssetManager()
427 if (mLocale != NULL) { in setLocaleLocked()
431 delete[] mLocale; in setLocaleLocked()
433 mLocale = strdupNew(locale); in setLocaleLocked()
735 size_t llen = mLocale ? strlen(mLocale) : 0; in updateResourceParamsLocked()
741 mConfig->language[0] = mLocale[0]; in updateResourceParamsLocked()
742 mConfig->language[1] = mLocale[1]; in updateResourceParamsLocked()
745 mConfig->country[0] = mLocale[3]; in updateResourceParamsLocked()
746 mConfig->country[1] = mLocale[4]; in updateResourceParamsLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java58 private Locale mLocale; field in Clock
126 if (! newLocale.equals(mLocale)) {
127 mLocale = newLocale;
DNetworkController.java137 private Locale mLocale = null; field in NetworkController
537 mLocale = mContext.getResources().getConfiguration().locale; in refreshLocale()
1208 || mLastLocale != mLocale) in refreshViews()
1223 if (mLastLocale != mLocale) { in refreshViews()
1224 mLastLocale = mLocale; in refreshViews()
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java239 private Locale mLocale; field in ActionMenuItemView.AllCapsTransformationMethod
242 mLocale = getContext().getResources().getConfiguration().locale; in AllCapsTransformationMethod()
247 return source != null ? source.toString().toUpperCase(mLocale) : null; in getTransformation()
/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/av/include/media/
Dmediascanner.h64 char *mLocale;
/frameworks/base/graphics/java/android/graphics/
DPaint.java49 private Locale mLocale; field in Paint
439 mLocale = paint.mLocale; in setClassVariablesFrom()
1076 return mLocale; in getTextLocale()
1109 if (locale.equals(mLocale)) return; in setTextLocale()
1110 mLocale = locale; in setTextLocale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java129 private Locale mLocale; field in BaseStatusBar
212 mLocale = mContext.getResources().getConfiguration().locale; in start()
213 mLayoutDirection = TextUtils.getLayoutDirectionFromLocale(mLocale); in start()
287 mLocale = mContext.getResources().getConfiguration().locale; in start()
308 if (! newLocale.equals(mLocale)) { in onConfigurationChanged()
309 mLocale = newLocale; in onConfigurationChanged()
310 mLayoutDirection = TextUtils.getLayoutDirectionFromLocale(mLocale); in onConfigurationChanged()
/frameworks/base/include/androidfw/
DAssetManager.h352 char* mLocale; variable
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java56 Locale mLocale; field in AppWidgetService
DTextServicesManagerService.java846 private final String mLocale; field in TextServicesManagerService.InternalServiceConnection
851 mLocale = locale; in InternalServiceConnection()
DAppWidgetServiceImpl.java187 Locale mLocale; field in AppWidgetServiceImpl
239 if (revised == null || mLocale == null || !(revised.equals(mLocale))) { in onConfigurationChanged()
240 mLocale = revised; in onConfigurationChanged()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java95 private Locale mLocale = Locale.getDefault(); field in Paint_Delegate
1267 mLocale = new Locale(locale); in setTextLocale()