Home
last modified time | relevance | path

Searched refs:getVariant (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/speech/tts/
DEventLogger.java72 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
74 sb.append(mRequest.getVariant()); in getLocaleString()
DTextToSpeechService.java254 if (locale.getVariant().isEmpty()) { in getExpectedLanguageAvailableStatus()
285 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
294 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
296 locale.getISO3Country(), locale.getVariant()); in onGetVoices()
367 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
372 locale.getISO3Country(), locale.getVariant()); in onLoadVoice()
398 locale.getISO3Country(), locale.getVariant()); in onIsValidVoiceName()
1048 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
1079 private String getVariant() { in getVariant() method in TextToSpeechService.SynthesisSpeechItem
DSynthesisRequest.java102 public String getVariant() { in getVariant() method in SynthesisRequest
DTextToSpeech.java1424 locale.getISO3Language(), locale.getISO3Country(), locale.getVariant());
1599 String variant = loc.getVariant();
1651 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1763 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1886 return service.isLanguageAvailable(language, country, loc.getVariant());
DTtsEngines.java462 return new Locale(language, country, ttsLocale.getVariant()); in normalizeTTSLocale()
484 ret[2] = locale.getVariant(); in toOldLocaleStringFormat()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java117 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
141 assertEquals("", req2.getValue().getVariant()); in testSetLanguage_unavailableLanguage()
170 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
175 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
184 assertEquals("", req.getValue().getVariant()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerShellCommand.java205 if (family.getVariant() != FontConfig.FontFamily.VARIANT_DEFAULT) { in dumpFontConfig()
207 switch (family.getVariant()) { in dumpFontConfig()
255 if (family.getVariant() != FontConfig.FontFamily.VARIANT_DEFAULT) { in dumpFamily()
257 switch (family.getVariant()) { in dumpFamily()
/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java77 final String variant = systemLocale.getVariant(); in getSuitableLocalesForSpellChecker()
/frameworks/base/location/lib/java/android/location/
DGeocoderParams.java125 parcel.writeString8(mLocale.getVariant()); in writeToParcel()
/frameworks/base/location/java/android/location/provider/
DReverseGeocodeRequest.java148 parcel.writeString8(mLocale.getVariant()); in writeToParcel()
DForwardGeocodeRequest.java186 parcel.writeString8(mLocale.getVariant()); in writeToParcel()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFamily.java340 public int getVariant() { in getVariant() method in FontFamily
DSystemFonts.java172 final int variant = xmlFamily.getVariant(); in pushFamilyToFallback()
284 xmlFamily.getLocaleList().toLanguageTags(), xmlFamily.getVariant(), in appendNamedFamilyList()
/frameworks/base/core/java/android/app/ondeviceintelligence/
DFeature.java85 public int getVariant() { in getVariant() method in Feature
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java816 if (l.getVariant().equals(locale.getVariant())) { in getMatchingLayoutForProvidedLanguageTag()
818 } else if (TextUtils.isEmpty(l.getVariant())) { in getMatchingLayoutForProvidedLanguageTag()
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt95 method public String getVariant();
/frameworks/base/core/java/android/content/res/
DConfiguration.java2212 n = thisLocale.getVariant().compareTo(thatLocale.getVariant()); in compareTo()
2472 final int v = loc.getVariant().length(); in localesToResourceQualifier()
2497 sb.append(loc.getVariant()); in localesToResourceQualifier()
/frameworks/base/core/java/android/text/
DFontConfig.java672 public @Variant int getVariant() { in getVariant() method in FontConfig.FontFamily
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java210 setEngineArchitecture(config.getVariant(), in DynamicsProcessing()
1374 public int getVariant() { in getVariant() method in DynamicsProcessing.Config
/frameworks/base/core/api/
Dtest-current.txt3451 method public int getVariant();
Dsystem-current.txt2250 method public int getVariant();
18001 method public int getVariant();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt8745 HSPLandroid/icu/impl/LocaleIDParser;->getVariant()Ljava/lang/String;
9104 HSPLandroid/icu/impl/locale/BaseLocale;->getVariant()Ljava/lang/String;
10408 HSPLandroid/icu/util/ULocale;->getVariant()Ljava/lang/String;
10409 HSPLandroid/icu/util/ULocale;->getVariant(Ljava/lang/String;)Ljava/lang/String;
28337 HSPLjava/util/Locale;->getVariant()Ljava/lang/String;
32444 HSPLsun/util/locale/BaseLocale;->getVariant()Ljava/lang/String;
/frameworks/base/boot/
Dboot-image-profile.txt8742 HSPLandroid/icu/impl/LocaleIDParser;->getVariant()Ljava/lang/String;
9101 HSPLandroid/icu/impl/locale/BaseLocale;->getVariant()Ljava/lang/String;
10405 HSPLandroid/icu/util/ULocale;->getVariant()Ljava/lang/String;
10406 HSPLandroid/icu/util/ULocale;->getVariant(Ljava/lang/String;)Ljava/lang/String;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27372 method public java.lang.String getVariant();
48440 method public java.lang.String getVariant();

12