/frameworks/base/core/java/android/speech/tts/ |
D | Voice.java | 64 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/ |
D | GeocoderParams.java | 37 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()
|
D | Address.java | 36 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/opt/localepicker/src/com/android/localepicker/ |
D | LocaleStore.java | 45 private final Locale mLocale; field in LocaleStore.LocaleInfo 60 this.mLocale = locale; in LocaleInfo() 90 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() 150 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); in getFullNameInUiLanguage() 156 .setLocale(mLocale) in getLangScriptKey() 162 ? mLocale.toLanguageTag() in getLangScriptKey()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 41 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/ |
D | I18Name.java | 47 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/ |
D | MediaScanner.cpp | 30 : 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()
|
D | MediaScannerClient.cpp | 36 mLocale = locale; // not currently used in setLocale()
|
/frameworks/base/core/java/android/text/method/ |
D | AllCapsTransformationMethod.java | 40 private Locale mLocale; field in AllCapsTransformationMethod 44 mLocale = context.getResources().getConfiguration().getLocales().get(0); in AllCapsTransformationMethod() 63 locale = mLocale; in getTransformation()
|
D | DigitsKeyListener.java | 51 private final Locale mLocale; field in DigitsKeyListener 159 mLocale = locale; in DigitsKeyListener() 213 mLocale = null; in DigitsKeyListener()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 54 XmlCharUniquePtr mLocale; member 67 std::unique_ptr<std::string> mLocale; member 150 out->mLocale.reset( in copyFont() 151 state.mLocale ? in copyFont() 152 new std::string(reinterpret_cast<const char*>(state.mLocale.get())) in copyFont() 199 state->mLocale.reset(xmlGetProp(family, LOCALE_ATTR_NAME)); in findFirstFontNode() 301 state->mLocale.reset(xmlGetProp(family, LOCALE_ATTR_NAME)); in findNextFontNode() 363 return font->mLocale ? font->mLocale->c_str() : nullptr; in AFont_getLocale()
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 60 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()
|
D | AutoText.java | 72 private Locale mLocale; field in AutoText 76 mLocale = resources.getConfiguration().locale; in AutoText() 94 if (!locale.equals(instance.mLocale)) { in getInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierText.java | 117 private final Locale mLocale; field in CarrierText.CarrierTextTransformationMethod 121 mLocale = context.getResources().getConfiguration().locale; in CarrierTextTransformationMethod() 130 source = source.toString().toUpperCase(mLocale); in getTransformation()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierEvent.java | 155 private final ULocale mLocale; field in TextClassifierEvent 176 mLocale = builder.mLocale; in TextClassifierEvent() 193 mLocale = languageTag == null ? null : ULocale.forLanguageTag(languageTag); in TextClassifierEvent() 241 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel() 353 return mLocale; in getLocale() 527 private ULocale mLocale; field in TextClassifierEvent.Builder 641 mLocale = locale; in setLocale()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 76 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/ |
D | mediascanner.h | 90 char *mLocale; 124 String8 mLocale;
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 222 private final Locale mLocale; field in AlwaysOnHotwordDetector 422 mLocale = locale; in AlwaysOnHotwordDetector() 722 return mKeyphraseEnrollmentInfo.getManageKeyphraseIntent(action, mText, mLocale); in getManageIntentLocked() 786 mKeyphraseMetadata.getId(), mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked() 991 mText, mLocale.toLanguageTag()); in internalUpdateEnrolledKeyphraseMetadata() 1002 pw.print(prefix); pw.print("Locale="); pw.println(mLocale); in dump()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 438 protected final Locale mLocale; field in TimePicker.AbstractTimePickerDelegate 451 mLocale = context.getResources().getConfiguration().locale; in AbstractTimePickerDelegate() 473 final Calendar cal = Calendar.getInstance(mLocale); in autofill() 488 final Calendar cal = Calendar.getInstance(mLocale); in getAutofillValue()
|
D | TimePickerSpinnerDelegate.java | 206 mTempCalendar = Calendar.getInstance(mLocale); in TimePickerSpinnerDelegate() 229 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in getHourFormatData() 249 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in isAmPmAtStart() 265 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in setDividerText()
|
D | SimpleMonthView.java | 84 private final Locale mLocale; field in SimpleMonthView 176 mLocale = res.getConfiguration().locale; in SimpleMonthView() 177 mCalendar = Calendar.getInstance(mLocale); in SimpleMonthView() 179 mDayFormatter = NumberFormat.getIntegerInstance(mLocale); in SimpleMonthView() 188 final String format = DateFormat.getBestDateTimePattern(mLocale, MONTH_YEAR_FORMAT); in updateMonthYearLabel() 189 final SimpleDateFormat formatter = new SimpleDateFormat(format, mLocale); in updateMonthYearLabel() 197 final String[] tinyWeekdayNames = LocaleData.get(mLocale).tinyWeekdayNames; in updateDayOfWeekLabels()
|
D | TimePickerClockDelegate.java | 247 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/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SystemActions.java | 136 private Locale mLocale; field in SystemActions 145 mLocale = mContext.getResources().getConfiguration().getLocales().get(0); in SystemActions() 164 if (!locale.equals(mLocale)) { in onConfigurationChanged() 165 mLocale = locale; in onConfigurationChanged()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 240 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/ |
D | TextServicesManagerService.java | 245 " " + "mScLocale=" + req.mLocale + " mUid=" + req.mUid); in dump() 254 " " + "mScLocale=" + req.mLocale + " mUid=" + req.mUid); in dump() 769 public final String mLocale; field in TextServicesManagerService.SessionRequest 781 mLocale = locale; in SessionRequest() 826 request.mLocale, request.mScListener, request.mBundle, in onServiceConnectedLocked() 914 request.mLocale, request.mScListener, request.mBundle, in getISpellCheckerSessionOrQueueLocked()
|