/frameworks/base/core/java/android/speech/tts/ |
D | Voice.java | 65 private final Locale mLocale; field in Voice 78 this.mLocale = locale; in Voice() 87 …this.mLocale = (Locale)in.readSerializable(java.util.Locale.class.getClassLoader(), java.util.Loca… in Voice() 98 dest.writeSerializable(mLocale); in writeToParcel() 127 return mLocale; in getLocale() 190 .append(", locale: ").append(mLocale) in toString() 204 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode()); in hashCode() 233 if (mLocale == null) { in equals() 234 if (other.mLocale != null) { in equals() 237 } else if (!mLocale.equals(other.mLocale)) { in equals()
|
/frameworks/base/location/java/android/location/provider/ |
D | ReverseGeocodeRequest.java | 48 private final Locale mLocale; field in ReverseGeocodeRequest 68 mLocale = Objects.requireNonNull(locale); in ReverseGeocodeRequest() 96 return mLocale; in getLocale() 146 parcel.writeString8(mLocale.getLanguage()); in writeToParcel() 147 parcel.writeString8(mLocale.getCountry()); in writeToParcel() 148 parcel.writeString8(mLocale.getVariant()); in writeToParcel() 161 && mLocale.equals(that.mLocale) in equals() 175 mLocale, in hashCode() 187 private final Locale mLocale; field in ReverseGeocodeRequest.Builder 204 mLocale = locale; in Builder() [all …]
|
D | ForwardGeocodeRequest.java | 51 private final Locale mLocale; field in ForwardGeocodeRequest 80 mLocale = Objects.requireNonNull(locale); in ForwardGeocodeRequest() 128 return mLocale; in getLocale() 184 parcel.writeString8(mLocale.getLanguage()); in writeToParcel() 185 parcel.writeString8(mLocale.getCountry()); in writeToParcel() 186 parcel.writeString8(mLocale.getVariant()); in writeToParcel() 201 && mLocale.equals(that.mLocale) in equals() 219 mLocale, in hashCode() 234 private final Locale mLocale; field in ForwardGeocodeRequest.Builder 257 mLocale = locale; in Builder() [all …]
|
/frameworks/base/core/java/android/view/translation/ |
D | TranslationSpec.java | 58 private final @NonNull ULocale mLocale; field in TranslationSpec 63 dest.writeSerializable(mLocale); in parcelLocale() 77 mLocale = new ULocale.Builder().setLanguage(language).build(); in TranslationSpec() 89 mLocale = locale; in TranslationSpec() 121 return mLocale; in getLocale() 137 "locale = " + mLocale + ", " + in toString() 156 && Objects.equals(mLocale, that.mLocale) in equals() 168 _hash = 31 * _hash + Objects.hashCode(mLocale); in hashCode() 204 this.mLocale = locale; in TranslationSpec() 206 NonNull.class, null, mLocale); in TranslationSpec()
|
/frameworks/base/core/java/android/app/admin/ |
D | FullyManagedDeviceProvisioningParams.java | 56 @Nullable private final Locale mLocale; field in FullyManagedDeviceProvisioningParams 77 this.mLocale = locale; in FullyManagedDeviceProvisioningParams() 156 return mLocale; in getLocale() 196 logParam(callerPackage, LOCALE_PROVIDED_PARAM, /* value= */ mLocale != null); in logParams() 220 @Nullable private Locale mLocale; field in FullyManagedDeviceProvisioningParams.Builder 286 this.mLocale = locale; in setLocale() 335 mLocale, in build() 358 + ", mLocale=" + (mLocale == null ? "null" : mLocale) in toString() 373 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel()
|
/frameworks/base/location/lib/java/android/location/ |
D | GeocoderParams.java | 45 private final Locale mLocale; field in GeocoderParams 60 mLocale = Objects.requireNonNull(locale); in GeocoderParams() 88 return mLocale; in getLocale() 123 parcel.writeString8(mLocale.getLanguage()); in writeToParcel() 124 parcel.writeString8(mLocale.getCountry()); in writeToParcel() 125 parcel.writeString8(mLocale.getVariant()); in writeToParcel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | TestModelEnrollmentDatabase.java | 41 private final String mLocale; field in TestModelEnrollmentDatabase.EnrollmentKey 47 mLocale = Objects.requireNonNull(locale); in EnrollmentKey() 59 return mLocale; in locale() 67 sj.add("locale: " + mLocale.toString()); in toString() 77 res = prime * res + mLocale.hashCode(); in hashCode() 89 if (!mLocale.equals(that.mLocale)) return false; in equals()
|
/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/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/native/android/ |
D | system_fonts.cpp | 52 XmlCharUniquePtr mLocale; member 57 std::optional<std::string> mLocale; member 64 return mFilePath == o.mFilePath && mLocale == o.mLocale && mWeight == o.mWeight && in operator ==() 72 if (font.mLocale) { in operator ()() 73 r = combine(r, std::hash<std::string>{}(*font.mLocale)); in operator ()() 175 if (state.mLocale) { in copyFont() 176 out->mLocale.emplace(reinterpret_cast<const char*>(state.mLocale.get())); in copyFont() 223 state->mLocale.reset(xmlGetProp(family, LOCALE_ATTR_NAME)); in findFirstFontNode() 356 state->mLocale.reset(xmlGetProp(family, LOCALE_ATTR_NAME)); in findNextFontNode() 425 return font->mLocale ? font->mLocale->c_str() : nullptr; in AFont_getLocale()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | BreakIteratorPerfTest.java | 147 final Locale mLocale; field in BreakIteratorPerfTest.Text 152 this.mLocale = locale; in Text() 170 BreakIterator it = BreakIterator.getLineInstance(text.mLocale); in timeBreakIterator() 185 android.icu.text.BreakIterator.getLineInstance(text.mLocale); in timeIcuBreakIterator()
|
/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()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 88 private final Locale mLocale; field in LocaleStore.LocaleInfo 106 this.mLocale = locale; in LocaleInfo() 121 this.mLocale = localeInfo.getLocale(); in LocaleInfo() 154 return mLocale; in getLocale() 213 Locale locale = mLocale.stripExtensions(); in getFullNameNative() 222 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); in getFullCountryNameNative() 229 return LocaleHelper.getDisplayCountry(mLocale); in getFullCountryNameInUiLanguage() 239 Locale locale = mLocale.stripExtensions(); in getFullNameInUiLanguage() 247 .setLocale(mLocale) in getLangScriptKey() 253 ? mLocale.toLanguageTag() in getLangScriptKey() [all …]
|
/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 | 81 private final Locale mLocale; field in CarrierText.CarrierTextTransformationMethod 85 mLocale = context.getResources().getConfiguration().locale; in CarrierTextTransformationMethod() 94 source = source.toString().toUpperCase(mLocale); in getTransformation()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSession.java | 535 private final Locale mLocale; field in SpellCheckerSession.SpellCheckerSessionParams 543 mLocale = locale; in SpellCheckerSessionParams() 557 return mLocale; in getLocale() 594 private Locale mLocale; field in SpellCheckerSession.SpellCheckerSessionParams.Builder 613 if (mLocale == null && !mShouldReferToSpellCheckerLanguageSettings) { in build() 617 return new SpellCheckerSessionParams(mLocale, in build() 628 mLocale = locale; in setLocale()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierEvent.java | 163 private final ULocale mLocale; field in TextClassifierEvent 184 mLocale = builder.mLocale; in TextClassifierEvent() 201 mLocale = languageTag == null ? null : ULocale.forLanguageTag(languageTag); in TextClassifierEvent() 249 dest.writeString(mLocale == null ? null : mLocale.toLanguageTag()); in writeToParcel() 361 return mLocale; in getLocale() 535 private ULocale mLocale; field in TextClassifierEvent.Builder 649 mLocale = locale; in setLocale()
|
/frameworks/base/location/java/android/location/ |
D | Geocoder.java | 77 private final Locale mLocale; field in Geocoder 107 mLocale = Objects.requireNonNull(locale); in Geocoder() 174 mLocale, in getFromLocation() 329 mLocale, in getFromLocationName()
|
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/av/media/libmedia/include/media/ |
D | mediascanner.h | 90 char *mLocale; 124 String8 mLocale;
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 77 private Locale mLocale; field in AccessibilityIterators.CharacterTextSegmentIterator 89 mLocale = locale; in CharacterTextSegmentIterator() 158 if (!mLocale.equals(locale)) { in onConfigurationChanged() 159 mLocale = locale; in onConfigurationChanged()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 312 private final Locale mLocale; field in AlwaysOnHotwordDetector 900 mLocale = locale; in AlwaysOnHotwordDetector() 992 fakeSupportedLocales.add(mLocale); in overrideAvailability() 1396 return mKeyphraseEnrollmentInfo.getManageKeyphraseIntent(action, mText, mLocale); in getManageIntentLocked() 1537 mKeyphraseMetadata.getId(), mLocale.toLanguageTag(), mInternalCallback, in startRecognitionLocked() 1904 mText, mLocale.toLanguageTag()); in internalUpdateEnrolledKeyphraseMetadata() 1918 return TextUtils.equals(mText, other.mText) && mLocale.equals(other.mLocale); in equals() 1926 return Objects.hash(mText, mLocale); in hashCode() 1934 pw.print(prefix); pw.print("Locale="); pw.println(mLocale); in dump()
|
/frameworks/base/core/java/android/widget/ |
D | TimePicker.java | 440 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()
|